X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/1d3bb007d52c72d2f2fd5a636d4792d4e5f9427d..a768e60f2464749e2859b3bb594f2a4a05f48273:/teshsuite/xbt/CMakeLists.txt diff --git a/teshsuite/xbt/CMakeLists.txt b/teshsuite/xbt/CMakeLists.txt index 79271514fb..59574a2b73 100644 --- a/teshsuite/xbt/CMakeLists.txt +++ b/teshsuite/xbt/CMakeLists.txt @@ -1,10 +1,15 @@ cmake_minimum_required(VERSION 2.6) -set(EXECUTABLE_OUTPUT_PATH "${PROJECT_DIRECTORY}/teshsuite/xbt/") +set(EXECUTABLE_OUTPUT_PATH "${CMAKE_CURRENT_BINARY_DIR}") add_executable(log_large_test log_large_test.c) add_executable(parallel_log_crashtest parallel_log_crashtest.c) ### Add definitions for compile -target_link_libraries(log_large_test gras m pthread -fprofile-arcs) -target_link_libraries(parallel_log_crashtest gras m pthread -fprofile-arcs) +if(NOT WIN32) +target_link_libraries(log_large_test gras m pthread ) +target_link_libraries(parallel_log_crashtest gras m pthread ) +else(NOT WIN32) +target_link_libraries(log_large_test gras) +target_link_libraries(parallel_log_crashtest gras) +endif(NOT WIN32)