X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/c5c1970d1789e6fd9ca264d279a86abd8621bd5d..7a8cd62135619ad52e05ae1c929ef07e166e4260:/teshsuite/xbt/CMakeLists.txt diff --git a/teshsuite/xbt/CMakeLists.txt b/teshsuite/xbt/CMakeLists.txt index a4a7eb32aa..8a8b7b78de 100644 --- a/teshsuite/xbt/CMakeLists.txt +++ b/teshsuite/xbt/CMakeLists.txt @@ -1,25 +1,20 @@ cmake_minimum_required(VERSION 2.6) 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) -if(HAVE_MMAP) - add_executable(mmalloc_test mmalloc_test.c) +if(NOT WIN32) + add_executable(log_large_test log_large_test.c) + add_executable(parallel_log_crashtest parallel_log_crashtest.c) + if(HAVE_MMAP) + add_executable(mmalloc_test mmalloc_test.c) + endif() endif() ### Add definitions for compile if(NOT WIN32) - target_link_libraries(log_large_test gras m pthread ) - target_link_libraries(parallel_log_crashtest gras m pthread ) - if(HAVE_MMAP) - target_link_libraries(mmalloc_test gras m pthread ) - endif() -else() - target_link_libraries(log_large_test gras) - target_link_libraries(parallel_log_crashtest gras) + target_link_libraries(log_large_test simgrid m pthread ) + target_link_libraries(parallel_log_crashtest simgrid m pthread ) if(HAVE_MMAP) - target_link_libraries(mmalloc_test gras) + target_link_libraries(mmalloc_test simgrid m pthread ) endif() endif()