![]() In our example, the project name is cmake_testapp and the selected language standard in C++17. Select File | New Project from the main menu.Ĭhoose C++ Executable on the left-hand pane. Let’s create a new CMake project in CLion. When you create a new CMake project in CLion, a CMakeLists.txt file is automatically generated under the project root. Simple CMake projectĬMake is a meta build system that uses scripts called CMakeLists to generate build files for a specific environment (for example, makefiles on Unix machines). The source code of the sample project used below is available on GitHub. Step by step, we will learn the basics of CMake as a build system, along with the CLion settings and actions for CMake projects.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |