Basic structure for a CMake project written in C++. It's composed of 3 major layers: data layer, business layer and the presentation layer.
- Cmps - CMake project structure
You need CMake 3.10+ to be installed before you can run the application.
You need a C++17 compiler before you can run the application.
For current project, the LLVM Compiler Infrastructure was used.
- Go to the root folder of you app.
- Create
cmake-build-debug
folder:mkdir cmake-build-debug
- Go inside the new created folder:
cd cmake-build-debug
- Generate the make files:
cmake ..
- Build the project:
cmake --build .
- The binaries can be found here:
Tmplate.CMake.Cpp/cmake-build-debug/bin