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.
- Host: GitHub
- URL: https://github.com/rachitiitr/cmake-101
- Owner: rachitiitr
- Created: 2021-08-04T16:15:44.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-08-31T12:01:41.000Z (about 4 years ago)
- Last Synced: 2025-05-12T21:47:36.438Z (5 months ago)
- Language: C++
- Size: 5.86 KB
- Stars: 9
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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