Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
295887af089cb6b9537c2a81001dfc755c567871
[simgrid.git] / examples / msg / tracing / CMakeLists.txt
1 foreach (example ms procmig user_variables link_user_variables link_srcdst_user_variables)
2   add_executable       (${example} ${example}.c)
3   target_link_libraries(${example} simgrid)
4   set(examples_src  ${examples_src} ${CMAKE_CURRENT_SOURCE_DIR}/${example}.c)
5   set(tesh_files  ${tesh_files} ${CMAKE_CURRENT_SOURCE_DIR}/${example}.tesh)
6
7   ADD_TESH(tracing-${example} --setenv bindir=${CMAKE_BINARY_DIR}/examples/msg --cd ${CMAKE_HOME_DIRECTORY}/examples/msg tracing/${example}.tesh)
8 endforeach()
9
10 ## Clean generated files
11 get_directory_property(extra_clean_files ADDITIONAL_MAKE_CLEAN_FILES)
12 set_directory_properties(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES "${extra_clean_files};${CMAKE_CURRENT_BINARY_DIR}/ms.cat.plist;${CMAKE_CURRENT_BINARY_DIR}/ms.trace;${CMAKE_CURRENT_BINARY_DIR}/ms.uncat.plist;")
13
14 set(tesh_files    ${tesh_files}                                                    PARENT_SCOPE)
15 set(examples_src  ${examples_src}                                                  PARENT_SCOPE)
16 set(xml_files     ${xml_files}     ${CMAKE_CURRENT_SOURCE_DIR}/deployment.xml      PARENT_SCOPE)