Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Since cmake 2.6, else() and endif() don't need to repeat the condition.
[simgrid.git] / testsuite / xbt / CMakeLists.txt
index e235687..9d3c627 100644 (file)
@@ -13,23 +13,22 @@ if(NOT WIN32)
   target_link_libraries(graphxml_usage simgrid m )
   target_link_libraries(heap_bench gras m )
   target_link_libraries(parmap_bench simgrid m )
-else(NOT WIN32)
+else()
   target_link_libraries(log_usage gras )
   target_link_libraries(graphxml_usage simgrid )
   target_link_libraries(heap_bench gras )
   target_link_libraries(parmap_bench simgrid )
-endif(NOT WIN32)
-
+endif()
 
 set(tesh_files
   ${tesh_files}
   PARENT_SCOPE
-)
+  )
 set(xml_files
   ${xml_files}
   ${CMAKE_CURRENT_SOURCE_DIR}/graph.xml
   PARENT_SCOPE
-)
+  )
 set(testsuite_src
   ${testsuite_src}
   ${CMAKE_CURRENT_SOURCE_DIR}/graphxml_usage.c
@@ -37,12 +36,12 @@ set(testsuite_src
   ${CMAKE_CURRENT_SOURCE_DIR}/log_usage.c
   ${CMAKE_CURRENT_SOURCE_DIR}/parmap_bench.c
   PARENT_SCOPE
-)
+  )
 set(bin_files
   ${bin_files}
   PARENT_SCOPE
-)
+  )
 set(txt_files
   ${txt_files}
   PARENT_SCOPE
-)
\ No newline at end of file
+  )