X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/963aa331797f0bc1a8173af4b3970205bcbfbd0c..2f810149832a2d855c33d0df5b02d736c2081e41:/testsuite/xbt/CMakeLists.txt diff --git a/testsuite/xbt/CMakeLists.txt b/testsuite/xbt/CMakeLists.txt index f95dbb6ece..ad4566e86c 100644 --- a/testsuite/xbt/CMakeLists.txt +++ b/testsuite/xbt/CMakeLists.txt @@ -1,13 +1,18 @@ cmake_minimum_required(VERSION 2.6) -set(EXECUTABLE_OUTPUT_PATH "./") -set(LIBRARY_OUTPUT_PATH "${PROJECT_DIRECTORY}/lib") +set(EXECUTABLE_OUTPUT_PATH "${CMAKE_CURRENT_BINARY_DIR}") add_executable(log_usage "log_usage.c") add_executable(graphxml_usage "graphxml_usage.c") add_executable(heap_bench "heap_bench.c") ### Add definitions for compile -target_link_libraries(log_usage gras m -fprofile-arcs) -target_link_libraries(graphxml_usage simgrid m -fprofile-arcs) -target_link_libraries(heap_bench gras m -fprofile-arcs) +if(NOT WIN32) +target_link_libraries(log_usage gras m ) +target_link_libraries(graphxml_usage simgrid m ) +target_link_libraries(heap_bench gras m ) +else(NOT WIN32) +target_link_libraries(log_usage gras ) +target_link_libraries(graphxml_usage simgrid ) +target_link_libraries(heap_bench gras ) +endif(NOT WIN32)