Update building of examples for static lib

This commit is contained in:
Martin Hořeňovský
2019-12-08 15:55:04 +01:00
parent 248f922465
commit 70ef2f7f12
8 changed files with 51 additions and 329 deletions

View File

@ -1,8 +1,9 @@
// 010-TestCase.cpp
// Let Catch provide main():
#define CATCH_CONFIG_MAIN
#include <catch2/catch_default_main.hpp>
// And write tests in the same file:
#include <catch2/catch.hpp>
int Factorial( int number ) {