File tree 21 files changed +34
-27371
lines changed
21 files changed +34
-27371
lines changed Original file line number Diff line number Diff line change @@ -6,15 +6,23 @@ cmake_minimum_required(VERSION 2.8)
6
6
7
7
project (testArduinoIoTCloud)
8
8
9
+ Include (FetchContent)
10
+
11
+ FetchContent_Declare(
12
+ Catch2
13
+ GIT_REPOSITORY https://github.com/catchorg/Catch2.git
14
+ GIT_TAG v3.4.0
15
+ )
16
+
17
+ FetchContent_MakeAvailable(Catch2)
18
+
9
19
##########################################################################
10
20
11
21
include_directories (include )
12
22
include_directories (../../src)
13
23
include_directories (../../src/cbor)
14
24
include_directories (../../src/property)
15
25
include_directories (../../src/utility/time)
16
- include_directories (external/catch/v2.13.10/include )
17
- include_directories (external/fakeit/v2.0.5/include )
18
26
19
27
##########################################################################
20
28
@@ -100,5 +108,7 @@ add_executable(
100
108
${TEST_TARGET_SRCS}
101
109
)
102
110
111
+ target_link_libraries ( ${TEST_TARGET} Catch2WithMain )
112
+
103
113
##########################################################################
104
114
You can’t perform that action at this time.
0 commit comments