Add CMake example

This commit is contained in:
Alex Hirsch
2020-11-26 21:56:26 +01:00
parent eb0ea94898
commit 353e06c941
10 changed files with 17982 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
# Since we bring along our own version of Catch2, we prefix the target with the
# project name. Alternatively we could check whether Catch2::Catch2 is already
# available and use that one instead of our own via `add_library(mylib_Catch2
# ALIAS Catch2::Catch2)`.
add_library(mylib_Catch2 INTERFACE)
target_include_directories(mylib_Catch2 INTERFACE .)
+17877
View File
File diff suppressed because it is too large Load Diff