- set(EXECUTABLE_OUTPUT_PATH "${CMAKE_CURRENT_BINARY_DIR}")
- include_directories("${CMAKE_HOME_DIRECTORY}/include/smpi")
- include_directories("${CMAKE_CURRENT_SOURCE_DIR}/../include/")
-
- configure_file(${CMAKE_CURRENT_SOURCE_DIR}/typeaints.h.in ${CMAKE_CURRENT_SOURCE_DIR}/typeaints.h @ONLY)
-
- 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(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)
+ include_directories(BEFORE "${CMAKE_HOME_DIRECTORY}/include/smpi")
+ include_directories(${CMAKE_CURRENT_BINARY_DIR})