Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Cosmetics.
[simgrid.git] / buildtools / Cmake / MakeExe.cmake
1 ###################################################################\r
2 ### Load all files declaring binaries (tools, examples and tests) #\r
3 ###################################################################\r
4 add_subdirectory(${CMAKE_HOME_DIRECTORY}/tools/gras)\r
5 \r
6 if(WIN32)\r
7         add_custom_target(tesh ALL\r
8         DEPENDS ${CMAKE_HOME_DIRECTORY}/buildtools/Cmake/tesh.pl\r
9         COMMENT "Install ${CMAKE_HOME_DIRECTORY}/buildtools/Cmake/tesh.pl"\r
10         COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_HOME_DIRECTORY}/buildtools/Cmake/tesh.pl ${CMAKE_BINARY_DIR}/bin/tesh\r
11         )\r
12 else(WIN32)\r
13         add_subdirectory(${CMAKE_HOME_DIRECTORY}/tools/tesh)\r
14 endif(WIN32)\r
15 \r
16 add_subdirectory(${CMAKE_HOME_DIRECTORY}/tools/graphicator/)\r
17 \r
18 add_subdirectory(${CMAKE_HOME_DIRECTORY}/testsuite/xbt)\r
19 add_subdirectory(${CMAKE_HOME_DIRECTORY}/testsuite/surf)\r
20 add_subdirectory(${CMAKE_HOME_DIRECTORY}/teshsuite/xbt)\r
21 add_subdirectory(${CMAKE_HOME_DIRECTORY}/teshsuite/gras/datadesc)\r
22 add_subdirectory(${CMAKE_HOME_DIRECTORY}/teshsuite/gras/msg_handle)\r
23 add_subdirectory(${CMAKE_HOME_DIRECTORY}/teshsuite/gras/empty_main)\r
24 add_subdirectory(${CMAKE_HOME_DIRECTORY}/teshsuite/gras/small_sleep)\r
25 add_subdirectory(${CMAKE_HOME_DIRECTORY}/teshsuite/simdag)\r
26 add_subdirectory(${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/network)\r
27 add_subdirectory(${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/network/p2p)\r
28 add_subdirectory(${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/network/mxn)\r
29 add_subdirectory(${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/partask)\r
30 add_subdirectory(${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/platforms)\r
31 add_subdirectory(${CMAKE_HOME_DIRECTORY}/teshsuite/msg)\r
32 \r
33 add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/gras/ping)\r
34 add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/gras/rpc)\r
35 add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/gras/spawn)\r
36 add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/gras/timer)\r
37 add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/gras/chrono)\r
38 add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/gras/mutual_exclusion/simple_token)\r
39 add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/gras/mmrpc)\r
40 add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/gras/all2all)\r
41 add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/gras/pmm)\r
42 add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/gras/synchro)\r
43 add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/gras/properties)\r
44 add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/gras/console)\r
45 \r
46 add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/msg/properties)\r
47 add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/msg/actions)\r
48 add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/msg/migration)\r
49 add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/msg/sendrecv)\r
50 add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/msg/suspend)\r
51 add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/msg/parallel_task)\r
52 add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/msg/priority)\r
53 add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/msg/masterslave)\r
54 add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/msg/trace)\r
55 add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/msg/tracing)\r
56 add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/msg/icomms)\r
57 add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/msg/chord)\r
58 \r
59 if(HAVE_MC)\r
60         add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/msg/mc)\r
61 endif(HAVE_MC)\r
62 \r
63 if(HAVE_GTNETS)\r
64         add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/msg/gtnets)\r
65 endif(HAVE_GTNETS)\r
66 \r
67 add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/amok/bandwidth)\r
68 add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/amok/saturate)\r
69 \r
70 add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/simdag)\r
71 add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/simdag/dax)\r
72 if(HAVE_GRAPHVIZ)\r
73   add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/simdag/dot)\r
74 endif(HAVE_GRAPHVIZ)\r
75 add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/simdag/metaxml)\r
76 add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/simdag/properties)\r
77 add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/simdag/scheduling)\r
78 \r
79 if(enable_smpi)\r
80         add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/smpi)\r
81 endif(enable_smpi)\r