A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
hopefully add all the missing binaries to the tests
[simgrid.git]
/
tools
/
cmake
/
UnitTesting.cmake
diff --git
a/tools/cmake/UnitTesting.cmake
b/tools/cmake/UnitTesting.cmake
index
8586a3f
..
0ed71bc
100644
(file)
--- a/
tools/cmake/UnitTesting.cmake
+++ b/
tools/cmake/UnitTesting.cmake
@@
-36,7
+36,8
@@
ADD_CUSTOM_COMMAND(
COMMAND ${CMAKE_HOME_DIRECTORY}/tools/sg_unit_extractor.pl --root=src/ --outdir=${CMAKE_CURRENT_BINARY_DIR}/src/ ${FILES_CONTAINING_UNITTESTS}
)
COMMAND ${CMAKE_HOME_DIRECTORY}/tools/sg_unit_extractor.pl --root=src/ --outdir=${CMAKE_CURRENT_BINARY_DIR}/src/ ${FILES_CONTAINING_UNITTESTS}
)
-add_executable (testall ${EXTRACTED_TEST_SOURCE_FILES})
+add_executable (testall EXCLUDE_FROM_ALL ${EXTRACTED_TEST_SOURCE_FILES})
+add_dependencies(tests testall)
target_link_libraries(testall simgrid)
set_property(
TARGET testall
target_link_libraries(testall simgrid)
set_property(
TARGET testall