Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
proper check for the -std=gnu++11 standard, and take in on clang too
[simgrid.git] / buildtools / Cmake / UnitTesting.cmake
index 95ee93f..2435bf6 100644 (file)
@@ -30,9 +30,13 @@ set(TEST_UNITS
 
 if(HAVE_MC)
   set(TEST_CFILES ${TEST_CFILES}
-      src/mc/mc_page_store.cpp)
+      src/mc/PageStore.cpp
+      src/mc/mc_snapshot.cpp
+      )
   set(TEST_UNITS ${TEST_UNITS}
-     ${CMAKE_CURRENT_BINARY_DIR}/src/mc_page_store_unit.cpp)
+     ${CMAKE_CURRENT_BINARY_DIR}/src/PageStore_unit.cpp
+     ${CMAKE_CURRENT_BINARY_DIR}/src/mc_snapshot_unit.cpp
+     )
 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