Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
shared allocations are disabled on windows, do not test them
[simgrid.git] / teshsuite / smpi / CMakeLists.txt
index 81c036f..b501557 100644 (file)
@@ -25,7 +25,9 @@ if(enable_smpi)
   add_executable(compute compute.c)
   add_executable(compute2 compute2.c)
   add_executable(compute3 compute3.c)
+if (NOT WIN32)
   add_executable(shared shared.c)
+endif()
   add_executable(pingpong pingpong.c)
   add_executable(scatter scatter.c)
   add_executable(reduce reduce.c)
@@ -52,7 +54,9 @@ if(enable_smpi)
   target_link_libraries(bcast_coll simgrid)      
   target_link_libraries(barrier_coll simgrid)
   target_link_libraries(compute simgrid)
+if (NOT WIN32)
   target_link_libraries(shared simgrid)
+endif()
   target_link_libraries(compute2 simgrid)
   target_link_libraries(compute3 simgrid)
   target_link_libraries(pingpong simgrid)
@@ -92,7 +96,9 @@ set(tesh_files
   ${CMAKE_CURRENT_SOURCE_DIR}/bcast.tesh
   ${CMAKE_CURRENT_SOURCE_DIR}/bcast_coll.tesh  
   ${CMAKE_CURRENT_SOURCE_DIR}/compute.tesh
+if (NOT WIN32)
   ${CMAKE_CURRENT_SOURCE_DIR}/shared.tesh
+endif()
   ${CMAKE_CURRENT_SOURCE_DIR}/hvector.tesh
   ${CMAKE_CURRENT_SOURCE_DIR}/indexed.tesh
   ${CMAKE_CURRENT_SOURCE_DIR}/pt2pt.tesh
@@ -127,7 +133,9 @@ set(examples_src
   ${CMAKE_CURRENT_SOURCE_DIR}/sendrecv.c
   ${CMAKE_CURRENT_SOURCE_DIR}/reduce.c
   ${CMAKE_CURRENT_SOURCE_DIR}/compute2.c
+if (NOT WIN32)
   ${CMAKE_CURRENT_SOURCE_DIR}/shared.c
+endif()
   ${CMAKE_CURRENT_SOURCE_DIR}/split.c
   ${CMAKE_CURRENT_SOURCE_DIR}/dsend.c
   ${CMAKE_CURRENT_SOURCE_DIR}/ttest01.c