X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/6315d266b5084c6e28c38f1daf4f0b3cb72608e6..a762e713cb0c4552186a4e4a64da055f7f134e25:/examples/msg/CMakeLists.txt diff --git a/examples/msg/CMakeLists.txt b/examples/msg/CMakeLists.txt index e3e4e9b0f6..a0450a8f1a 100644 --- a/examples/msg/CMakeLists.txt +++ b/examples/msg/CMakeLists.txt @@ -1,10 +1,9 @@ # C examples -foreach(x app-masterworker app-pingpong app-token-ring - cloud-capping cloud-masterworker cloud-migration cloud-simple cloud-two-tasks +foreach(x app-masterworker app-token-ring + cloud-capping cloud-masterworker cloud-migration cloud-simple dht-pastry energy-consumption energy-onoff energy-vm platform-failures - io-file task-priority plugin-hostload - process-create process-join + process-create synchro-semaphore trace-categories trace-route-user-variables trace-link-user-variables trace-masterworker trace-platform trace-process-migration trace-host-user-variables) @@ -44,7 +43,7 @@ foreach (file answer dht-kademlia node routing_table task) set(examples_src ${examples_src} ${CMAKE_CURRENT_SOURCE_DIR}/dht-kademlia/${file}.c ${CMAKE_CURRENT_SOURCE_DIR}/dht-kademlia/${file}.h) endforeach() -foreach (file app-chainsend app-masterworker app-pingpong dht-kademlia dht-pastry task-priority) +foreach (file app-chainsend app-masterworker dht-kademlia dht-pastry) set(xml_files ${xml_files} ${CMAKE_CURRENT_SOURCE_DIR}/${file}/${file}_d.xml) endforeach() @@ -71,12 +70,12 @@ set(xml_files ${xml_files} ${CMAKE_CURRENT_SOURCE_DIR}/app-masterworker/a ${CMAKE_CURRENT_SOURCE_DIR}/network-ns3/one_cluster_d.xml ${CMAKE_CURRENT_SOURCE_DIR}/network-ns3/two_clusters_d.xml PARENT_SCOPE) -foreach(x app-chainsend app-masterworker app-pingpong app-token-ring +foreach(x app-chainsend app-masterworker app-token-ring cloud-capping cloud-masterworker cloud-migration cloud-simple - cloud-two-tasks dht-pastry dht-kademlia platform-failures io-file task-priority + dht-pastry dht-kademlia platform-failures energy-consumption energy-onoff energy-vm plugin-hostload - process-create process-join + process-create synchro-semaphore) ADD_TESH_FACTORIES(msg-${x} "thread;ucontext;raw;boost" --setenv bindir=${CMAKE_BINARY_DIR}/examples/msg/${x} @@ -116,5 +115,9 @@ ADD_TESH_FACTORIES(app-masterworker-vivaldi "thread;ucontext;raw;boost" ${CMAKE_HOME_DIRECTORY}/examples/msg/app-masterworker/app-masterworker-vivaldi.tesh) if(SIMGRID_HAVE_NS3) - ADD_TESH_FACTORIES(msg-network-ns3 "thread;ucontext;raw;boost" --setenv srcdir=${CMAKE_HOME_DIRECTORY} --cd ${CMAKE_BINARY_DIR}/examples/msg ${CMAKE_HOME_DIRECTORY}/examples/msg/network-ns3/network-ns3.tesh) + ADD_TESH_FACTORIES(msg-network-ns3 "thread;ucontext;raw;boost" + --setenv srcdir=${CMAKE_HOME_DIRECTORY}/examples/msg + --setenv bindir=${CMAKE_BINARY_DIR}/examples/msg + --setenv platfdir=${CMAKE_HOME_DIRECTORY}/examples/platforms + ${CMAKE_HOME_DIRECTORY}/examples/msg/network-ns3/network-ns3.tesh) endif()