X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d9d0310b37e3c0e23fc7b71ba76ff1fe2d640e36..19676e284575c2ab70cc36622fdf1837a513ba27:/teshsuite/smpi/mpich-test/context/CMakeLists.txt?ds=sidebyside diff --git a/teshsuite/smpi/mpich-test/context/CMakeLists.txt b/teshsuite/smpi/mpich-test/context/CMakeLists.txt index a22734da27..86f4b0a499 100644 --- a/teshsuite/smpi/mpich-test/context/CMakeLists.txt +++ b/teshsuite/smpi/mpich-test/context/CMakeLists.txt @@ -1,9 +1,9 @@ cmake_minimum_required(VERSION 2.6) if(enable_smpi) - set(CMAKE_C_COMPILER "${CMAKE_BINARY_DIR}/bin/smpicc") - set(CMAKE_Fortran_COMPILER "${CMAKE_BINARY_DIR}/bin/smpiff") - set(CMAKE_Fortran_LINKER "${CMAKE_BINARY_DIR}/bin/smpicc") + set(CMAKE_C_COMPILER "${CMAKE_BINARY_DIR}/smpi_script/bin/smpicc") + set(CMAKE_Fortran_COMPILER "${CMAKE_BINARY_DIR}/smpi_script/bin/smpiff") + set(CMAKE_Fortran_LINKER "${CMAKE_BINARY_DIR}/smpi_script/bin/smpicc") 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") @@ -22,7 +22,7 @@ if(enable_smpi) if(SMPI_F2C) #add_executable(attrtest_f attrtest.f) #add_executable(commnames_f commnamesf.f) - endif(SMPI_F2C) + endif() target_link_libraries(attrerr m simgrid smpi ) # target_link_libraries(attrt m simgrid smpi ) @@ -37,7 +37,7 @@ if(enable_smpi) if(SMPI_F2C) #target_link_libraries(attrtest_f m simgrid smpi f2c) #target_link_libraries(commnames_f m simgrid smpi f2c) - endif(SMPI_F2C) + endif() set_target_properties(attrerr PROPERTIES COMPILE_FLAGS "${MPICH_FLAGS}") # set_target_properties(attrt PROPERTIES COMPILE_FLAGS "${MPICH_FLAGS}") @@ -53,13 +53,12 @@ if(enable_smpi) if(SMPI_F2C) #set_target_properties(commnames_f PROPERTIES COMPILE_FLAGS "${MPICH_FLAGS}" ) #set_target_properties(attrtest_f PROPERTIES COMPILE_FLAGS "${MPICH_FLAGS}" ) - endif(SMPI_F2C) + endif() -endif(enable_smpi) +endif() set(tesh_files ${tesh_files} - ${CMAKE_CURRENT_SOURCE_DIR}/context.tesh PARENT_SCOPE ) set(xml_files @@ -85,10 +84,14 @@ set(examples_src ) set(bin_files ${bin_files} - ${CMAKE_CURRENT_SOURCE_DIR}/../hostfile PARENT_SCOPE ) set(txt_files ${txt_files} + ${CMAKE_CURRENT_SOURCE_DIR}/runtests + ${CMAKE_CURRENT_SOURCE_DIR}/attrt.std + ${CMAKE_CURRENT_SOURCE_DIR}/attrerr.std + ${CMAKE_CURRENT_SOURCE_DIR}/context.std + ${CMAKE_CURRENT_SOURCE_DIR}/commnames.std PARENT_SCOPE )