Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
cpp-ify and simpifly functions used by graphicator
[simgrid.git] / tools / graphicator / CMakeLists.txt
1 add_executable       (graphicator graphicator.cpp)
2 add_dependencies     (tests       graphicator)
3 target_link_libraries(graphicator simgrid)
4 set_target_properties(graphicator PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
5 ADD_TESH(graphicator --setenv srcdir=${CMAKE_HOME_DIRECTORY} --setenv bindir=${CMAKE_BINARY_DIR}/bin
6                      --cd ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/graphicator.tesh)
7
8 install(TARGETS graphicator DESTINATION ${CMAKE_INSTALL_BINDIR}/)
9
10 set(tesh_files  ${tesh_files}  ${CMAKE_CURRENT_SOURCE_DIR}/graphicator.tesh  PARENT_SCOPE)
11 set(tools_src   ${tools_src}   ${CMAKE_CURRENT_SOURCE_DIR}/graphicator.cpp   PARENT_SCOPE)