X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/cf108868b4eeed4d0d9d343bc68557d7814e18c0..903d96f4c7e2f761608b4591faa573aab5891994:/examples/msg/pastry/CMakeLists.txt diff --git a/examples/msg/pastry/CMakeLists.txt b/examples/msg/pastry/CMakeLists.txt index b071ef5269..5c6db6abb8 100644 --- a/examples/msg/pastry/CMakeLists.txt +++ b/examples/msg/pastry/CMakeLists.txt @@ -1,18 +1,8 @@ -set(EXECUTABLE_OUTPUT_PATH "${CMAKE_CURRENT_BINARY_DIR}") +add_executable (pastry pastry.c) +target_link_libraries(pastry simgrid) -add_executable(pastry pastry.c) -target_link_libraries(pastry simgrid ) +# ADD_TESH_FACTORIES(msg-pastry "thread;ucontext;raw;boost" --setenv srcdir=${CMAKE_HOME_DIRECTORY}/examples/msg/pastry --cd ${CMAKE_BINARY_DIR}/examples/msg/pastry ${CMAKE_HOME_DIRECTORY}/examples/msg/pastry/pastry.tesh) -set(tesh_files - ${tesh_files} - ${CMAKE_CURRENT_SOURCE_DIR}/pastry.tesh - ${CMAKE_CURRENT_SOURCE_DIR}/pastry_crosstraffic.tesh - PARENT_SCOPE) -set(xml_files - ${xml_files} - ${CMAKE_CURRENT_SOURCE_DIR}/pastry10.xml - PARENT_SCOPE) -set(examples_src - ${examples_src} - ${CMAKE_CURRENT_SOURCE_DIR}/pastry.c - PARENT_SCOPE) +set(tesh_files ${tesh_files} ${CMAKE_CURRENT_SOURCE_DIR}/pastry.tesh PARENT_SCOPE) +set(xml_files ${xml_files} ${CMAKE_CURRENT_SOURCE_DIR}/pastry10.xml PARENT_SCOPE) +set(examples_src ${examples_src} ${CMAKE_CURRENT_SOURCE_DIR}/pastry.c PARENT_SCOPE)