Skip to content

ChenKS12138/cmake-cpp-starter-kit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cmake-cpp-starter-kit

CI

cmake-cpp-starter-kit

Requirement

cmake >= 3.11
gcc >= 7 or clang >= 5 (To Support c++17)
(Optional) Ninja >= 1.10.0 (For faster build)

How To Run

# Create build directory
cmake -S . -B build
# Or build with Ninja (Recommend)
# cmake -S . -B buld -GNinja

# Run build
cmake --build build

# Run Application
./build/main

# Run Test
cmake --build build --target test

# Format your code
cmake --build build --target format

TODO

  • Generate compile-commands.json
  • abseil support
  • clang-format support
  • googletest support

About

cmake-cpp-starter-kit

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published