Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
some extra cleanups in simdag examples
[simgrid.git] / examples / simdag / goal / CMakeLists.txt
index 941fc7d..2887013 100644 (file)
@@ -1,12 +1,7 @@
-cmake_minimum_required(VERSION 2.6)
-
-set(EXECUTABLE_OUTPUT_PATH "${CMAKE_CURRENT_BINARY_DIR}")
-
-add_executable(goal_test goal_test.c)
-
-### Add definitions for compile
-if(NOT WIN32)
-target_link_libraries(goal_test simgrid pthread m )
-else(NOT WIN32)
+add_executable       (goal_test goal_test.c)
 target_link_libraries(goal_test simgrid)
-endif(NOT WIN32)
+
+set(examples_src
+  ${examples_src}
+  ${CMAKE_CURRENT_SOURCE_DIR}/goal_test.c
+  PARENT_SCOPE)