Skip to content

htmlgod/cpp-library-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CPP-LIBRARY-TEMPLATE

Init template

  1. Clone repo created from template

  2. Enter repo directory

  3. Run script:

./scripts/init_template.sh <LIBRARY_NAME>

Testing

Build tests:

# template is for header-only library by default
cmake -S . -B_build
cmake --build _build

Run tests:

cd _build && ctest
# or 
cmake --build _build --target hello_test
./_build/hello_test

Usage

About

Simple and small template for C++ library

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors