# C examples
-foreach(x app-masterworker app-pingpong app-token-ring
- cloud-capping cloud-masterworker cloud-migration cloud-simple cloud-two-tasks
- dht-pastry energy-consumption energy-onoff energy-pstate energy-vm platform-failures
- io-file io-remote io-storage task-priority
+foreach(x app-masterworker app-token-ring
+ cloud-capping cloud-masterworker cloud-migration
+ dht-pastry energy-consumption energy-onoff energy-vm platform-failures
plugin-hostload
- process-create process-join
- platform-properties process-startkilltime synchro-semaphore trace-categories
- trace-route-user-variables trace-link-user-variables trace-masterworker trace-platform
+ process-create
+ synchro-semaphore trace-categories
+ trace-route-user-variables trace-link-user-variables trace-masterworker
trace-process-migration trace-host-user-variables)
add_executable (${x} ${x}/${x}.c)
target_link_libraries(${x} simgrid)
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 io-remote platform-properties
- 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()
${CMAKE_CURRENT_SOURCE_DIR}/network-ns3/dogbone_d.xml
${CMAKE_CURRENT_SOURCE_DIR}/network-ns3/onelink_d.xml
${CMAKE_CURRENT_SOURCE_DIR}/network-ns3/one_cluster_d.xml
- ${CMAKE_CURRENT_SOURCE_DIR}/network-ns3/two_clusters_d.xml
- ${CMAKE_CURRENT_SOURCE_DIR}/process-startkilltime/baseline_d.xml
- ${CMAKE_CURRENT_SOURCE_DIR}/process-startkilltime/kill_d.xml
- ${CMAKE_CURRENT_SOURCE_DIR}/process-startkilltime/start_d.xml
- ${CMAKE_CURRENT_SOURCE_DIR}/process-startkilltime/start_kill_d.xml PARENT_SCOPE)
+ ${CMAKE_CURRENT_SOURCE_DIR}/network-ns3/two_clusters_d.xml PARENT_SCOPE)
-foreach(x app-chainsend app-masterworker app-pingpong app-token-ring
- cloud-capping cloud-masterworker cloud-migration cloud-simple
- cloud-two-tasks dht-pastry dht-kademlia platform-failures io-file io-remote io-storage task-priority
- energy-consumption energy-onoff energy-pstate energy-vm
- plugin-hostload
- process-create process-join process-startkilltime
- platform-properties synchro-semaphore)
+foreach(x app-chainsend app-masterworker app-token-ring
+ cloud-capping cloud-masterworker cloud-migration
+ dht-pastry dht-kademlia platform-failures
+ energy-consumption energy-onoff energy-vm
+ plugin-hostload
+ process-create
+ synchro-semaphore)
ADD_TESH_FACTORIES(msg-${x} "thread;ucontext;raw;boost"
--setenv bindir=${CMAKE_BINARY_DIR}/examples/msg/${x}
--setenv srcdir=${CMAKE_HOME_DIRECTORY}/examples/msg/${x}
${CMAKE_HOME_DIRECTORY}/examples/msg/${x}/${x}.tesh)
endforeach()
-foreach (x trace-categories trace-route-user-variables trace-link-user-variables trace-masterworker trace-platform trace-process-migration trace-host-user-variables)
+foreach (x trace-categories trace-route-user-variables trace-link-user-variables trace-masterworker trace-process-migration trace-host-user-variables)
ADD_TESH(msg-${x} --setenv bindir=${CMAKE_BINARY_DIR}/examples/msg/${x}
--setenv srcdir=${CMAKE_HOME_DIRECTORY}/examples/msg/${x}
--setenv platfdir=${CMAKE_HOME_DIRECTORY}/examples/platforms
${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()