- set(EXECUTABLE_OUTPUT_PATH "${CMAKE_CURRENT_BINARY_DIR}")
- set(MPICH_FLAGS "-DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DUSE_STDARG=1 -DHAVE_LONG_DOUBLE=1 -DHAVE_PROTOTYPES=1 -DHAVE_SIGNAL_H=1 -DHAVE_SIGACTION=1 -DHAVE_SLEEP=1 -DHAVE_SYSCONF=1 -Wno-error=unused-variable -Wno-implicit -Wno-implicit-function-declaration")
- include_directories("${CMAKE_HOME_DIRECTORY}/include/smpi")
- include_directories("${CMAKE_CURRENT_SOURCE_DIR}/../include/")
-
- add_executable(allctypesf allctypesf.f ../util/mtestf.f)
- add_executable(gaddressf gaddressf.f ../util/mtestf.f)
- add_executable(hindex1f hindex1f.f ../util/mtestf.f)
- add_executable(hindexed_blockf hindexed_blockf.f ../util/mtestf.f)
- add_executable(packef packef.f ../util/mtestf.f)
- add_executable(typeaints typeaints.h ../util/mtestf.f)
- add_executable(typecntsf typecntsf.f ../util/mtestf.f)
- add_executable(typem2f typem2f.f ../util/mtestf.f)
- add_executable(typename3f typename3f.f ../util/mtestf.f)
- add_executable(typenamef typenamef.f ../util/mtestf.f)
- add_executable(typesnamef typesnamef.f ../util/mtestf.f)
- add_executable(typesubf typesubf.f ../util/mtestf.f)
-
- target_link_libraries(allctypesf simgrid)
- target_link_libraries(gaddressf simgrid)
- target_link_libraries(hindex1f simgrid)
- target_link_libraries(hindexed_blockf simgrid)
- target_link_libraries(packef simgrid)
- target_link_libraries(typeaints simgrid)
- target_link_libraries(typecntsf simgrid)
- target_link_libraries(typem2f simgrid)
- target_link_libraries(typename3f simgrid)
- target_link_libraries(typenamef simgrid)
- target_link_libraries(typesnamef simgrid)
- target_link_libraries(typesubf simgrid)