Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
lower-case -Denable_msg and improve changelog
[simgrid.git] / tools / graphicator / CMakeLists.txt
1 if(enable_msg)
2   add_executable       (graphicator graphicator.c)
3   add_dependencies     (tests       graphicator)
4   target_link_libraries(graphicator simgrid)
5   set_target_properties(graphicator PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
6   ADD_TESH(graphicator --setenv srcdir=${CMAKE_HOME_DIRECTORY} --setenv bindir=${CMAKE_BINARY_DIR}/bin --cd ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/graphicator.tesh)
7
8   install(TARGETS graphicator DESTINATION bin/)
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}/simgrid.trace;")
13 endif()
14
15 set(tesh_files  ${tesh_files}  ${CMAKE_CURRENT_SOURCE_DIR}/graphicator.tesh  PARENT_SCOPE)
16 set(tools_src   ${tools_src}   ${CMAKE_CURRENT_SOURCE_DIR}/graphicator.c     PARENT_SCOPE)