Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Do not declare empty sets
[simgrid.git] / teshsuite / simdag / network / p2p / CMakeLists.txt
index 7345ea4..dde435d 100644 (file)
@@ -1,5 +1,3 @@
-cmake_minimum_required(VERSION 2.6)
-
 set(EXECUTABLE_OUTPUT_PATH "${CMAKE_CURRENT_BINARY_DIR}")
 
 add_executable(test_latency1 test_latency1.c)
@@ -9,16 +7,16 @@ add_executable(test_latency_bound test_latency_bound.c)
 
 ### Add definitions for compile
 if(NOT WIN32)
-target_link_libraries(test_latency1 simgrid m pthread )
-target_link_libraries(test_latency2 simgrid m pthread )
-target_link_libraries(test_latency3 simgrid m pthread )
-target_link_libraries(test_latency_bound simgrid m pthread )
-else(NOT WIN32)
-target_link_libraries(test_latency1 simgrid)
-target_link_libraries(test_latency2 simgrid)
-target_link_libraries(test_latency3 simgrid)
-target_link_libraries(test_latency_bound simgrid)
-endif(NOT WIN32)
+  target_link_libraries(test_latency1 simgrid m pthread )
+  target_link_libraries(test_latency2 simgrid m pthread )
+  target_link_libraries(test_latency3 simgrid m pthread )
+  target_link_libraries(test_latency_bound simgrid m pthread )
+else()
+  target_link_libraries(test_latency1 simgrid)
+  target_link_libraries(test_latency2 simgrid)
+  target_link_libraries(test_latency3 simgrid)
+  target_link_libraries(test_latency_bound simgrid)
+endif()
 
 set(tesh_files
   ${tesh_files}
@@ -26,29 +24,18 @@ set(tesh_files
   ${CMAKE_CURRENT_SOURCE_DIR}/test_latency2.tesh
   ${CMAKE_CURRENT_SOURCE_DIR}/test_latency3.tesh
   ${CMAKE_CURRENT_SOURCE_DIR}/test_latency_bound.tesh
-  PARENT_SCOPE
-)
+  PARENT_SCOPE)
 set(xml_files
   ${xml_files}
   ${CMAKE_CURRENT_SOURCE_DIR}/platform_2p_1bb.xml
   ${CMAKE_CURRENT_SOURCE_DIR}/platform_2p_1fl.xml
   ${CMAKE_CURRENT_SOURCE_DIR}/platform_2p_1sl.xml
   ${CMAKE_CURRENT_SOURCE_DIR}/platform_2p_1switch.xml
-  PARENT_SCOPE
-)
+  PARENT_SCOPE)
 set(teshsuite_src
   ${teshsuite_src}
   ${CMAKE_CURRENT_SOURCE_DIR}/test_latency1.c
   ${CMAKE_CURRENT_SOURCE_DIR}/test_latency2.c
   ${CMAKE_CURRENT_SOURCE_DIR}/test_latency3.c
   ${CMAKE_CURRENT_SOURCE_DIR}/test_latency_bound.c
-  PARENT_SCOPE
-)
-set(bin_files
-  ${bin_files}
-  PARENT_SCOPE
-)
-set(txt_files
-  ${txt_files}
-  PARENT_SCOPE
-)
\ No newline at end of file
+  PARENT_SCOPE)