Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
7857a74c1190eae264f811b29ab4876cf475252f
[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 if(NOT WIN32)\r
22 add_subdirectory(${CMAKE_HOME_DIRECTORY}/teshsuite/gras/datadesc)\r
23 endif(NOT WIN32)\r
24 add_subdirectory(${CMAKE_HOME_DIRECTORY}/teshsuite/gras/msg_handle)\r
25 add_subdirectory(${CMAKE_HOME_DIRECTORY}/teshsuite/gras/empty_main)\r
26 add_subdirectory(${CMAKE_HOME_DIRECTORY}/teshsuite/gras/small_sleep)\r
27 add_subdirectory(${CMAKE_HOME_DIRECTORY}/teshsuite/simdag)\r
28 add_subdirectory(${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/network)\r
29 add_subdirectory(${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/network/p2p)\r
30 add_subdirectory(${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/network/mxn)\r
31 add_subdirectory(${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/partask)\r
32 add_subdirectory(${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/platforms)\r
33 add_subdirectory(${CMAKE_HOME_DIRECTORY}/teshsuite/msg)\r
34 \r
35 add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/gras/ping)\r
36 add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/gras/rpc)\r
37 add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/gras/spawn)\r
38 add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/gras/timer)\r
39 add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/gras/chrono)\r
40 add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/gras/mutual_exclusion/simple_token)\r
41 add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/gras/mmrpc)\r
42 add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/gras/all2all)\r
43 add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/gras/pmm)\r
44 add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/gras/synchro)\r
45 add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/gras/properties)\r
46 add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/gras/console)\r
47 add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/msg/properties)\r
48 add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/msg/actions)\r
49 add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/msg/migration)\r
50 add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/msg/sendrecv)\r
51 add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/msg/suspend)\r
52 add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/msg/parallel_task)\r
53 add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/msg/priority)\r
54 add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/msg/masterslave)\r
55 add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/msg/trace)\r
56 add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/msg/icomms)\r
57 add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/msg/chord)\r
58 add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/msg/parallel_contexts)\r
59 add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/msg/token_ring)\r
60 add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/msg/pmm)\r
61 \r
62 add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/msg/io)\r
63 \r
64 if(HAVE_TRACING)\r
65     add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/msg/tracing)\r
66 endif(HAVE_TRACING)\r
67 \r
68 if(HAVE_MC)\r
69         add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/msg/mc)\r
70 endif(HAVE_MC)\r
71 \r
72 add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/msg/gtnets)\r
73 \r
74 if(HAVE_NS3)\r
75         add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/msg/ns3)\r
76 endif(HAVE_NS3)\r
77 \r
78 add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/amok/bandwidth)\r
79 add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/amok/saturate)\r
80 \r
81 add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/simdag)\r
82 add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/simdag/dax)\r
83 add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/simdag/goal)\r
84 if(HAVE_GRAPHVIZ)\r
85   add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/simdag/dot)\r
86 endif(HAVE_GRAPHVIZ)\r
87 add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/simdag/metaxml)\r
88 add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/simdag/properties)\r
89 add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/simdag/scheduling)\r
90 \r
91 if(enable_smpi)\r
92         add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/smpi)\r
93 endif(enable_smpi)\r