Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
damn, 2 modifications of Tests.cmake here
[simgrid.git] / teshsuite / smpi / allreduce / CMakeLists.txt
index 85f36d0..257aaee 100644 (file)
@@ -4,39 +4,22 @@ if(enable_smpi)
   else()
     set(CMAKE_C_COMPILER "${CMAKE_BINARY_DIR}/smpi_script/bin/smpicc")
   endif()
-
-  set(EXECUTABLE_OUTPUT_PATH "${CMAKE_CURRENT_BINARY_DIR}")
-
   include_directories(BEFORE "${CMAKE_HOME_DIRECTORY}/include/smpi")
-  add_executable(allreduce allreduce.c)
-  add_executable(allreduce_coll allreduce_coll.c)
-  target_link_libraries(allreduce simgrid)
+
+  add_executable       (allreduce      allreduce.c)
+  target_link_libraries(allreduce      simgrid)
+  add_executable       (allreduce_coll allreduce_coll.c)
   target_link_libraries(allreduce_coll simgrid)
 endif()
 
-
 set(tesh_files
   ${tesh_files}
   ${CMAKE_CURRENT_SOURCE_DIR}/allreduce_coll.tesh
   ${CMAKE_CURRENT_SOURCE_DIR}/allreduce_coll_large.tesh
-  PARENT_SCOPE
-  )
-set(xml_files
-  ${xml_files}
-  PARENT_SCOPE
-  )
+  ${CMAKE_CURRENT_SOURCE_DIR}/allreduce_coll_automatic.tesh
+  PARENT_SCOPE)
 set(examples_src
   ${examples_src}
   ${CMAKE_CURRENT_SOURCE_DIR}/allreduce.c
   ${CMAKE_CURRENT_SOURCE_DIR}/allreduce_coll.c
-  PARENT_SCOPE
-  )
-set(bin_files
-  ${bin_files}
-  PARENT_SCOPE
-  )
-set(txt_files
-  ${txt_files}
-
-  PARENT_SCOPE
-  )
+  PARENT_SCOPE)