X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/0d93d854c081e2991fcb656250c79121d02295cf..cee419fa549211d1abfd98e829ab90fba005335c:/teshsuite/smpi/mpich3-test/f77/comm/CMakeLists.txt diff --git a/teshsuite/smpi/mpich3-test/f77/comm/CMakeLists.txt b/teshsuite/smpi/mpich3-test/f77/comm/CMakeLists.txt index 63984b2a5e..cedc5c14cd 100644 --- a/teshsuite/smpi/mpich3-test/f77/comm/CMakeLists.txt +++ b/teshsuite/smpi/mpich3-test/f77/comm/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required(VERSION 2.6) -if(enable_smpi) +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() @@ -9,19 +9,14 @@ if(enable_smpi) endif() 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(commerrf commerrf.f) +# add_executable(commnamef commnamef.f) - # add_executable(commerrf commerrf.f ../util/mtestf.f) - add_executable(commnamef commnamef.f ../util/mtestf.f) - - # target_link_libraries(commerrf simgrid) - target_link_libraries(commnamef simgrid) - -# set_target_properties(commerrf PROPERTIES COMPILE_FLAGS "${MPICH_FLAGS}") - set_target_properties(commnamef PROPERTIES COMPILE_FLAGS "${MPICH_FLAGS}") + # target_link_libraries(commerrf simgrid mtest_f77) +# target_link_libraries(commnamef simgrid mtest_f77) endif()