1 cmake_minimum_required(VERSION 2.6)
3 set(EXECUTABLE_OUTPUT_PATH "${CMAKE_BINARY_DIR}/bin")
5 add_executable(graphicator graphicator.c)
7 ### Add definitions for compile
9 target_link_libraries(graphicator simgrid m pthread )
11 target_link_libraries(graphicator simgrid )
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;")