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 / pt2pt / CMakeLists.txt
index db09537..3e1bb3e 100644 (file)
@@ -8,12 +8,12 @@ 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")
-  include_directories("${CMAKE_CURRENT_SOURCE_DIR}/../include/")
 
-  add_executable(allpairf allpairf.f)
-#  add_executable(greqf greqf.f dummyf.f)
-#  add_executable(mprobef mprobef.f)
-  add_executable(statusesf statusesf.f)
+  add_executable(allpairf  EXCLUDE_FROM_ALL allpairf.f)
+#  add_executable(greqf    EXCLUDE_FROM_ALL greqf.f dummyf.f)
+#  add_executable(mprobef  EXCLUDE_FROM_ALL mprobef.f)
+  add_executable(statusesf EXCLUDE_FROM_ALL statusesf.f)
+  add_dependencies(tests allpairf statusesf) # greqf mprobef
 
   target_link_libraries(allpairf simgrid mtest_f77)
 #  target_link_libraries(greqf simgrid mtest_f77)