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 3dfc6c4..3e1bb3e 100644 (file)
@@ -7,14 +7,13 @@ if(enable_smpi AND enable_smpi_MPICH3_testsuite AND SMPI_FORTRAN)
   endif()
 
   set(CMAKE_INCLUDE_CURRENT_DIR ON)
-  set(EXECUTABLE_OUTPUT_PATH "${CMAKE_CURRENT_BINARY_DIR}")
   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)