Skip to content

dk949/cpp-init

Folders and files

NameName
Last commit message
Last commit date

Latest commit

e15b72f · Oct 29, 2024

History

67 Commits
Feb 6, 2024
Oct 29, 2024
Feb 6, 2024
Oct 29, 2024
Oct 29, 2024
Oct 30, 2023
Jan 23, 2024
May 21, 2022
Oct 5, 2024
Jun 17, 2024
Jun 20, 2024
Oct 31, 2023
Feb 6, 2024
Jan 19, 2024

Repository files navigation

init cpp

CMake build and test

cmake boilerplate for a C++ project. Originally a fork of cpp starter project.

NOTE 1: This project is meant specifically for C++, it will likely take a lot of work to adapt it for use with C (or any other language).

NOTE 2: The minimum required standard is C++17 (default since GCC 11 and Clang 16).

Dependencies

Required

Optional

Usage

Run the following commands to get started, more info available in the wiki.

git clone "https://github.com/Microsoft/vcpkg.git"
./vcpkg/bootstrap-vcpkg.sh -disableMetrics
./vcpkg/vcpkg install

cmake --preset make # other presets are default and ninja

cmake --build build

# run the executable
./build/bin/cpp_init

# run the tests
./build/bin/cpp_init_test
#or
ctest --test-dir build/tests

About

cmake boilerplate for c++ projects

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published