Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
'inline' is C99, remove portability the layer
[simgrid.git] / examples / msg / energy / onoff / CMakeLists.txt
index 3dc2228..3832f22 100644 (file)
@@ -1,32 +1,16 @@
-cmake_minimum_required(VERSION 2.6)
-
-set(EXECUTABLE_OUTPUT_PATH "${CMAKE_CURRENT_BINARY_DIR}")
-
-add_executable(onoff onoff.c)
-
-### Add definitions for compile
-target_link_libraries(onoff simgrid )
+add_executable       (onoff onoff.c)
+target_link_libraries(onoff simgrid)
 
 set(tesh_files
   ${tesh_files}
   ${CMAKE_CURRENT_SOURCE_DIR}/onoff.tesh
-  PARENT_SCOPE
-  )
-
+  PARENT_SCOPE)
 set(xml_files
   ${xml_files}
   ${CMAKE_CURRENT_SOURCE_DIR}/platform_onoff.xml
   ${CMAKE_CURRENT_SOURCE_DIR}/deployment_onoff.xml
-  PARENT_SCOPE
-  )
-
+  PARENT_SCOPE)
 set(examples_src
   ${examples_src}
   ${CMAKE_CURRENT_SOURCE_DIR}/onoff.c
-  PARENT_SCOPE
-  )
-
-set(bin_files
-  ${bin_files}
-  PARENT_SCOPE
-  )
+  PARENT_SCOPE)