Select configure and select an appropriate generator, where the generator is the type of build project you would like to create, and completely dependent on your platform.You can pass options to CMake CLI using the -D := command.Set appropriate variable values in 'cache values'.cd to the directory we created in step 1.If building through a CMake CLI (command line interface):.Set the 'build' directory to the directory you created in step 1.Set the 'source' directory to the top-level directory of this project.Set appropriate directories depending on your CMake utility:.If building through the cmake CLI (command line interface):. Right click anywhere outside the project and make a new folder cpp_clion_template_build/.If building with a CMake GUI application:.Create a directory outside of this project where binaries will be built.What this means is placing the build files outside of the project's source root directory. I recommend you build this project out-of-source so source files don't get mixed with build files and cause problems. This project uses CMake for cross-platform compliance.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |