X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/7abdd79c9f0f110c7ed500d9c9d30c475bbe83b2..7b80cdd097932b7d879c5dc4484a6520e3202564:/teshsuite/smpi/compute/CMakeLists.txt?ds=sidebyside diff --git a/teshsuite/smpi/compute/CMakeLists.txt b/teshsuite/smpi/compute/CMakeLists.txt index d3d1510acf..fc11182c96 100644 --- a/teshsuite/smpi/compute/CMakeLists.txt +++ b/teshsuite/smpi/compute/CMakeLists.txt @@ -4,16 +4,15 @@ if(enable_smpi) else() set(CMAKE_C_COMPILER "${CMAKE_BINARY_DIR}/smpi_script/bin/smpicc") endif() - - set(EXECUTABLE_OUTPUT_PATH "${CMAKE_CURRENT_BINARY_DIR}") - include_directories(BEFORE "${CMAKE_HOME_DIRECTORY}/include/smpi") - add_executable(compute compute.c) - add_executable(compute2 compute2.c) - add_executable(compute3 compute3.c) - target_link_libraries(compute simgrid) + + add_executable (compute compute.c) + target_link_libraries(compute simgrid) + add_executable (compute2 compute2.c) target_link_libraries(compute2 simgrid) + add_executable (compute3 compute3.c) target_link_libraries(compute3 simgrid) + ADD_TESH_FACTORIES(tesh-smpi-compute "thread;ucontext;raw;boost" --setenv bindir=${CMAKE_BINARY_DIR}/teshsuite/smpi/compute --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/smpi/compute compute.tesh) endif() set(tesh_files