# C examples
foreach(x app-masterworker app-token-ring
- cloud-capping cloud-masterworker cloud-migration cloud-simple cloud-two-tasks
+ cloud-capping cloud-masterworker cloud-migration
dht-pastry energy-consumption energy-onoff energy-vm platform-failures
plugin-hostload
process-create
synchro-semaphore trace-categories
- trace-route-user-variables trace-link-user-variables trace-masterworker trace-platform
+ 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)
${CMAKE_CURRENT_SOURCE_DIR}/network-ns3/two_clusters_d.xml PARENT_SCOPE)
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
+ cloud-capping cloud-masterworker cloud-migration
+ dht-pastry dht-kademlia platform-failures
energy-consumption energy-onoff energy-vm
plugin-hostload
process-create
${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