X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f75eaeb088806806e6ea57630ed5168b150da93b..8b7a804241c51e766a035f3660d48f8f84b25f1f:/teshsuite/xbt/CMakeLists.txt diff --git a/teshsuite/xbt/CMakeLists.txt b/teshsuite/xbt/CMakeLists.txt index 9c883591b7..f51a177368 100644 --- a/teshsuite/xbt/CMakeLists.txt +++ b/teshsuite/xbt/CMakeLists.txt @@ -1,12 +1,12 @@ cmake_minimum_required(VERSION 2.6) set(EXECUTABLE_OUTPUT_PATH "${CMAKE_CURRENT_BINARY_DIR}") - +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(HAVE_MMAP) +endif() ### Add definitions for compile if(NOT WIN32) @@ -14,14 +14,8 @@ if(NOT WIN32) target_link_libraries(parallel_log_crashtest gras m pthread ) if(HAVE_MMAP) target_link_libraries(mmalloc_test gras m pthread ) - endif(HAVE_MMAP) -else(NOT WIN32) - target_link_libraries(log_large_test gras) - target_link_libraries(parallel_log_crashtest gras) - if(HAVE_MMAP) - target_link_libraries(mmalloc_test gras) - endif(HAVE_MMAP) -endif(NOT WIN32) + endif() +endif() set(tesh_files ${tesh_files}