Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
some cleanups before reorg
[simgrid.git] / examples / msg / tracing / CMakeLists.txt
1 foreach (example ms categories procmig trace_platform 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 add_executable       (simple                     simple.c)
11 target_link_libraries(simple                     simgrid)
12
13 ## Clean generated files
14 get_directory_property(extra_clean_files ADDITIONAL_MAKE_CLEAN_FILES)
15 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;")
16
17 set(tesh_files    ${tesh_files}                                                    PARENT_SCOPE)
18 set(examples_src  ${examples_src}  ${CMAKE_CURRENT_SOURCE_DIR}/simple.c            PARENT_SCOPE)
19 set(xml_files     ${xml_files}     ${CMAKE_CURRENT_SOURCE_DIR}/deployment.xml      PARENT_SCOPE)