Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[trace] new example that will be used to test platform tracing
[simgrid.git] / examples / msg / tracing / CMakeLists.txt
1 cmake_minimum_required(VERSION 2.6)
2
3 set(EXECUTABLE_OUTPUT_PATH "${CMAKE_CURRENT_BINARY_DIR}")
4 set(LIBRARY_OUTPUT_PATH "${CMAKE_HOME_DIRECTORY}/lib")
5
6 add_executable(ms         ${CMAKE_CURRENT_SOURCE_DIR}/ms.c)
7 add_executable(categories ${CMAKE_CURRENT_SOURCE_DIR}/categories.c)
8 add_executable(procmig    ${CMAKE_CURRENT_SOURCE_DIR}/procmig.c)
9 add_executable(simple     ${CMAKE_CURRENT_SOURCE_DIR}/simple.c)
10 add_executable(trace_platform     ${CMAKE_CURRENT_SOURCE_DIR}/trace_platform.c)
11
12 ### Add definitions for compile
13 target_link_libraries(ms simgrid m )
14 target_link_libraries(categories simgrid m )
15 target_link_libraries(procmig simgrid m )
16 target_link_libraries(simple simgrid m )
17 target_link_libraries(trace_platform simgrid m )
18
19 ## Clean generated files
20 get_directory_property(extra_clean_files ADDITIONAL_MAKE_CLEAN_FILES)
21 set_directory_properties(
22         PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES
23         "${extra_clean_files};${CMAKE_CURRENT_BINARY_DIR}/ms.cat.plist;${CMAKE_CURRENT_BINARY_DIR}/ms.trace;${CMAKE_CURRENT_BINARY_DIR}/ms.uncat.plist;")