File tree 8 files changed +18035
-0
lines changed
8 files changed +18035
-0
lines changed Original file line number Diff line number Diff line change
1
+ ##########################################################################
2
+
3
+ cmake_minimum_required (VERSION 2.8)
4
+
5
+ ##########################################################################
6
+
7
+ project (testArduinoIoTCloud)
8
+
9
+ ##########################################################################
10
+
11
+ include_directories (include )
12
+ include_directories (../../src/utility/ota)
13
+ include_directories (external/catch/v2.12.1/include )
14
+
15
+ ##########################################################################
16
+
17
+ set (CMAKE_CXX_STANDARD 11)
18
+
19
+ set (CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR} /bin)
20
+
21
+ ##########################################################################
22
+
23
+ set (TEST_TARGET testArduinoIoTCloud)
24
+
25
+ set (TEST_SRCS
26
+ src/test_main.cpp
27
+ src/test_OTALogic.cpp
28
+ src/OTAStorage_Mock.cpp
29
+ ../../src/utility/ota/OTALogic.cpp
30
+ )
31
+
32
+ ##########################################################################
33
+
34
+ add_compile_options (-Wall -Wextra -Wpedantic -Werror)
35
+
36
+ ##########################################################################
37
+
38
+ add_executable (
39
+ ${TEST_TARGET}
40
+ ${TEST_SRCS}
41
+ )
42
+
43
+ ##########################################################################
44
+
You can’t perform that action at this time.
0 commit comments