Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Started the gpu model by adding the MSG_gpu_task_create function, also added a simple...
[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 add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/msg/gpu)\r
65 \r
66 if(HAVE_TRACING)\r
67     add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/msg/tracing)\r
68 endif(HAVE_TRACING)\r
69 \r
70 if(HAVE_MC)\r
71         add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/msg/mc)\r
72 endif(HAVE_MC)\r
73 \r
74 add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/msg/gtnets)\r
75 \r
76 if(HAVE_NS3)\r
77         add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/msg/ns3)\r
78 endif(HAVE_NS3)\r
79 \r
80 add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/amok/bandwidth)\r
81 add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/amok/saturate)\r
82 \r
83 add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/simdag)\r
84 add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/simdag/dax)\r
85 add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/simdag/goal)\r
86 if(HAVE_GRAPHVIZ)\r
87   add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/simdag/dot)\r
88 endif(HAVE_GRAPHVIZ)\r
89 add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/simdag/metaxml)\r
90 add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/simdag/properties)\r
91 add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/simdag/scheduling)\r
92 \r
93 if(enable_smpi)\r
94         add_subdirectory(${CMAKE_HOME_DIRECTORY}/examples/smpi)\r
95 endif(enable_smpi)\r