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 / f77 / info / CMakeLists.txt
index 6568a72..a8b8cdd 100644 (file)
@@ -9,8 +9,9 @@ if(enable_smpi AND enable_smpi_MPICH3_testsuite AND SMPI_FORTRAN)
   set(CMAKE_INCLUDE_CURRENT_DIR ON)
   include_directories(BEFORE "${CMAKE_HOME_DIRECTORY}/include/smpi")
 
-  add_executable(infotest2f infotest2f.f ../util/mtestf.f)
-  add_executable(infotestf infotestf.f ../util/mtestf.f)
+  add_executable(infotest2f EXCLUDE_FROM_ALL infotest2f.f ../util/mtestf.f)
+  add_executable(infotestf  EXCLUDE_FROM_ALL infotestf.f ../util/mtestf.f)
+  add_dependencies(tests infotestf infotest2f)
   target_link_libraries(infotest2f simgrid mtest_f77)
   target_link_libraries(infotestf simgrid mtest_f77)
 endif()