Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
tools/graphicator: run tesh in build directory.
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Wed, 19 Jul 2017 09:56:22 +0000 (11:56 +0200)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Thu, 20 Jul 2017 08:53:27 +0000 (10:53 +0200)
tools/graphicator/CMakeLists.txt

index baa41d8..954e3ee 100644 (file)
@@ -1,7 +1,7 @@
 add_executable       (graphicator graphicator.c)
 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_HOME_DIRECTORY}/tools/graphicator graphicator.tesh)
+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)
 
 ## Clean generated files
 get_directory_property(extra_clean_files ADDITIONAL_MAKE_CLEAN_FILES)