File tree 5 files changed +28
-3
lines changed
5 files changed +28
-3
lines changed Original file line number Diff line number Diff line change @@ -40,3 +40,10 @@ add_custom_command(TARGET run_tests
40
40
POST_BUILD COMMAND ${PROJECT_SOURCE_DIR} /test /run_tests.py ${CMAKE_CURRENT_BINARY_DIR} ${UNIT_TEST_TARGETS}
41
41
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
42
42
)
43
+
44
+ ## install tests
45
+ include (GNUInstallDirs)
46
+ install (
47
+ TARGETS ${UNIT_TEST_TARGETS}
48
+ RUNTIME DESTINATION ${CMAKE_INSTALL_LIBDIR} /ct_core
49
+ )
Original file line number Diff line number Diff line change @@ -29,4 +29,11 @@ add_custom_command(TARGET run_tests
29
29
COMMENT "Running tests"
30
30
POST_BUILD COMMAND ${PROJECT_SOURCE_DIR} /test /run_tests.py ${CMAKE_CURRENT_BINARY_DIR} ${UNIT_TEST_TARGETS}
31
31
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
32
+ )
33
+
34
+ ## install tests
35
+ include (GNUInstallDirs)
36
+ install (
37
+ TARGETS ${UNIT_TEST_TARGETS}
38
+ RUNTIME DESTINATION ${CMAKE_INSTALL_LIBDIR} /ct_models
32
39
)
Original file line number Diff line number Diff line change @@ -17,9 +17,6 @@ set(CMAKE_EXPORT_COMPILE_COMMANDS TRUE)
17
17
## find and include required dependencies
18
18
find_package (ct_core REQUIRED)
19
19
20
- ## add compiler definitions exported by ct_core
21
- add_definitions (${ct_core_COMPILE_DEFINITIONS} ) #todo this should ultimately go away
22
-
23
20
24
21
## find and include optional dependencies
25
22
option (MATLAB "Compile with matlab support" OFF )
Original file line number Diff line number Diff line change @@ -81,4 +81,11 @@ add_custom_command(TARGET run_tests
81
81
COMMENT "Running tests"
82
82
POST_BUILD COMMAND ${PROJECT_SOURCE_DIR} /test /run_tests.py ${CMAKE_CURRENT_BINARY_DIR} ${UNIT_TEST_TARGETS}
83
83
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
84
+ )
85
+
86
+ ## install tests
87
+ include (GNUInstallDirs)
88
+ install (
89
+ TARGETS ${UNIT_TEST_TARGETS}
90
+ RUNTIME DESTINATION ${CMAKE_INSTALL_LIBDIR} /ct_optcon
84
91
)
Original file line number Diff line number Diff line change @@ -63,4 +63,11 @@ add_custom_command(TARGET run_tests
63
63
COMMENT "Running tests"
64
64
POST_BUILD COMMAND ${PROJECT_SOURCE_DIR} /test /run_tests.py ${CMAKE_CURRENT_BINARY_DIR} ${UNIT_TEST_TARGETS}
65
65
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
66
+ )
67
+
68
+ ## install tests
69
+ include (GNUInstallDirs)
70
+ install (
71
+ TARGETS ${UNIT_TEST_TARGETS}
72
+ RUNTIME DESTINATION ${CMAKE_INSTALL_LIBDIR} /ct_rbd
66
73
)
You can’t perform that action at this time.
0 commit comments