Skip to content

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.

Notifications You must be signed in to change notification settings

rachitiitr/cmake-101

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

  • Install cmake
  • Basic build using cmake
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

About

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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published