-# C examples
-foreach(x dht-pastry
- synchro-semaphore trace-categories
- trace-route-user-variables trace-link-user-variables trace-masterworker
- trace-process-migration trace-host-user-variables)
+foreach(x dht-pastry synchro-semaphore trace-categories trace-route-user-variables trace-link-user-variables
+ trace-masterworker trace-process-migration trace-host-user-variables)
if(enable_msg)
add_executable (${x} EXCLUDE_FROM_ALL ${x}/${x}.c)
target_link_libraries(${x} simgrid)
set(tesh_files ${tesh_files} ${CMAKE_CURRENT_SOURCE_DIR}/${x}/${x}.tesh)
endforeach()
-foreach (file dht-pastry)
- set(xml_files ${xml_files} ${CMAKE_CURRENT_SOURCE_DIR}/${file}/${file}_d.xml)
-endforeach()
-
set(examples_src ${examples_src} PARENT_SCOPE)
set(txt_files ${txt_files} ${CMAKE_CURRENT_SOURCE_DIR}/README.doc PARENT_SCOPE)
set(bin_files ${bin_files} ${CMAKE_CURRENT_SOURCE_DIR}/dht-pastry/generate.py PARENT_SCOPE)
set(tesh_files ${tesh_files} PARENT_SCOPE)
-set(xml_files ${xml_files} PARENT_SCOPE)
+set(xml_files ${xml_files} ${CMAKE_CURRENT_SOURCE_DIR}/dht-pastry/dht-pastry_d.xml PARENT_SCOPE)
if(enable_msg)
foreach(x dht-pastry synchro-semaphore)
${CMAKE_HOME_DIRECTORY}/examples/deprecated/msg/${x}/${x}.tesh)
endforeach()
- foreach (x trace-categories trace-route-user-variables trace-link-user-variables trace-masterworker 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/deprecated/msg/${x}
--setenv srcdir=${CMAKE_HOME_DIRECTORY}/examples/deprecated/msg/${x}
--setenv platfdir=${CMAKE_HOME_DIRECTORY}/examples/platforms