3 set(CMAKE_C_FLAGS "-include ${CMAKE_HOME_DIRECTORY}/include/smpi/smpi_main.h")
5 set(CMAKE_C_COMPILER "${CMAKE_BINARY_DIR}/smpi_script/bin/smpicc")
7 include_directories(BEFORE "${CMAKE_HOME_DIRECTORY}/include/smpi")
9 add_executable (compute compute.c)
10 target_link_libraries(compute simgrid)
11 add_executable (compute2 compute2.c)
12 target_link_libraries(compute2 simgrid)
13 add_executable (compute3 compute3.c)
14 target_link_libraries(compute3 simgrid)
15 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)
20 ${CMAKE_CURRENT_SOURCE_DIR}/compute.tesh
24 ${CMAKE_CURRENT_SOURCE_DIR}/compute.c
25 ${CMAKE_CURRENT_SOURCE_DIR}/compute2.c
26 ${CMAKE_CURRENT_SOURCE_DIR}/compute3.c