X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/363c6561b6288c19d8b6e89882c23814981865b5..81200bdffde340c4830331a8b534537b24fd2850:/teshsuite/smpi/mpich3-test/f77/pt2pt/CMakeLists.txt diff --git a/teshsuite/smpi/mpich3-test/f77/pt2pt/CMakeLists.txt b/teshsuite/smpi/mpich3-test/f77/pt2pt/CMakeLists.txt index ceb2d0b9f4..7ccf42061c 100644 --- a/teshsuite/smpi/mpich3-test/f77/pt2pt/CMakeLists.txt +++ b/teshsuite/smpi/mpich3-test/f77/pt2pt/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required(VERSION 2.6) -if(enable_smpi AND SMPI_F2C) +if(enable_smpi AND enable_smpi_MPICH3_testsuite AND SMPI_F2C) if(WIN32) set(CMAKE_C_FLAGS "-include ${CMAKE_HOME_DIRECTORY}/include/smpi/smpi_main.h") else() @@ -10,11 +10,9 @@ if(enable_smpi AND SMPI_F2C) set(CMAKE_INCLUDE_CURRENT_DIR ON) 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(allpairf allpairf.f ../util/mtestf.f) add_executable(greqf greqf.f dummyf.f ../util/mtestf.f) #add_executable(mprobef mprobef.f ../util/mtestf.f) @@ -25,11 +23,6 @@ if(enable_smpi AND SMPI_F2C) #target_link_libraries(mprobef simgrid) target_link_libraries(statusesf simgrid) - set_target_properties(allpairf PROPERTIES COMPILE_FLAGS "${MPICH_FLAGS}") - set_target_properties(greqf PROPERTIES COMPILE_FLAGS "${MPICH_FLAGS}") - #set_target_properties(mprobef PROPERTIES COMPILE_FLAGS "${MPICH_FLAGS}") - set_target_properties(statusesf PROPERTIES COMPILE_FLAGS "${MPICH_FLAGS}") - endif() set(tesh_files