Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mc] Don't fail if some (part of a) segment is empty/not found
[simgrid.git] / teshsuite / smpi / compute / CMakeLists.txt
index d3d1510..fc11182 100644 (file)
@@ -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