Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[cmake] move some add_subdirectory out of the silly file MakeExe.cmake
authorMartin Quinson <martin.quinson@loria.fr>
Wed, 14 Oct 2015 23:32:35 +0000 (01:32 +0200)
committerMartin Quinson <martin.quinson@loria.fr>
Wed, 14 Oct 2015 23:32:35 +0000 (01:32 +0200)
examples/s4u/CMakeLists.txt
tools/cmake/MakeExe.cmake

index d112293..617d170 100644 (file)
@@ -1,4 +1,5 @@
-cmake_minimum_required(VERSION 2.6)
+add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/basic)
+add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/io)
 
 set(tesh_files
   ${tesh_files}
 
 set(tesh_files
   ${tesh_files}
index 5831e11..fd58228 100644 (file)
@@ -59,8 +59,6 @@ add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/msg/token_ring)
 add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/msg/tracing)
 
 add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/s4u)
 add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/msg/tracing)
 
 add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/s4u)
-add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/s4u/basic)
-add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/s4u/io)
 
 add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/scala)
 add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/scala/master_slave_bypass)
 
 add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/scala)
 add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/scala/master_slave_bypass)