Skip to content

BertCarnell Template Library (bclib) for C++ utility headers

License

Notifications You must be signed in to change notification settings

bertcarnell/bclib

Repository files navigation

bclib

bertcarnell Template Library (bclib) for C++ utility headers

Linux & MacOS Windows Code Coverage Github Actions
Build Status Build status codecov CMake

Used in packages...

Developing using CMake on Windows and Linux

Ubuntu Linux

Prereqs

Install cmake for cross-platform make, and lcov for coverage statistics.

sudo apt-get install cmake lcov

CMake

cmake . -Bbuild -DCMAKE_BUILD_TYPE=Debug -DBUILD_TYPE=Coverage
cmake --build build
./build/bclibtest/bclibtest
cd build
lcov --directory bclibtest --capture --output-file bclibtest.info
lcov --remove bclibtest.info 'bclibtest/*' '/usr/*' --output-file bclibtest.clean.info
genhtml -o coverage bclibtest.clean.info

Windows + Visual Studio

Prereqs

CMake

Open a Windows PowerShell window or Windows command prompt (cmd) to run these commands

cmake . -Bbuild -G "Visual Studio 15 2017 Win64"

Compile Option 1

Open Visual Studio. File -> Open -> Project/Solution -> bcblib.sln

  • right click on ALL_BUILD -> build
  • right click on bcblibtest -> Debug -> Start New Instance

Compile Option 2

cmake --build build --target ALL_BUILD --config Release
./build/bclibtest/Release/bclibtest.exe

About

BertCarnell Template Library (bclib) for C++ utility headers

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published