X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/856b580eb05f2a6be5ca81d9f9288ad02c0cab60..127880536a17bd02faba5e25df542b50c9fe72cc:/tools/gras/CMakeLists.txt diff --git a/tools/gras/CMakeLists.txt b/tools/gras/CMakeLists.txt index 406e98dca5..8a5f391931 100644 --- a/tools/gras/CMakeLists.txt +++ b/tools/gras/CMakeLists.txt @@ -3,6 +3,13 @@ cmake_minimum_required(VERSION 2.6) set(EXECUTABLE_OUTPUT_PATH "${CMAKE_BINARY_DIR}/bin") add_executable(gras_stub_generator stub_generator.c unix_stub_generator.c windows_stub_generator.c) +add_executable(struct_diff struct_diff.c) ### Add definitions for compile -target_link_libraries(gras_stub_generator simgrid pthread m -fprofile-arcs) \ No newline at end of file +if(NOT WIN32) + target_link_libraries(gras_stub_generator simgrid pthread m) + target_link_libraries(struct_diff simgrid pthread m) +else(NOT WIN32) + target_link_libraries(gras_stub_generator simgrid) + target_link_libraries(struct_diff simgrid) +endif(NOT WIN32) \ No newline at end of file