X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/2af1bedb3d5efbb393dfaf2908ed5d9ea68e0ca5..a6b23c846948f7f89277f75e7c42f3942b31b8d3:/buildtools/Cmake/UnitTesting.cmake diff --git a/buildtools/Cmake/UnitTesting.cmake b/buildtools/Cmake/UnitTesting.cmake index 95ee93fba9..4cfedb0538 100644 --- a/buildtools/Cmake/UnitTesting.cmake +++ b/buildtools/Cmake/UnitTesting.cmake @@ -30,9 +30,13 @@ set(TEST_UNITS if(HAVE_MC) set(TEST_CFILES ${TEST_CFILES} - src/mc/mc_page_store.cpp) + src/mc/mc_page_store.cpp + src/mc/mc_snapshot.c + ) set(TEST_UNITS ${TEST_UNITS} - ${CMAKE_CURRENT_BINARY_DIR}/src/mc_page_store_unit.cpp) + ${CMAKE_CURRENT_BINARY_DIR}/src/mc_page_store_unit.cpp + ${CMAKE_CURRENT_BINARY_DIR}/src/mc_snapshot_unit.c + ) endif() ADD_CUSTOM_COMMAND( @@ -65,5 +69,3 @@ if(NOT WIN32) else() target_link_libraries(testall simgrid) endif() - -add_dependencies(testall ${TEST_UNITS}) \ No newline at end of file