X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/fa0625d7ccfa7a3d0e1edfeca3f8ba3c4a5e918f..c373e2ab31b848f5e355c17ed797bcf6a336361d:/tools/graphicator/CMakeLists.txt diff --git a/tools/graphicator/CMakeLists.txt b/tools/graphicator/CMakeLists.txt index 5d81a739db..66b8af3b0e 100644 --- a/tools/graphicator/CMakeLists.txt +++ b/tools/graphicator/CMakeLists.txt @@ -1,9 +1,11 @@ -add_executable (graphicator EXCLUDE_FROM_ALL graphicator.c) +add_executable (graphicator graphicator.c) add_dependencies (tests graphicator) target_link_libraries(graphicator simgrid) set_target_properties(graphicator PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin) 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) +install(TARGETS graphicator DESTINATION bin/) + ## Clean generated files get_directory_property(extra_clean_files ADDITIONAL_MAKE_CLEAN_FILES) set_directory_properties(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES "${extra_clean_files};${CMAKE_CURRENT_BINARY_DIR}/simgrid.trace;")