Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Definitively remove old variable PROJECT_DIRECTORY for CMAKE_HOME_DIRECTORY.
[simgrid.git] / buildtools / Cmake / MakeExeLibWin.cmake
index 5ca686d..028909d 100644 (file)
@@ -28,83 +28,83 @@ target_link_libraries(gras  ${GRAS_DEP})
 ### Make EXEs\r
 \r
 #src/testall\r
-add_subdirectory(${PROJECT_DIRECTORY}/src)\r
+add_subdirectory(${CMAKE_HOME_DIRECTORY}/src)\r
 \r
 #tools/gras\r
-add_subdirectory(${PROJECT_DIRECTORY}/tools/gras)\r
+add_subdirectory(${CMAKE_HOME_DIRECTORY}/tools/gras)\r
 \r
 #tools/tesh\r
-#add_subdirectory(${PROJECT_DIRECTORY}/tools/tesh)\r
+#add_subdirectory(${CMAKE_HOME_DIRECTORY}/tools/tesh)\r
 \r
 #testsuite/xbt\r
-add_subdirectory(${PROJECT_DIRECTORY}/testsuite/xbt)\r
+add_subdirectory(${CMAKE_HOME_DIRECTORY}/testsuite/xbt)\r
 \r
 #testsuite/surf\r
-add_subdirectory(${PROJECT_DIRECTORY}/testsuite/surf)\r
+add_subdirectory(${CMAKE_HOME_DIRECTORY}/testsuite/surf)\r
 \r
 #testsuite/simdag\r
-add_subdirectory(${PROJECT_DIRECTORY}/testsuite/simdag)\r
+add_subdirectory(${CMAKE_HOME_DIRECTORY}/testsuite/simdag)\r
 \r
 #teshsuite\r
-add_subdirectory(${PROJECT_DIRECTORY}/teshsuite/xbt)\r
-#add_subdirectory(${PROJECT_DIRECTORY}/teshsuite/gras/datadesc)\r
-add_subdirectory(${PROJECT_DIRECTORY}/teshsuite/gras/msg_handle)\r
-add_subdirectory(${PROJECT_DIRECTORY}/teshsuite/gras/empty_main)\r
-add_subdirectory(${PROJECT_DIRECTORY}/teshsuite/gras/small_sleep)\r
-add_subdirectory(${PROJECT_DIRECTORY}/teshsuite/simdag)\r
-add_subdirectory(${PROJECT_DIRECTORY}/teshsuite/simdag/network)\r
-add_subdirectory(${PROJECT_DIRECTORY}/teshsuite/simdag/network/p2p)\r
-add_subdirectory(${PROJECT_DIRECTORY}/teshsuite/simdag/network/mxn)\r
-add_subdirectory(${PROJECT_DIRECTORY}/teshsuite/simdag/partask)\r
-add_subdirectory(${PROJECT_DIRECTORY}/teshsuite/simdag/platforms)\r
-add_subdirectory(${PROJECT_DIRECTORY}/teshsuite/msg)\r
+add_subdirectory(${CMAKE_HOME_DIRECTORY}/teshsuite/xbt)\r
+#add_subdirectory(${CMAKE_HOME_DIRECTORY}/teshsuite/gras/datadesc)\r
+add_subdirectory(${CMAKE_HOME_DIRECTORY}/teshsuite/gras/msg_handle)\r
+add_subdirectory(${CMAKE_HOME_DIRECTORY}/teshsuite/gras/empty_main)\r
+add_subdirectory(${CMAKE_HOME_DIRECTORY}/teshsuite/gras/small_sleep)\r
+add_subdirectory(${CMAKE_HOME_DIRECTORY}/teshsuite/simdag)\r
+add_subdirectory(${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/network)\r
+add_subdirectory(${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/network/p2p)\r
+add_subdirectory(${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/network/mxn)\r
+add_subdirectory(${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/partask)\r
+add_subdirectory(${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/platforms)\r
+add_subdirectory(${CMAKE_HOME_DIRECTORY}/teshsuite/msg)\r
 \r
 #examples\r
-add_subdirectory(${PROJECT_DIRECTORY}/examples/gras/ping)\r
-add_subdirectory(${PROJECT_DIRECTORY}/examples/gras/rpc)\r
-add_subdirectory(${PROJECT_DIRECTORY}/examples/gras/spawn)\r
-add_subdirectory(${PROJECT_DIRECTORY}/examples/gras/timer)\r
-add_subdirectory(${PROJECT_DIRECTORY}/examples/gras/chrono)\r
-add_subdirectory(${PROJECT_DIRECTORY}/examples/gras/mutual_exclusion/simple_token)\r
-add_subdirectory(${PROJECT_DIRECTORY}/examples/gras/mmrpc)\r
-add_subdirectory(${PROJECT_DIRECTORY}/examples/gras/all2all)\r
-add_subdirectory(${PROJECT_DIRECTORY}/examples/gras/pmm)\r
-add_subdirectory(${PROJECT_DIRECTORY}/examples/gras/synchro)\r
-add_subdirectory(${PROJECT_DIRECTORY}/examples/gras/properties)\r
-add_subdirectory(${PROJECT_DIRECTORY}/examples/gras/console)\r
-\r
-add_subdirectory(${PROJECT_DIRECTORY}/examples/msg/properties)\r
-add_subdirectory(${PROJECT_DIRECTORY}/examples/msg/actions)\r
-add_subdirectory(${PROJECT_DIRECTORY}/examples/msg/migration)\r
-add_subdirectory(${PROJECT_DIRECTORY}/examples/msg/sendrecv)\r
-add_subdirectory(${PROJECT_DIRECTORY}/examples/msg/suspend)\r
-add_subdirectory(${PROJECT_DIRECTORY}/examples/msg/parallel_task)\r
-add_subdirectory(${PROJECT_DIRECTORY}/examples/msg/priority)\r
-add_subdirectory(${PROJECT_DIRECTORY}/examples/msg/masterslave)\r
-add_subdirectory(${PROJECT_DIRECTORY}/examples/msg/trace)\r
-add_subdirectory(${PROJECT_DIRECTORY}/examples/msg/tracing)\r
-add_subdirectory(${PROJECT_DIRECTORY}/examples/msg/icomms)\r
+add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/gras/ping)\r
+add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/gras/rpc)\r
+add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/gras/spawn)\r
+add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/gras/timer)\r
+add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/gras/chrono)\r
+add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/gras/mutual_exclusion/simple_token)\r
+add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/gras/mmrpc)\r
+add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/gras/all2all)\r
+add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/gras/pmm)\r
+add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/gras/synchro)\r
+add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/gras/properties)\r
+add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/gras/console)\r
+\r
+add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/msg/properties)\r
+add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/msg/actions)\r
+add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/msg/migration)\r
+add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/msg/sendrecv)\r
+add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/msg/suspend)\r
+add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/msg/parallel_task)\r
+add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/msg/priority)\r
+add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/msg/masterslave)\r
+add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/msg/trace)\r
+add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/msg/tracing)\r
+add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/msg/icomms)\r
 \r
 if(HAVE_MC)\r
-       add_subdirectory(${PROJECT_DIRECTORY}/examples/msg/mc)\r
+       add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/msg/mc)\r
 endif(HAVE_MC)\r
 \r
 if(HAVE_GTNETS)\r
        add_definitions("-lgtnets -L${gtnets_path}/lib -I${gtnets_path}/include/gtnets")\r
-       add_subdirectory(${PROJECT_DIRECTORY}/examples/msg/gtnets)\r
+       add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/msg/gtnets)\r
 endif(HAVE_GTNETS)\r
 \r
-add_subdirectory(${PROJECT_DIRECTORY}/examples/amok/bandwidth)\r
-add_subdirectory(${PROJECT_DIRECTORY}/examples/amok/saturate)\r
-\r
-add_subdirectory(${PROJECT_DIRECTORY}/examples/simdag)\r
-add_subdirectory(${PROJECT_DIRECTORY}/examples/simdag/dax)\r
-if(enable_graphviz)\r
-add_subdirectory(${PROJECT_DIRECTORY}/examples/simdag/dot)\r
-endif(enable_graphviz)\r
-add_subdirectory(${PROJECT_DIRECTORY}/examples/simdag/metaxml)\r
-add_subdirectory(${PROJECT_DIRECTORY}/examples/simdag/properties)\r
-add_subdirectory(${PROJECT_DIRECTORY}/examples/simdag/scheduling)\r
+add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/amok/bandwidth)\r
+add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/amok/saturate)\r
+\r
+add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/simdag)\r
+add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/simdag/dax)\r
+if(HAVE_GRAPHVIZ)\r
+  add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/simdag/dot)\r
+endif(HAVE_GRAPHVIZ)\r
+add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/simdag/metaxml)\r
+add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/simdag/properties)\r
+add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/simdag/scheduling)\r
 if(enable_smpi)\r
-       add_subdirectory(${PROJECT_DIRECTORY}/examples/smpi)\r
+       add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/smpi)\r
 endif(enable_smpi)
\ No newline at end of file