Skip to content

weirdgiraffe/cmake.skeleton

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#This is a simple skeleton for CMake projects

Some Cmake commands:

  • with ninja: cmake -G Ninja ..
  • using clang as a compiler: source clang.env; mkdir build; cd build; cmake ..
  • using cgcc explicitely as a compiler: source gcc.env; mkdir build; cd build; cmake ..
  • generate build files for debug version: cmake -DCMAKE_BUILD_TYPE=Debug
  • generate build files for release version: cmake -DCMAKE_BUILD_TYPE=Release
  • compile : cmake --build .

Additional Find-scripts for CMake:

About

CMake skeleton for C/C++ project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published