newLISP C + + compilation Demonstration Project Cppwizard v1.2.0 release

Source: Internet
Author: User

Project Code on gitlab.com

[Email Protected]:newlisp/cppwizard.git


The project consists of two projects, one is the console, the normal C + + 11 project, the other is Cppcms_base, is based on the CPPCMS Web project.

Note that the Clang compiler is configured by default and the Cppcms library needs to be installed first. The newlisp obviously needs to be installed beforehand. Only Linux systems are currently supported.

Each project directory has a builder directory, which only needs to be run at compile time./rebuild.lsp.

There is a configuration file build_config.lsp in the Builder directory:

(Set ' Include-paths      (List ".. /include ")) (set ' src-paths      (list): /src/"   )) (SET ' Libs      (list" Pthread ""   boost_log ""   boost_log_setup   "" Boost_system "" Boost_ Thread "" Boost_filesystem ")) (set ' O-dir"./object ") (set '   bin-dir" Bin ") (set ' Binary-name ' Example") (Set ' CC ') C + + ") (Global ' cc)

Can adjust the configuration inside, modify the header files, source code files directory location, and modify the link library, and so on.

The Cppcms_base project is configured with more than two libraries Cppcms and booster because of the need to support Tmpl file compilation.

(Set ' Include-paths      (List ".. /include ")) (set ' src-paths      (list): /src/"   )) (SET ' Libs      (list" Pthread ""   cppcms "   " booster "   " Boost_log   "" Boost_log_setup "   "Boost_system"   "Boost_thread" "Boost_filesystem")) (set '   o-dir "./object") (Set ' Bin-dir "Bin") ( Set ' Binary-name ' Web_app_example ') (Set ' cc "C + +) (Global ' cc)



newLISP C + + compilation Demonstration Project Cppwizard v1.2.0 release

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.