Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Also add the mpich3 binaries in the dependencies of make tests
[simgrid.git] / teshsuite / smpi / mpich3-test / comm / CMakeLists.txt
index 0c0520d..712e5d5 100644 (file)
@@ -13,7 +13,8 @@ if(enable_smpi AND enable_smpi_MPICH3_testsuite)
           comm_info ctxalloc ctxsplit dup dup_with_info) 
     # not compiled files
     # comm_idup comm_idup_mul comm_idup_overlap commname dupic ic1 ic2 iccreate icgroup icm icsplit probe-intercomm 
-    add_executable(${file} ${file}.c)
+    add_executable(${file} EXCLUDE_FROM_ALL ${file}.c)
+    add_dependencies(tests ${file})
     target_link_libraries(${file} simgrid mtest_c)
   endforeach()
 endif()