File tree 22 files changed +92
-27413
lines changed
22 files changed +92
-27413
lines changed Original file line number Diff line number Diff line change 6
6
.vs
7
7
build
8
8
.idea /
9
+ # ## CMake ###
10
+ CMakeLists.txt.user
11
+ CMakeCache.txt
12
+ CMakeFiles
13
+ CMakeScripts
14
+ Testing
15
+ Makefile
16
+ cmake_install.cmake
17
+ install_manifest.txt
18
+ compile_commands.json
19
+ CTestTestfile.cmake
20
+ _deps
21
+
22
+ # ## CMake Patch ###
23
+ # External projects
24
+ * -prefix /
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