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()