Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
avoid compiling too many times mtest files from mpich testsuite, just use it as a...
[simgrid.git] / teshsuite / smpi / mpich3-test / group / CMakeLists.txt
index e67ccca..584e402 100644 (file)
@@ -12,19 +12,19 @@ if(enable_smpi AND enable_smpi_MPICH3_testsuite)
   include_directories("${CMAKE_HOME_DIRECTORY}/include/smpi")
   include_directories("${CMAKE_CURRENT_SOURCE_DIR}/../include/")
 
-  add_executable(groupcreate groupcreate.c ../util/mtest.c)
-  add_executable(groupnullincl groupnullincl.c ../util/mtest.c)
-  add_executable(grouptest2 grouptest2.c ../util/mtest.c)
-  add_executable(grouptest grouptest.c ../util/mtest.c)
-  add_executable(gtranks gtranks.c ../util/mtest.c)
-  add_executable(gtranksperf gtranksperf.c ../util/mtest.c)
+  add_executable(groupcreate groupcreate.c)
+  add_executable(groupnullincl groupnullincl.c)
+  add_executable(grouptest2 grouptest2.c)
+  add_executable(grouptest grouptest.c)
+  add_executable(gtranks gtranks.c)
+  add_executable(gtranksperf gtranksperf.c)
 
-  target_link_libraries(groupcreate  simgrid)
-  target_link_libraries(groupnullincl  simgrid)
-  target_link_libraries(grouptest2  simgrid)
-  target_link_libraries(grouptest  simgrid)
-  target_link_libraries(gtranks  simgrid)
-  target_link_libraries(gtranksperf  simgrid)
+  target_link_libraries(groupcreate simgrid mtest_c)
+  target_link_libraries(groupnullincl simgrid mtest_c)
+  target_link_libraries(grouptest2 simgrid mtest_c)
+  target_link_libraries(grouptest simgrid mtest_c)
+  target_link_libraries(gtranks simgrid mtest_c)
+  target_link_libraries(gtranksperf simgrid mtest_c)
 
 endif()