Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
fix the make clean command
[simgrid.git] / tools / graphicator / CMakeLists.txt
1 cmake_minimum_required(VERSION 2.6)
2
3 set(EXECUTABLE_OUTPUT_PATH "${CMAKE_BINARY_DIR}/bin")
4
5 add_executable(graphicator graphicator.c)
6
7 ### Add definitions for compile
8 if(NOT WIN32)
9 target_link_libraries(graphicator simgrid m pthread )
10 else(NOT WIN32)
11 target_link_libraries(graphicator simgrid )
12 endif(NOT WIN32)
13
14 ## Clean generated files
15 get_directory_property(extra_clean_files ADDITIONAL_MAKE_CLEAN_FILES)
16 set_directory_properties(
17         PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES
18         "${extra_clean_files};${CMAKE_CURRENT_BINARY_DIR}/simgrid.trace;")