/Cpp-cmake-starter

Boilerplate code to start with Cpp and cmake

MIT LicenseMIT

CPP Cmake starter code

This is a starter repo for C++ projects with Cmake.

Dependencies

Build Instructions

  1. Clone this repository.
  2. Create a build directory in the top level directory: mkdir build && cd build
  3. Compile: cmake .. && make
  4. Run it: ./main.
  5. You may add more dependencies and update project details in the CMakeLists.txt file
  6. If you are using VScode, you can install CMake Tools extention to help build, run and debug the project read more here.