|
@@ -7,7 +7,8 @@ add_custom_target (check COMMAND ${CMAKE_CTEST_COMMAND} --output-on-failure)
|
7
|
7
|
#################################################################
|
8
|
8
|
|
9
|
9
|
add_executable (tester_binary EXCLUDE_FROM_ALL
|
10
|
|
- "binary.cpp" "../src/utils/binary.cpp" "../src/main.cpp"
|
|
10
|
+ "binary.cpp" "../src/utils/binary.cpp"
|
|
11
|
+ "../src/Exception.cpp" "../src/main.cpp"
|
11
|
12
|
)
|
12
|
13
|
add_dependencies (check tester_binary)
|
13
|
14
|
add_test (NAME test_binary COMMAND tester_binary)
|
|
@@ -20,17 +21,18 @@ add_executable (tester_folder EXCLUDE_FROM_ALL
|
20
|
21
|
"../src/Exception.cpp" "../src/main.cpp"
|
21
|
22
|
)
|
22
|
23
|
|
23
|
|
-#add_dependencies (check tester_folder)
|
|
24
|
+add_dependencies (check tester_folder)
|
24
|
25
|
#add_test (NAME test_folder COMMAND tester_folder)
|
25
|
26
|
|
26
|
27
|
#################################################################
|
27
|
28
|
|
28
|
29
|
add_executable (tester_script EXCLUDE_FROM_ALL
|
29
|
|
- "Script.cpp" "../src/Script.cpp" "../src/main.cpp"
|
30
|
|
- "../src/utils/binary.cpp" "../src/utils/strings.cpp"
|
|
30
|
+ "Script.cpp" "../src/Script.cpp" "../src/utils/strings.cpp"
|
|
31
|
+ "../src/utils/binary.cpp" "../src/utils/filesystem.cpp"
|
|
32
|
+ "../src/Exception.cpp" "../src/main.cpp"
|
31
|
33
|
)
|
32
|
34
|
|
33
|
|
-#add_dependencies (check tester_script)
|
|
35
|
+add_dependencies (check tester_script)
|
34
|
36
|
#add_test (NAME test_script COMMAND tester_script)
|
35
|
37
|
|
36
|
38
|
#################################################################
|