Add the static library Catch2WithMain

It should provide a shared impl for all targets that need to link
against Catch2's implementation. However, due to limitations of
C++ linking and Catch2's v2 implementation, this is only experimental
and might not work under some circumstances.
This commit is contained in:
Deniz Evrenci
2019-07-26 16:34:14 +09:00
committed by Martin Hořeňovský
parent dc7e705672
commit 92f8b01dfa
3 changed files with 28 additions and 1 deletions

2
src/catch_with_main.cpp Normal file
View File

@@ -0,0 +1,2 @@
#define CATCH_CONFIG_MAIN
#include <catch2/catch.hpp>