An open API service indexing awesome lists of open source software.

https://github.com/rachitiitr/cmake-101

C++ used in open source projects and corporate projects often are built and deployed using CMake. This repo serves as a basic 101 tutorial to all those C++ developers that are used to run single file C++ code and want to start writing complex organized projects spanning across multiple repositories and managing them via CMake.
https://github.com/rachitiitr/cmake-101

Last synced: 2 months ago
JSON representation

C++ used in open source projects and corporate projects often are built and deployed using CMake. This repo serves as a basic 101 tutorial to all those C++ developers that are used to run single file C++ code and want to start writing complex organized projects spanning across multiple repositories and managing them via CMake.

Awesome Lists containing this project

README

          

- Install cmake
- Basic build using cmake
```bash
mkdir build
cd build
cmake -G "Unix Makefiles" ../source # skip -G to use default generator
cmake --build . --config Release --target MyApp
```
- build folder contains project files and generally kept separate from project src dir, maybe as a sibling