Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Those examples does not compil on WIN
[simgrid.git] / teshsuite / xbt / CMakeLists.txt
index a4a7eb3..f51a177 100644 (file)
@@ -1,7 +1,7 @@
 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)
@@ -15,12 +15,6 @@ if(NOT WIN32)
   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)
-  if(HAVE_MMAP)
-    target_link_libraries(mmalloc_test gras)
-  endif()
 endif()
 
 set(tesh_files