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