X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/e3ff580889f5d85e5bdb7a42bad335184bbce0ed..5ec2b80b686983f84ebab7c7398a29e73286deee:/teshsuite/smpi/mpich3-test/f77/rma/CMakeLists.txt diff --git a/teshsuite/smpi/mpich3-test/f77/rma/CMakeLists.txt b/teshsuite/smpi/mpich3-test/f77/rma/CMakeLists.txt index e34c19d445..1daf583849 100644 --- a/teshsuite/smpi/mpich3-test/f77/rma/CMakeLists.txt +++ b/teshsuite/smpi/mpich3-test/f77/rma/CMakeLists.txt @@ -1,26 +1,22 @@ if(enable_smpi AND enable_smpi_MPICH3_testsuite AND SMPI_FORTRAN) - if(WIN32) - set(CMAKE_C_FLAGS "-include ${CMAKE_HOME_DIRECTORY}/include/smpi/smpi_main.h") - else() - set(CMAKE_C_COMPILER "${CMAKE_BINARY_DIR}/smpi_script/bin/smpicc") - set(CMAKE_Fortran_COMPILER "${CMAKE_BINARY_DIR}/smpi_script/bin/smpiff") - endif() + set(CMAKE_C_COMPILER "${CMAKE_BINARY_DIR}/smpi_script/bin/smpicc") + set(CMAKE_Fortran_COMPILER "${CMAKE_BINARY_DIR}/smpi_script/bin/smpiff") include_directories(BEFORE "${CMAKE_HOME_DIRECTORY}/include/smpi") foreach(test winaccf - # winerrf - winfencef wingroupf - # baseattrwinf winattr2f winattrf - wingetf winnamef winscale1f - # winscale2f - ) + winfencef wingroupf + baseattrwinf winattr2f winattrf + wingetf winnamef winscale1f + # winscale2f winerrf + ) add_executable(${test} EXCLUDE_FROM_ALL ${test}.f) add_dependencies(tests ${test}) target_link_libraries(${test} simgrid mtest_f77) endforeach() - + add_executable(c2f2cwinf EXCLUDE_FROM_ALL c2f2cwinf.f c2f2cwin.c) + set_property(TARGET c2f2cwinf PROPERTY INTERPROCEDURAL_OPTIMIZATION FALSE) add_dependencies(tests c2f2cwinf) target_link_libraries(c2f2cwinf simgrid mtest_f77) endif()