Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mc] Move remote_ptr in its own file
[simgrid.git] / tools / cmake / DefinePackages.cmake
1 ### define source packages
2
3 set(EXTRA_DIST
4   src/bindings/java/MANIFEST.in
5   src/include/instr/instr_interface.h
6   src/include/mc/datatypes.h
7   src/include/mc/mc.h
8   src/mc/mc_mmu.h
9   src/mc/PageStore.hpp
10   src/mc/mc_record.h
11   src/include/simgrid/sg_config.h
12   src/include/smpi/smpi_interface.h
13   src/include/surf/datatypes.h
14   src/include/surf/maxmin.h
15   src/include/surf/surf.h
16   src/include/surf/surfxml_parse_values.h
17   src/include/xbt/win32_ucontext.h
18   src/include/xbt/wine_dbghelp.h
19   src/msg/msg_mailbox.h
20   src/msg/msg_private.h
21   src/portable.h
22   src/probes.tp
23   src/simdag/dax.dtd
24   src/simdag/dax_dtd.c
25   src/simdag/dax_dtd.h
26   src/simdag/simdag_private.h
27   src/simix/simcalls.in
28   src/simix/simcalls.py
29   src/simix/popping_private.h
30   src/simix/popping_bodies.cpp
31   src/simix/popping_generated.cpp
32   src/simix/popping_enum.h
33   src/simix/popping_accessors.h
34   src/simix/smx_host_private.h
35   src/simix/smx_io_private.h
36   src/simix/smx_network_private.h
37   src/simix/smx_private.h
38   src/simix/smx_private.hpp
39   src/simix/smx_process_private.h
40   src/simix/smx_synchro_private.h
41   src/smpi/README
42   src/smpi/colls/coll_tuned_topo.h
43   src/smpi/colls/colls.h
44   src/smpi/colls/colls_private.h
45   src/smpi/colls/smpi_mvapich2_selector_stampede.h
46   src/smpi/private.h
47   src/smpi/smpi_mpi_dt_private.h
48   src/surf/cpu_cas01.hpp
49   src/surf/cpu_interface.hpp
50   src/surf/cpu_ti.hpp
51   src/surf/maxmin_private.hpp
52   src/surf/network_cm02.hpp
53   src/surf/network_constant.hpp
54   src/surf/network_interface.hpp
55   src/surf/network_ns3.hpp
56   src/surf/network_smpi.hpp
57   src/surf/network_ib.hpp
58   src/surf/ns3/my-point-to-point-helper.h
59   src/surf/ns3/ns3_interface.h
60   src/surf/ns3/ns3_simulator.h
61   src/surf/ns3/red-queue.h
62   src/surf/plugins/energy.hpp
63   src/surf/xml/simgrid.dtd
64   src/surf/xml/simgrid_dtd.h
65   src/surf/xml/simgrid_dtd.c
66   src/surf/xml/surfxml_sax_cb.cpp
67   src/surf/storage_interface.hpp
68   src/surf/storage_n11.hpp
69   src/surf/surf_interface.hpp
70   src/surf/surf_private.h
71   src/surf/surf_routing.hpp
72   src/surf/surf_routing_cluster.hpp
73   src/surf/surf_routing_cluster_fat_tree.hpp
74   src/surf/surf_routing_cluster_torus.hpp
75   src/surf/surf_routing_dijkstra.hpp
76   src/surf/surf_routing_floyd.hpp
77   src/surf/surf_routing_full.hpp
78   src/surf/surf_routing_RoutedGraph.hpp
79   src/surf/surf_routing_none.hpp
80   src/surf/surf_routing_private.hpp
81   src/surf/surf_routing_vivaldi.hpp
82   src/surf/vm_hl13.hpp
83   src/surf/PropertyHolder.hpp
84   src/surf/virtual_machine.hpp
85   src/surf/host_clm03.hpp
86   src/surf/host_interface.hpp
87   src/surf/ptask_L07.hpp
88   src/xbt/automaton/automaton_lexer.yy.c
89   src/xbt/automaton/parserPromela.lex
90   src/xbt/automaton/parserPromela.tab.cacc
91   src/xbt/automaton/parserPromela.tab.hacc
92   src/xbt/automaton/parserPromela.yacc
93   src/xbt/backtrace_dummy.c
94   src/xbt/backtrace_linux.c
95   src/xbt/backtrace_windows.c
96   src/xbt/dict_private.h
97   src/xbt/ex_interface.h
98   src/xbt/fifo_private.h
99   src/xbt/graph_private.h
100   src/xbt/graphxml.c
101   src/xbt/graphxml.dtd
102   src/xbt/graphxml_parse.c
103   src/xbt/heap_private.h
104   src/xbt/log_private.h
105   src/xbt/mallocator_private.h
106
107   src/xbt/mmalloc/mfree.c
108   src/xbt/mmalloc/mm.c
109   src/xbt/mmalloc/mm_legacy.c
110   src/xbt/mmalloc/mm_module.c
111   src/xbt/mmalloc/mmalloc.c
112   src/xbt/mmalloc/mmalloc.info
113   src/xbt/mmalloc/mmalloc.texi
114   src/xbt/mmalloc/mmorecore.c
115   src/xbt/mmalloc/mmprivate.h
116   src/xbt/mmalloc/mrealloc.c
117   src/xbt/probes.h
118   src/xbt/win32_ucontext.c
119   tools/tesh/generate_tesh
120   tools/lualib.patch
121   examples/smpi/mc/only_send_deterministic.tesh
122   examples/smpi/mc/non_deterministic.tesh
123   )
124
125 set(SMPI_SRC
126   src/smpi/colls/allgather-2dmesh.c
127   src/smpi/colls/allgather-3dmesh.c
128   src/smpi/colls/allgather-GB.c
129   src/smpi/colls/allgather-NTSLR-NB.c
130   src/smpi/colls/allgather-NTSLR.c
131   src/smpi/colls/allgather-SMP-NTS.c
132   src/smpi/colls/allgather-bruck.c
133   src/smpi/colls/allgather-loosely-lr.c
134   src/smpi/colls/allgather-ompi-neighborexchange.c
135   src/smpi/colls/allgather-pair.c
136   src/smpi/colls/allgather-mvapich-smp.c
137   src/smpi/colls/allgather-rdb.c
138   src/smpi/colls/allgather-rhv.c
139   src/smpi/colls/allgather-ring.c
140   src/smpi/colls/allgather-smp-simple.c
141   src/smpi/colls/allgather-spreading-simple.c
142   src/smpi/colls/allgatherv-GB.c
143   src/smpi/colls/allgatherv-mpich-rdb.c
144   src/smpi/colls/allgatherv-mpich-ring.c
145   src/smpi/colls/allgatherv-ompi-bruck.c
146   src/smpi/colls/allgatherv-ompi-neighborexchange.c
147   src/smpi/colls/allgatherv-pair.c
148   src/smpi/colls/allgatherv-ring.c
149   src/smpi/colls/allreduce-lr.c
150   src/smpi/colls/allreduce-ompi-ring-segmented.c
151   src/smpi/colls/allreduce-rab-rdb.c
152   src/smpi/colls/allreduce-rab1.c
153   src/smpi/colls/allreduce-rab2.c
154   src/smpi/colls/allreduce-rdb.c
155   src/smpi/colls/allreduce-redbcast.c
156   src/smpi/colls/allreduce-smp-binomial-pipeline.c
157   src/smpi/colls/allreduce-smp-binomial.c
158   src/smpi/colls/allreduce-smp-rdb.c
159   src/smpi/colls/allreduce-smp-rsag-lr.c
160   src/smpi/colls/allreduce-smp-rsag-rab.c
161   src/smpi/colls/allreduce-smp-rsag.c
162   src/smpi/colls/allreduce-mvapich-rs.c
163   src/smpi/colls/allreduce-mvapich-two-level.c
164   src/smpi/colls/alltoall-2dmesh.c
165   src/smpi/colls/alltoall-3dmesh.c
166 #  src/smpi/colls/alltoall-bruck.c
167   src/smpi/colls/alltoall-pair-light-barrier.c
168   src/smpi/colls/alltoall-pair-mpi-barrier.c
169   src/smpi/colls/alltoall-pair-one-barrier.c
170   src/smpi/colls/alltoall-pair.c
171   src/smpi/colls/alltoall-rdb.c
172   src/smpi/colls/alltoall-ring-light-barrier.c
173   src/smpi/colls/alltoall-ring-mpi-barrier.c
174   src/smpi/colls/alltoall-ring-one-barrier.c
175   src/smpi/colls/alltoall-ring.c
176   src/smpi/colls/alltoall-mvapich-scatter-dest.c
177   src/smpi/colls/alltoallv-bruck.c
178   src/smpi/colls/alltoallv-ompi-basic-linear.c
179   src/smpi/colls/alltoallv-pair-light-barrier.c
180   src/smpi/colls/alltoallv-pair-mpi-barrier.c
181   src/smpi/colls/alltoallv-pair-one-barrier.c
182   src/smpi/colls/alltoallv-pair.c
183   src/smpi/colls/alltoallv-ring-light-barrier.c
184   src/smpi/colls/alltoallv-ring-mpi-barrier.c
185   src/smpi/colls/alltoallv-ring-one-barrier.c
186   src/smpi/colls/alltoallv-ring.c
187   src/smpi/colls/barrier-ompi.c
188   src/smpi/colls/barrier-mvapich2-pair.c
189   src/smpi/colls/bcast-NTSB.c
190   src/smpi/colls/bcast-NTSL-Isend.c
191   src/smpi/colls/bcast-NTSL.c
192   src/smpi/colls/bcast-SMP-binary.c
193   src/smpi/colls/bcast-SMP-binomial.c
194   src/smpi/colls/bcast-SMP-linear.c
195   src/smpi/colls/bcast-arrival-pattern-aware-wait.c
196   src/smpi/colls/bcast-arrival-pattern-aware.c
197   src/smpi/colls/bcast-arrival-scatter.c
198   src/smpi/colls/bcast-binomial-tree.c
199   src/smpi/colls/bcast-flattree-pipeline.c
200   src/smpi/colls/bcast-flattree.c
201   src/smpi/colls/bcast-ompi-pipeline.c
202   src/smpi/colls/bcast-ompi-split-bintree.c
203   src/smpi/colls/bcast-mvapich-smp.c
204   src/smpi/colls/bcast-scatter-LR-allgather.c
205   src/smpi/colls/bcast-scatter-rdb-allgather.c
206   src/smpi/colls/coll_tuned_topo.c
207   src/smpi/colls/colls_global.c
208   src/smpi/colls/gather-ompi.c
209   src/smpi/colls/gather-mvapich.c
210   src/smpi/colls/reduce-NTSL.c
211   src/smpi/colls/reduce-arrival-pattern-aware.c
212   src/smpi/colls/reduce-binomial.c
213   src/smpi/colls/reduce-flat-tree.c
214   src/smpi/colls/reduce-ompi.c
215   src/smpi/colls/reduce-scatter-gather.c
216   src/smpi/colls/reduce_scatter-mpich.c
217   src/smpi/colls/reduce_scatter-ompi.c
218   src/smpi/colls/reduce-mvapich-knomial.c
219   src/smpi/colls/reduce-mvapich-two-level.c
220   src/smpi/colls/reduce-rab.c
221   src/smpi/colls/scatter-ompi.c
222   src/smpi/colls/scatter-mvapich-two-level.c
223   src/smpi/colls/smpi_automatic_selector.c
224   src/smpi/colls/smpi_mpich_selector.c
225   src/smpi/colls/smpi_intel_mpi_selector.c
226   src/smpi/colls/smpi_openmpi_selector.c
227   src/smpi/colls/smpi_mvapich2_selector.c
228   src/smpi/instr_smpi.cpp
229   src/smpi/smpi_base.cpp
230   src/smpi/smpi_bench.cpp
231   src/smpi/smpi_memory.cpp
232   src/smpi/smpi_c99.cpp
233   src/smpi/smpi_coll.cpp
234   src/smpi/smpi_comm.cpp
235   src/smpi/smpi_deployment.cpp
236   src/smpi/smpi_dvfs.cpp
237   src/smpi/smpi_global.cpp
238   src/smpi/smpi_group.cpp
239   src/smpi/smpi_mpi.cpp
240   src/smpi/smpi_mpi_dt.cpp
241   src/smpi/smpi_pmpi.cpp
242   src/smpi/smpi_replay.cpp
243   src/smpi/smpi_rma.cpp
244   src/smpi/smpi_topo.cpp
245   src/smpi/smpi_f77.cpp
246   )
247
248 set(XBT_SRC
249   src/xbt/RngStream.c
250   src/xbt/automaton/automaton.c
251   src/xbt/automaton/automatonparse_promela.c
252   src/xbt/config.c
253   src/xbt/cunit.c
254   src/xbt/dict.c
255   src/xbt/dict_cursor.c
256   src/xbt/dict_elm.c
257   src/xbt/dict_multi.c
258   src/xbt/dynar.c
259   src/xbt/ex.c
260   src/xbt/fifo.c
261   src/xbt/graph.c
262   src/xbt/graphxml_parse.c
263   src/xbt/heap.c
264   src/xbt/lib.c
265   src/xbt/log.c
266   src/xbt/mallocator.c
267   src/xbt/memory_map.cpp
268   src/xbt/memory_map.hpp
269   src/xbt/parmap.cpp
270   src/xbt/snprintf.c
271   src/xbt/string.cpp
272   src/xbt/swag.c
273   src/xbt/xbt_log_appender_file.c
274   src/xbt/xbt_log_layout_format.c
275   src/xbt/xbt_log_layout_simple.c
276   src/xbt/xbt_main.c
277   src/xbt/xbt_matrix.c
278   src/xbt/xbt_os_file.c
279   src/xbt/xbt_os_synchro.c
280   src/xbt/xbt_os_time.c
281   src/xbt/xbt_replay.c
282   src/xbt/xbt_sha.c
283   src/xbt/xbt_str.c
284   src/xbt/xbt_strbuff.c
285   src/xbt/xbt_virtu.c
286   src/xbt_modinter.h
287
288   )
289
290 if(HAVE_MMALLOC)
291   set(XBT_SRC
292     ${XBT_SRC}
293     src/xbt/mmalloc/mm.c
294     )
295 endif()
296
297 set(NS3_SRC
298   src/surf/network_ns3.cpp
299   src/surf/ns3/my-point-to-point-helper.cc
300   src/surf/ns3/ns3_interface.cc
301   src/surf/ns3/ns3_simulator.cc
302   src/surf/ns3/red-queue.cc
303   )
304
305 set(SURF_SRC
306   src/surf/callbacks.h
307   src/surf/callbacks.cpp
308   src/surf/cpu_cas01.cpp
309   src/surf/cpu_interface.cpp
310   src/surf/cpu_ti.cpp
311   src/surf/fair_bottleneck.cpp
312   src/surf/instr_routing.cpp
313   src/surf/instr_surf.cpp
314   src/surf/lagrange.cpp
315   src/surf/maxmin.cpp
316   src/surf/network_cm02.cpp
317   src/surf/network_constant.cpp
318   src/surf/network_interface.cpp
319   src/surf/network_smpi.cpp
320   src/surf/network_ib.cpp
321   src/surf/plugins/energy.cpp
322   src/surf/PropertyHolder.cpp
323   src/surf/sg_platf.cpp
324   src/surf/storage_interface.cpp
325   src/surf/storage_n11.cpp
326   src/surf/surf_c_bindings.cpp
327   src/surf/surf_interface.cpp
328   src/surf/surf_routing.cpp
329   src/surf/surf_routing_cluster.cpp
330   src/surf/surf_routing_cluster_fat_tree.cpp
331   src/surf/surf_routing_cluster_torus.cpp
332   src/surf/surf_routing_dijkstra.cpp
333   src/surf/surf_routing_floyd.cpp
334   src/surf/surf_routing_full.cpp
335   src/surf/surf_routing_RoutedGraph.cpp
336   src/surf/surf_routing_none.cpp
337   src/surf/surf_routing_vivaldi.cpp
338   src/surf/xml/platf.hpp
339   src/surf/xml/platf_private.hpp
340   src/surf/xml/surfxml_sax_cb.cpp
341   src/surf/xml/surfxml_parseplatf.cpp
342   src/surf/trace_mgr.hpp
343   src/surf/trace_mgr.cpp
344   src/surf/vm_hl13.cpp
345   src/surf/virtual_machine.cpp
346   src/surf/host_clm03.cpp
347   src/surf/host_interface.cpp
348   src/surf/ptask_L07.cpp
349   src/xbt/xbt_sg_stubs.c
350   )
351
352 set(SIMIX_GENERATED_SRC
353   src/simix/popping_generated.cpp
354   )
355 set(SIMIX_SRC
356   src/simix/libsmx.cpp
357   src/simix/smx_context.cpp
358   src/simix/Context.cpp
359   src/simix/smx_deployment.cpp
360   src/simix/smx_environment.cpp
361   src/simix/smx_global.cpp
362   src/simix/smx_host.cpp
363   src/simix/smx_io.cpp
364   src/simix/smx_network.cpp
365   src/simix/smx_process.cpp
366   src/simix/smx_synchro.cpp
367   src/simix/smx_vm.cpp
368   src/simix/popping.cpp
369
370   ${SIMIX_GENERATED_SRC}
371   )
372
373 # Don't try to compile our inline assembly with MSVC
374 if (MSVC)
375   set(EXTRA_DIST
376       ${EXTRA_DIST}
377       src/simix/RawContext.cpp)
378 else()
379   set(SIMIX_SRC
380       ${SIMIX_SRC}
381       src/simix/RawContext.cpp)
382 endif()
383
384 # Boost context may not be available
385 if (HAVE_BOOST_CONTEXTS)
386   set(SIMIX_SRC
387       ${SIMIX_SRC}
388       src/simix/BoostContext.hpp
389       src/simix/BoostContext.cpp)
390 else()
391   set(EXTRA_DIST
392       ${EXTRA_DIST}
393       src/simix/BoostContext.hpp
394       src/simix/BoostContext.cpp)
395 endif()
396
397 set(S4U_SRC
398   src/s4u/s4u_actor.cpp
399   src/s4u/s4u_async.cpp
400   src/s4u/s4u_comm.cpp
401   src/s4u/s4u_engine.cpp  
402   src/s4u/s4u_file.cpp  
403   src/s4u/s4u_host.cpp  
404   src/s4u/s4u_mailbox.cpp
405   src/s4u/s4u_storage.cpp
406 )
407
408 set(SIMGRID_SRC
409   src/simgrid/sg_config.c
410   src/simgrid/host.cpp
411   src/simgrid/util.hpp
412   )
413
414 set(MSG_SRC
415   src/msg/instr_msg_process.cpp
416   src/msg/instr_msg_task.cpp
417   src/msg/instr_msg_vm.cpp
418   src/msg/msg_actions.cpp
419   src/msg/msg_deployment.cpp
420   src/msg/msg_environment.cpp
421   src/msg/msg_global.cpp
422   src/msg/msg_gos.cpp
423   src/msg/msg_host.cpp
424   src/msg/msg_io.cpp
425   src/msg/msg_mailbox.cpp
426   src/msg/msg_process.cpp
427   src/msg/msg_synchro.cpp
428   src/msg/msg_task.cpp
429   src/msg/msg_vm.cpp
430   )
431
432 set(SIMDAG_SRC
433   src/simdag/sd_daxloader.cpp
434   src/simdag/sd_global.cpp
435   src/simdag/sd_task.cpp
436   src/simdag/sd_workstation.cpp
437   )
438 if(HAVE_GRAPHVIZ)
439   set(SIMDAG_SRC
440     ${SIMDAG_SRC} src/simdag/sd_dotloader.cpp
441     )
442 else()
443   set(EXTRA_DIST
444     ${EXTRA_DIST} src/simdag/sd_dotloader.cpp
445     )
446 endif()
447
448 set(BINDINGS_SRC
449   src/bindings/bindings_global.c
450   src/bindings/lua/lua_private.h
451   src/bindings/lua/lua_utils.h
452   src/bindings/lua/simgrid_lua.h
453   )
454
455 set(JMSG_C_SRC
456   src/bindings/java/jmsg.cpp
457   src/bindings/java/jmsg.h
458   src/bindings/java/jmsg_as.cpp
459   src/bindings/java/jmsg_as.h
460   src/bindings/java/jmsg_comm.cpp
461   src/bindings/java/jmsg_comm.h
462   src/bindings/java/jmsg_file.cpp
463   src/bindings/java/jmsg_file.h
464   src/bindings/java/jmsg_host.cpp
465   src/bindings/java/jmsg_host.h
466   src/bindings/java/jmsg_process.cpp
467   src/bindings/java/jmsg_process.h
468   src/bindings/java/jmsg_rngstream.cpp
469   src/bindings/java/jmsg_rngstream.h
470   src/bindings/java/jmsg_synchro.cpp
471   src/bindings/java/jmsg_synchro.h
472   src/bindings/java/jmsg_task.cpp
473   src/bindings/java/jmsg_task.h
474   src/bindings/java/jmsg_vm.cpp
475   src/bindings/java/jmsg_vm.h
476   src/bindings/java/jxbt_utilities.cpp
477   src/bindings/java/jxbt_utilities.h
478   src/bindings/java/JavaContext.cpp
479   src/bindings/java/JavaContext.hpp
480   src/bindings/java/jmsg_storage.cpp
481   src/bindings/java/jmsg_storage.h
482 )
483
484 set(JMSG_JAVA_SRC
485   src/bindings/java/org/simgrid/NativeLib.java
486   src/bindings/java/org/simgrid/msg/As.java
487   src/bindings/java/org/simgrid/msg/Comm.java
488   src/bindings/java/org/simgrid/msg/File.java
489   src/bindings/java/org/simgrid/msg/Host.java
490   src/bindings/java/org/simgrid/msg/HostFailureException.java
491   src/bindings/java/org/simgrid/msg/HostNotFoundException.java
492   src/bindings/java/org/simgrid/msg/JniException.java
493   src/bindings/java/org/simgrid/msg/Msg.java
494   src/bindings/java/org/simgrid/msg/MsgException.java
495   src/bindings/java/org/simgrid/msg/Mutex.java
496   src/bindings/java/org/simgrid/msg/NativeException.java
497   src/bindings/java/org/simgrid/msg/Process.java
498   src/bindings/java/org/simgrid/msg/ProcessKilledError.java
499   src/bindings/java/org/simgrid/msg/ProcessNotFoundException.java
500   src/bindings/java/org/simgrid/msg/RngStream.java
501   src/bindings/java/org/simgrid/msg/Semaphore.java
502   src/bindings/java/org/simgrid/msg/Storage.java
503   src/bindings/java/org/simgrid/msg/StorageNotFoundException.java
504   src/bindings/java/org/simgrid/msg/Task.java
505   src/bindings/java/org/simgrid/msg/TaskCancelledException.java
506   src/bindings/java/org/simgrid/msg/TimeoutException.java
507   src/bindings/java/org/simgrid/msg/TransferFailureException.java
508   src/bindings/java/org/simgrid/msg/VM.java
509 )
510
511 set(JTRACE_C_SRC
512   src/bindings/java/jtrace.cpp
513   src/bindings/java/jtrace.h
514 )
515
516 set(JTRACE_JAVA_SRC
517   src/bindings/java/org/simgrid/trace/Trace.java
518 )
519
520 list(APPEND JMSG_C_SRC ${JTRACE_C_SRC})
521 list(APPEND JMSG_JAVA_SRC ${JTRACE_JAVA_SRC})
522
523 set(LUA_SRC
524   src/bindings/lua/lua_host.cpp
525   src/bindings/lua/lua_platf.cpp
526   src/bindings/lua/lua_debug.cpp
527   src/bindings/lua/simgrid_lua.cpp
528   )
529
530 set(TRACING_SRC
531   src/instr/instr_TI_trace.cpp
532   src/instr/instr_config.cpp
533   src/instr/instr_interface.cpp
534   src/instr/instr_paje_containers.cpp
535   src/instr/instr_paje_header.cpp
536   src/instr/instr_paje_trace.cpp
537   src/instr/instr_paje_types.cpp
538   src/instr/instr_paje_values.cpp
539   src/instr/instr_private.h
540   src/instr/instr_resource_utilization.cpp
541   src/instr/instr_trace.cpp
542   )
543
544 set(JEDULE_SRC
545   include/simgrid/jedule/jedule_events.h
546   include/simgrid/jedule/jedule_output.h
547   include/simgrid/jedule/jedule_platform.h
548   include/simgrid/jedule/jedule_sd_binding.h
549   src/instr/jedule/jedule_events.cpp
550   src/instr/jedule/jedule_output.cpp
551   src/instr/jedule/jedule_platform.cpp
552   src/instr/jedule/jedule_sd_binding.cpp
553   )
554
555 set(MC_SRC_BASE
556   src/mc/mc_base.cpp
557   src/mc/mc_base.h
558   src/mc/mc_record.h
559   src/mc/mc_replay.h
560   src/mc/mc_record.cpp
561   src/mc/mc_config.cpp
562   src/mc/mc_global.cpp
563   )
564
565 set(MC_SRC
566   src/mc/remote_ptr.hpp
567   src/mc/AddressSpace.hpp
568   src/mc/AddressSpace.cpp
569   src/mc/Frame.hpp
570   src/mc/Frame.cpp
571   src/mc/ModelChecker.hpp
572   src/mc/ModelChecker.cpp
573   src/mc/ObjectInformation.hpp
574   src/mc/ObjectInformation.cpp
575   src/mc/PageStore.hpp
576   src/mc/PageStore.cpp
577   src/mc/ChunkedData.hpp
578   src/mc/ChunkedData.cpp
579   src/mc/RegionSnapshot.cpp
580   src/mc/RegionSnapshot.hpp
581   src/mc/Type.hpp
582   src/mc/Variable.cpp
583   src/mc/Variable.hpp
584
585   src/mc/mc_forward.h
586   src/mc/mc_forward.hpp
587   src/mc/Process.hpp
588   src/mc/Process.cpp
589   src/mc/mc_unw.h
590   src/mc/mc_unw.cpp
591   src/mc/mc_unw_vmread.cpp
592   src/mc/mc_mmalloc.h
593   src/mc/mc_object_info.h
594   src/mc/mc_checkpoint.cpp
595   src/mc/mc_snapshot.h
596   src/mc/mc_snapshot.cpp
597   src/mc/mc_page_snapshot.cpp
598   src/mc/mc_comm_pattern.h
599   src/mc/mc_comm_pattern.cpp
600   src/mc/mc_comm_determinism.cpp
601   src/mc/mc_compare.cpp
602   src/mc/mc_diff.cpp
603   src/mc/mc_dwarf.hpp
604   src/mc/mc_dwarf.cpp
605   src/mc/mc_dwarf_attrnames.cpp
606   src/mc/DwarfExpression.hpp
607   src/mc/DwarfExpression.cpp
608   src/mc/mc_dwarf_tagnames.cpp
609   src/mc/mc_hash.hpp
610   src/mc/mc_hash.cpp
611   src/mc/mc_ignore.cpp
612   src/mc/mc_ignore.h
613   src/mc/mc_liveness.h
614   src/mc/LocationList.hpp
615   src/mc/LocationList.cpp
616   src/mc/mc_liveness.cpp
617   src/mc/mc_record.cpp
618   src/mc/mc_member.cpp
619   src/mc/mc_memory.cpp
620   src/mc/mc_pair.cpp
621   src/mc/mc_private.h
622   src/mc/mc_request.h
623   src/mc/mc_request.cpp
624   src/mc/mc_safety.h
625   src/mc/mc_safety.cpp
626   src/mc/mc_state.h
627   src/mc/mc_state.cpp
628   src/mc/mc_visited.cpp
629   src/mc/mc_client.cpp
630   src/mc/mc_client_api.cpp
631   src/mc/mc_client.h
632   src/mc/mc_protocol.h
633   src/mc/mc_protocol.cpp
634   src/mc/mc_smx.h
635   src/mc/mc_smx.cpp
636   src/mc/mc_xbt.hpp
637   src/mc/mc_xbt.cpp
638   src/mc/mc_exit.h
639   )
640
641 set(MC_SIMGRID_MC_SRC
642   src/mc/simgrid_mc.cpp)
643
644 set(headers_to_install
645   include/msg/msg.h
646   include/msg/datatypes.h
647   include/simdag/simdag.h
648   include/simdag/datatypes.h
649   
650   include/simgrid/plugins/energy.h
651   include/simgrid/instr.h
652   include/simgrid/msg.h
653   include/simgrid/simdag.h
654   include/simgrid.h
655   include/simgrid/datatypes.h
656   include/simgrid/modelchecker.h
657   include/simgrid/forward.h
658   include/simgrid/simix.h
659   include/simgrid/simix.hpp
660   include/simgrid/host.h
661   include/simgrid/link.h
662   include/simgrid/s4u/forward.hpp
663   include/simgrid/s4u/actor.hpp
664   include/simgrid/s4u/async.hpp
665   include/simgrid/s4u/comm.hpp
666   include/simgrid/s4u/engine.hpp  
667   include/simgrid/s4u/file.hpp  
668   include/simgrid/s4u/host.hpp  
669   include/simgrid/s4u/mailbox.hpp  
670   include/simgrid/s4u/storage.hpp  
671   include/simgrid/s4u.h
672   include/simgrid/plugins/energy.h
673   include/smpi/mpi.h
674   include/smpi/smpi.h
675   include/smpi/smpi_main.h
676   include/surf/surf_routing.h
677   include/xbt.h
678   include/xbt/RngStream.h
679   include/xbt/asserts.h
680   include/xbt/automaton.h
681   include/xbt/automaton.hpp
682   include/xbt/base.h
683   include/xbt/config.h
684   include/xbt/cunit.h
685   include/xbt/dict.h
686   include/xbt/string.hpp
687   include/xbt/signal.hpp
688   include/xbt/dynar.h
689   include/xbt/ex.h
690   include/xbt/fifo.h
691   include/xbt/file.h
692   include/xbt/function_types.h
693   include/xbt/graph.h
694   include/xbt/graphxml.h
695   include/xbt/graphxml_parse.h
696   include/xbt/hash.h
697   include/xbt/heap.h
698   include/xbt/lib.h
699   include/xbt/Extendable.hpp
700   include/xbt/log.h
701   include/xbt/mallocator.h
702   include/xbt/matrix.h
703   include/xbt/misc.h
704   include/xbt/mmalloc.h
705   include/xbt/module.h
706   include/xbt/parmap.h
707   include/xbt/range.hpp
708   include/xbt/replay.h
709   include/xbt/str.h
710   include/xbt/strbuff.h
711   include/xbt/swag.h
712   include/xbt/synchro_core.h
713   include/xbt/sysdep.h
714   include/xbt/virtu.h
715   include/xbt/xbt_os_thread.h
716   include/xbt/xbt_os_time.h
717   )
718 set(source_of_generated_headers
719   include/simgrid_config.h.in
720   include/smpi/mpif.h.in
721   src/context_sysv_config.h.in)
722
723 ### depend of some variables setted upper
724 # -->HAVE_THREAD_CONTEXTS HAVE_UCONTEXT_CONTEXTS
725 if(${HAVE_THREAD_CONTEXTS}) #pthread
726   set(SURF_SRC
727     ${SURF_SRC}
728     src/simix/ThreadContext.cpp
729     src/simix/ThreadContext.hpp
730     )
731 else() # NOT pthread
732   set(EXTRA_DIST
733     ${EXTRA_DIST}
734     src/simix/ThreadContext.cpp
735     src/simix/ThreadContext.hpp
736     )
737 endif()
738
739 if(${HAVE_THREAD_CONTEXTS}) #pthread
740   set(SURF_SRC
741     ${SURF_SRC}
742     src/xbt/xbt_os_thread.c
743     )
744 else() # NOT pthread
745   set(EXTRA_DIST
746     ${EXTRA_DIST}
747     src/xbt/xbt_os_thread.c
748     )
749 endif()
750
751 if(${HAVE_UCONTEXT_CONTEXTS}) #ucontext
752   set(SURF_SRC
753     ${SURF_SRC}
754     src/simix/UContext.cpp
755     )
756 else() # NOT ucontext
757   set(EXTRA_DIST
758     ${EXTRA_DIST}
759     src/simix/UContext.cpp
760     )
761 endif()
762
763 ### Simgrid Lib sources
764 set(simgrid_sources
765   ${BINDINGS_SRC}
766   ${MC_SRC_BASE}
767   ${MSG_SRC}
768   ${S4U_SRC}
769   ${SIMDAG_SRC}
770   ${SIMGRID_SRC}
771   ${SIMIX_SRC}
772   ${SURF_SRC}
773   ${TRACING_SRC}
774   ${XBT_SRC}
775   )
776
777 if(${HAVE_JEDULE})
778   set(simgrid_sources
779     ${simgrid_sources}
780     ${JEDULE_SRC}
781     )
782 else()
783   set(EXTRA_DIST
784     ${EXTRA_DIST}
785     ${JEDULE_SRC}
786     )
787 endif()
788
789 if(enable_smpi)
790   set(simgrid_sources
791     ${simgrid_sources}
792     ${SMPI_SRC}
793     )
794 endif()
795
796 if(HAVE_MC)
797   set(simgrid_sources
798     ${simgrid_sources}
799     ${MC_SRC}
800     )
801 endif()
802
803 if(HAVE_NS3)
804   set(simgrid_sources
805     ${simgrid_sources}
806     ${NS3_SRC}
807     )
808 endif()
809
810 # WINDOWS
811 if(WIN32)
812   set(simgrid_sources
813     ${simgrid_sources}
814     src/simix/ThreadContext.cpp
815     src/simix/ThreadContext.hpp
816     src/xbt/win32_ucontext.c
817     src/xbt/xbt_os_thread.c
818     )
819 endif()
820
821 if(${HAVE_LUA})
822   set(simgrid_sources
823     ${simgrid_sources}
824     ${LUA_SRC}
825     )
826 else()
827   set(EXTRA_DIST
828     ${EXTRA_DIST}
829     ${LUA_SRC}
830     )
831 endif()
832
833 set(DOC_SOURCES
834   doc/Doxyfile.in
835   doc/Layout.xml
836   doc/sg_thread_model.fig
837   doc/simix.fig
838   doc/surf_nutshell.fig
839   doc/surf++.png
840   doc/surf++.pdf
841   doc/surf++.graphml
842   doc/surf++.uml
843   doc/triva-graph_configuration.png
844   doc/triva-graph_configuration.svg
845   doc/triva-graph_visualization.png
846   doc/triva-graph_visualization.svg
847   doc/triva-time_interval.png
848   doc/triva-time_interval.svg
849
850   doc/doxygen/FAQ.doc
851   doc/doxygen/advanced.doc
852   doc/doxygen/bindings.doc
853   doc/doxygen/contributing.doc
854   doc/doxygen/deployment.doc
855   doc/doxygen/footer.html
856   doc/doxygen/getting_started.doc
857   doc/doxygen/getting_started_index.doc
858   doc/doxygen/header.html
859   doc/doxygen/help.doc
860   doc/doxygen/index.doc
861   doc/doxygen/inside.doc
862   doc/doxygen/inside_tests.doc
863   doc/doxygen/inside_cmake.doc
864   doc/doxygen/inside_doxygen.doc
865   doc/doxygen/inside_extending.doc
866   doc/doxygen/inside_release.doc
867   doc/doxygen/install.doc
868   doc/doxygen/tutorial.doc
869   doc/doxygen/module-msg.doc
870   doc/doxygen/module-sd.doc
871   doc/doxygen/module-simix.doc
872   doc/doxygen/module-smpi.doc
873   doc/doxygen/module-surf.doc
874   doc/doxygen/module-trace.doc
875   doc/doxygen/module-xbt.doc
876   doc/doxygen/modules.doc
877   doc/doxygen/options.doc
878   doc/doxygen/platform.doc
879   doc/doxygen/pls.doc
880   doc/doxygen/stylesheet.css
881   doc/doxygen/tracing.doc
882   doc/doxygen/examples.doc
883
884   doc/manpage/smpicc.1
885   doc/manpage/smpicxx.1
886   doc/manpage/smpif90.1
887   doc/manpage/smpiff.1
888   doc/manpage/smpirun.1
889
890   doc/msg-tuto-src/deployment0.xml
891   doc/msg-tuto-src/deployment1.xml
892   doc/msg-tuto-src/deployment2.xml
893   doc/msg-tuto-src/deployment3.xml
894   doc/msg-tuto-src/deployment_general.xml
895   doc/msg-tuto-src/masterworker0.c
896   doc/msg-tuto-src/masterworker1.c
897   doc/msg-tuto-src/masterworker2.c
898   doc/msg-tuto-src/masterworker3.c
899   doc/msg-tuto-src/masterworker4.c
900
901   CITATION.bib
902   )
903
904 set(DOC_FIGS
905   ${CMAKE_HOME_DIRECTORY}/doc/shared/fig/simgrid_modules.fig
906   ${CMAKE_HOME_DIRECTORY}/doc/shared/fig/simgrid_modules2.fig
907   )
908
909 set(DOC_TOOLS
910   tools/doxygen/fig2dev_postprocessor.pl
911   tools/doxygen/index_create.pl
912   tools/doxygen/xbt_log_extract_hierarchy.pl
913   tools/doxygen/list_routing_models_examples.sh
914   )
915
916 # these files get copied automatically to the html documentation
917 set(DOC_IMG
918   ${CMAKE_HOME_DIRECTORY}/doc/sc3-description.png
919   ${CMAKE_HOME_DIRECTORY}/doc/webcruft/AS_hierarchy.png
920   ${CMAKE_HOME_DIRECTORY}/doc/webcruft/Paje_MSG_screenshot.jpg
921   ${CMAKE_HOME_DIRECTORY}/doc/webcruft/Paje_MSG_screenshot_thn.jpg
922   ${CMAKE_HOME_DIRECTORY}/doc/webcruft/SGicon.gif
923   ${CMAKE_HOME_DIRECTORY}/doc/webcruft/SGicon.icns
924   ${CMAKE_HOME_DIRECTORY}/doc/webcruft/SGicon.ico
925   ${CMAKE_HOME_DIRECTORY}/doc/webcruft/awstats_logo3.png
926   ${CMAKE_HOME_DIRECTORY}/doc/webcruft/DiscoveringSimgrid.gif
927   ${CMAKE_HOME_DIRECTORY}/doc/webcruft/output.goal.pdf
928   ${CMAKE_HOME_DIRECTORY}/doc/webcruft/poster_thumbnail.png
929   ${CMAKE_HOME_DIRECTORY}/doc/webcruft/storage_sample_scenario.png
930   ${CMAKE_HOME_DIRECTORY}/doc/webcruft/simgrid_logo_2011.gif
931   ${CMAKE_HOME_DIRECTORY}/doc/webcruft/simgrid_logo_2011.png
932   ${CMAKE_HOME_DIRECTORY}/doc/webcruft/simgrid_logo_2011_small.png
933   ${CMAKE_HOME_DIRECTORY}/doc/webcruft/simgrid_logo_win.bmp
934   ${CMAKE_HOME_DIRECTORY}/doc/webcruft/simgrid_logo_win_2011.bmp
935   ${CMAKE_HOME_DIRECTORY}/doc/webcruft/smpi_simgrid_alltoall_pair_16.png
936   ${CMAKE_HOME_DIRECTORY}/doc/webcruft/smpi_simgrid_alltoall_ring_16.png
937   )
938
939 set(bin_files
940   ${bin_files}
941   src/smpi/smpicc.in
942   src/smpi/smpicxx.in
943   src/smpi/smpiff.in
944   src/smpi/smpif90.in
945   src/smpi/smpirun.in
946   src/smpi/smpitools.sh
947   )
948
949 set(txt_files
950   ${txt_files}
951   .appveyor-download.cmd
952   AUTHORS
953   COPYING
954   README
955   README.java
956   README.lua
957   ChangeLog
958   ChangeLog.SimGrid-java
959   INSTALL
960   LICENSE-LGPL-2.1
961   NEWS
962   TODO
963   )
964
965 set(EXAMPLES_CMAKEFILES_TXT
966   examples/java/async/CMakeLists.txt
967   examples/java/bittorrent/CMakeLists.txt
968   examples/java/chord/CMakeLists.txt
969   examples/java/cloud/CMakeLists.txt
970   examples/java/cloud/energy/CMakeLists.txt
971   examples/java/cloud/migration/CMakeLists.txt
972   examples/java/commTime/CMakeLists.txt
973   examples/java/energy/CMakeLists.txt
974   examples/java/io/CMakeLists.txt
975   examples/java/kademlia/CMakeLists.txt
976   examples/java/master_slave_bypass/CMakeLists.txt
977   examples/java/master_slave_kill/CMakeLists.txt
978   examples/java/masterslave/CMakeLists.txt
979   examples/java/migration/CMakeLists.txt
980   examples/java/mutualExclusion/CMakeLists.txt
981   examples/java/pingPong/CMakeLists.txt
982   examples/java/priority/CMakeLists.txt
983   examples/java/startKillTime/CMakeLists.txt
984   examples/java/suspend/CMakeLists.txt
985   examples/java/tracing/CMakeLists.txt
986   examples/msg/CMakeLists.txt
987   examples/msg/actions/CMakeLists.txt
988   examples/msg/bittorrent/CMakeLists.txt
989   examples/msg/chainsend/CMakeLists.txt
990   examples/msg/chord/CMakeLists.txt
991   examples/msg/cloud/CMakeLists.txt
992   examples/msg/energy/consumption/CMakeLists.txt
993   examples/msg/energy/onoff/CMakeLists.txt
994   examples/msg/energy/pstate/CMakeLists.txt
995   examples/msg/energy/vm/CMakeLists.txt
996   examples/msg/exception/CMakeLists.txt
997   examples/msg/gpu/CMakeLists.txt
998   examples/msg/gtnets/CMakeLists.txt 
999   examples/msg/icomms/CMakeLists.txt
1000   examples/msg/io/CMakeLists.txt
1001   examples/msg/kademlia/CMakeLists.txt
1002   examples/msg/masterslave/CMakeLists.txt
1003   examples/msg/mc/CMakeLists.txt
1004   examples/msg/migration/CMakeLists.txt
1005   examples/msg/ns3/CMakeLists.txt
1006   examples/msg/parallel_task/CMakeLists.txt
1007   examples/msg/pastry/CMakeLists.txt
1008   examples/msg/pmm/CMakeLists.txt
1009   examples/msg/priority/CMakeLists.txt
1010   examples/msg/properties/CMakeLists.txt
1011   examples/msg/semaphores/CMakeLists.txt
1012   examples/msg/sendrecv/CMakeLists.txt
1013   examples/msg/start_kill_time/CMakeLists.txt
1014   examples/msg/suspend/CMakeLists.txt
1015   examples/msg/token_ring/CMakeLists.txt
1016   examples/msg/tracing/CMakeLists.txt
1017   examples/s4u/CMakeLists.txt
1018   examples/s4u/basic/CMakeLists.txt
1019   examples/s4u/io/CMakeLists.txt
1020   examples/simdag/CMakeLists.txt
1021   examples/simdag/dax/CMakeLists.txt
1022   examples/simdag/dot/CMakeLists.txt
1023   examples/simdag/goal/CMakeLists.txt
1024   examples/simdag/io/CMakeLists.txt
1025   examples/simdag/properties/CMakeLists.txt
1026   examples/simdag/scheduling/CMakeLists.txt
1027   examples/smpi/CMakeLists.txt
1028   examples/smpi/smpi_msg_masterslave/CMakeLists.txt
1029   examples/smpi/replay_multiple/CMakeLists.txt
1030   examples/smpi/MM/CMakeLists.txt
1031   examples/smpi/energy/CMakeLists.txt
1032   examples/smpi/energy/f77/CMakeLists.txt
1033   examples/smpi/energy/f90/CMakeLists.txt
1034   )
1035
1036 set(TESHSUITE_CMAKEFILES_TXT
1037   teshsuite/bug-17132/CMakeLists.txt
1038   teshsuite/java/semaphore/CMakeLists.txt
1039   teshsuite/java/sleep_host_off/CMakeLists.txt
1040   teshsuite/lua/lua_platforms.tesh
1041   teshsuite/mc/CMakeLists.txt
1042   teshsuite/mc/dwarf/CMakeLists.txt
1043   teshsuite/mc/dwarf_expression/CMakeLists.txt
1044   teshsuite/mc/replay/CMakeLists.txt
1045   teshsuite/msg/get_sender/CMakeLists.txt
1046   teshsuite/msg/host_on_off/CMakeLists.txt
1047   teshsuite/msg/host_on_off_processes/CMakeLists.txt
1048   teshsuite/msg/pid/CMakeLists.txt
1049   teshsuite/msg/process/CMakeLists.txt
1050   teshsuite/msg/process_join/CMakeLists.txt
1051   teshsuite/msg/storage/CMakeLists.txt
1052   teshsuite/msg/task_destroy_cancel/CMakeLists.txt
1053   teshsuite/msg/trace/CMakeLists.txt
1054   teshsuite/simdag/availability/CMakeLists.txt
1055   teshsuite/simdag/basic/CMakeLists.txt
1056   teshsuite/simdag/incomplete/CMakeLists.txt
1057   teshsuite/simdag/network/mxn/CMakeLists.txt
1058   teshsuite/simdag/network/p2p/CMakeLists.txt
1059   teshsuite/simdag/partask/CMakeLists.txt
1060   teshsuite/simdag/platforms/CMakeLists.txt
1061   teshsuite/simix/check_defaults/CMakeLists.txt
1062   teshsuite/simix/stack_overflow/CMakeLists.txt
1063   teshsuite/smpi/CMakeLists.txt
1064   teshsuite/smpi/allgather/CMakeLists.txt
1065   teshsuite/smpi/allgatherv/CMakeLists.txt
1066   teshsuite/smpi/allreduce/CMakeLists.txt
1067   teshsuite/smpi/alltoall/CMakeLists.txt
1068   teshsuite/smpi/alltoallv/CMakeLists.txt
1069   teshsuite/smpi/barrier/CMakeLists.txt
1070   teshsuite/smpi/bcast/CMakeLists.txt
1071   teshsuite/smpi/compute/CMakeLists.txt
1072   teshsuite/smpi/gather/CMakeLists.txt
1073   teshsuite/smpi/hvector/CMakeLists.txt
1074   teshsuite/smpi/indexed/CMakeLists.txt
1075   teshsuite/smpi/pingpong/CMakeLists.txt
1076   teshsuite/smpi/reduce/CMakeLists.txt
1077   teshsuite/smpi/scatter/CMakeLists.txt
1078   teshsuite/smpi/shared/CMakeLists.txt
1079   teshsuite/smpi/struct/CMakeLists.txt
1080   teshsuite/smpi/vector/CMakeLists.txt
1081   teshsuite/smpi/isp/umpire/CMakeLists.txt
1082   teshsuite/smpi/mpich3-test/CMakeLists.txt
1083   teshsuite/smpi/mpich3-test/attr/CMakeLists.txt
1084   teshsuite/smpi/mpich3-test/coll/CMakeLists.txt
1085   teshsuite/smpi/mpich3-test/comm/CMakeLists.txt
1086   teshsuite/smpi/mpich3-test/datatype/CMakeLists.txt
1087 #  teshsuite/smpi/mpich3-test/f77/attr/CMakeLists.txt
1088   teshsuite/smpi/mpich3-test/f77/coll/CMakeLists.txt
1089   teshsuite/smpi/mpich3-test/f77/info/CMakeLists.txt
1090   teshsuite/smpi/mpich3-test/f77/comm/CMakeLists.txt
1091   teshsuite/smpi/mpich3-test/f77/datatype/CMakeLists.txt
1092   teshsuite/smpi/mpich3-test/f77/ext/CMakeLists.txt
1093   teshsuite/smpi/mpich3-test/f77/init/CMakeLists.txt
1094   teshsuite/smpi/mpich3-test/f77/pt2pt/CMakeLists.txt
1095   teshsuite/smpi/mpich3-test/f77/util/CMakeLists.txt
1096   teshsuite/smpi/mpich3-test/f77/topo/CMakeLists.txt
1097   teshsuite/smpi/mpich3-test/f77/rma/CMakeLists.txt
1098   teshsuite/smpi/mpich3-test/f90/coll/CMakeLists.txt
1099   teshsuite/smpi/mpich3-test/f90/datatype/CMakeLists.txt
1100   teshsuite/smpi/mpich3-test/f90/info/CMakeLists.txt
1101   teshsuite/smpi/mpich3-test/f90/init/CMakeLists.txt
1102   teshsuite/smpi/mpich3-test/f90/pt2pt/CMakeLists.txt
1103   teshsuite/smpi/mpich3-test/f90/util/CMakeLists.txt
1104   teshsuite/smpi/mpich3-test/f90/rma/CMakeLists.txt
1105   teshsuite/smpi/mpich3-test/group/CMakeLists.txt
1106   teshsuite/smpi/mpich3-test/info/CMakeLists.txt
1107   teshsuite/smpi/mpich3-test/init/CMakeLists.txt
1108   teshsuite/smpi/mpich3-test/pt2pt/CMakeLists.txt
1109   teshsuite/smpi/mpich3-test/topo/CMakeLists.txt
1110   teshsuite/smpi/mpich3-test/rma/CMakeLists.txt
1111   teshsuite/smpi/mpich3-test/perf/CMakeLists.txt
1112   teshsuite/surf/lmm_usage/CMakeLists.txt
1113   teshsuite/surf/maxmin_bench/CMakeLists.txt
1114   teshsuite/surf/surf_usage/CMakeLists.txt
1115   teshsuite/surf/trace_usage/CMakeLists.txt
1116   teshsuite/xbt/graphxml_usage/CMakeLists.txt
1117   teshsuite/xbt/heap_bench/CMakeLists.txt
1118   teshsuite/xbt/log_large/CMakeLists.txt
1119   teshsuite/xbt/log_usage/CMakeLists.txt
1120   teshsuite/xbt/mallocator/CMakeLists.txt
1121   teshsuite/xbt/mmalloc/CMakeLists.txt
1122   teshsuite/xbt/parallel_log/CMakeLists.txt
1123   teshsuite/xbt/parmap_bench/CMakeLists.txt
1124   teshsuite/xbt/parmap_test/CMakeLists.txt
1125   )
1126
1127 set(TOOLS_CMAKEFILES_TXT
1128   tools/CMakeLists.txt
1129   tools/graphicator/CMakeLists.txt
1130   tools/tesh/CMakeLists.txt
1131   )
1132
1133 set(CMAKE_SOURCE_FILES
1134   CMakeLists.txt
1135   tools/cmake/Tests.cmake
1136   tools/cmake/CTestConfig.cmake
1137   tools/cmake/CTestCustom.cmake
1138   tools/cmake/DefinePackages.cmake
1139   tools/cmake/Distrib.cmake
1140   tools/cmake/GCCFlags.cmake
1141   tools/cmake/Documentation.cmake
1142   tools/cmake/MaintainerMode.cmake
1143   tools/cmake/MakeExe.cmake
1144   tools/cmake/Java.cmake
1145   tools/cmake/MakeLib.cmake
1146   tools/cmake/MakeLibWin.cmake
1147   tools/cmake/Modules/FindGFortran.cmake
1148   tools/cmake/Modules/FindGraphviz.cmake
1149   tools/cmake/Modules/FindLibSigc++.cmake
1150   tools/cmake/Modules/FindLibdw.cmake
1151   tools/cmake/Modules/FindLibunwind.cmake
1152   tools/cmake/Modules/FindLuaSimgrid.cmake
1153   tools/cmake/Modules/FindNS3.cmake
1154   tools/cmake/Modules/FindRngStream.cmake
1155   tools/cmake/Modules/FindRubySimgrid.cmake
1156   tools/cmake/Modules/FindSimGrid.cmake
1157   tools/cmake/Modules/FindValgrind.cmake
1158   tools/cmake/Option.cmake
1159   tools/cmake/PrintArgs.cmake
1160   tools/cmake/scripts/IPC/Run.pm
1161   tools/cmake/scripts/IPC/Run/Debug.pm
1162   tools/cmake/scripts/IPC/Run/IO.pm
1163   tools/cmake/scripts/IPC/Run/Timer.pm
1164   tools/cmake/scripts/IPC/Run/Win32Helper.pm
1165   tools/cmake/scripts/IPC/Run/Win32IO.pm
1166   tools/cmake/scripts/IPC/Run/Win32Pump.pm
1167   tools/cmake/scripts/Diff.pm
1168   tools/cmake/scripts/generate_memcheck_tests.pl
1169   tools/cmake/scripts/my_valgrind.pl
1170   tools/cmake/scripts/update_tesh.pl
1171   tools/cmake/UnitTesting.cmake
1172   tools/cmake/src/internal_config.h.in
1173   tools/cmake/test_prog/prog_AC_CHECK_MCSC.c
1174   tools/cmake/test_prog/prog_gnu_dynlinker.c
1175   tools/cmake/test_prog/prog_mutex_timedlock.c
1176   tools/cmake/test_prog/prog_sem_init.c
1177   tools/cmake/test_prog/prog_sem_open.c
1178   tools/cmake/test_prog/prog_sem_timedwait.c
1179   tools/cmake/test_prog/prog_snprintf.c
1180   tools/cmake/test_prog/prog_stackgrowth.c
1181   tools/cmake/test_prog/prog_stacksetup.c
1182   tools/cmake/test_prog/prog_thread_storage.c
1183   tools/cmake/test_prog/prog_vsnprintf.c
1184   tools/cmake/cross-mingw.cmake
1185   tools/stack-cleaner/as
1186   tools/stack-cleaner/cc
1187   tools/stack-cleaner/c++
1188   tools/stack-cleaner/fortran
1189   tools/stack-cleaner/clean-stack-filter
1190   tools/stack-cleaner/compiler-wrapper
1191   tools/stack-cleaner/README
1192   )
1193
1194 set(PLATFORMS_EXAMPLES
1195   examples/platforms/2clusters.xml
1196   examples/platforms/bypassASroute.xml
1197   examples/platforms/bypassRoute.xml
1198   examples/platforms/cloud.xml
1199   examples/platforms/cluster.xml
1200   examples/platforms/cluster_and_one_host.xml
1201   examples/platforms/cluster_prototype.lua
1202   examples/platforms/cluster_no_backbone.xml
1203   examples/platforms/clusters_routing_full.xml
1204   examples/platforms/crosstraffic.xml
1205   examples/platforms/conf/gridpp_grid_2004.conf
1206   examples/platforms/conf/lcg_sept2004_grid.conf
1207   examples/platforms/conf/transform_optorsim_platform.pl
1208   examples/platforms/config.xml
1209   examples/platforms/config_tracing.xml
1210   examples/platforms/trace/faulty_host.trace
1211   examples/platforms/trace/jupiter_speed.trace
1212   examples/platforms/trace/link1_avail.trace
1213   examples/platforms/trace/linkBandwidth7.bw
1214   examples/platforms/trace/trace_A_failure.txt
1215   examples/platforms/trace/trace_A.txt
1216   examples/platforms/trace/trace_B.txt
1217   examples/platforms/data_center.xml
1218   examples/platforms/energy_platform.xml
1219   examples/platforms/faulty_host.xml
1220   examples/platforms/fat_tree_cluster.xml
1221   examples/platforms/g5k.xml
1222   examples/platforms/griffon.xml
1223   examples/platforms/meta_cluster.xml
1224   examples/platforms/multicore_machine.xml
1225   examples/platforms/platform.xml
1226   examples/platforms/prop.xml
1227   examples/platforms/routing_cluster.xml
1228   examples/platforms/routing_cluster.lua
1229   examples/platforms/routing_none.xml
1230   examples/platforms/simulacrum_7_hosts.xml
1231   examples/platforms/storage/content/small_content.txt
1232   examples/platforms/storage/content/storage_content.txt
1233   examples/platforms/storage/content/win_storage_content.txt
1234   examples/platforms/storage/remote_io.xml
1235   examples/platforms/storage/storage.xml
1236   examples/platforms/small_platform.xml
1237   examples/platforms/small_platform.lua
1238   examples/platforms/small_platform_fatpipe.xml
1239   examples/platforms/small_platform_one_link_routes.xml
1240   examples/platforms/small_platform_with_failures.xml
1241   examples/platforms/small_platform_with_routers.xml
1242   examples/platforms/syscoord/generate_peer_platform.pl
1243   examples/platforms/syscoord/median_harvard.syscoord
1244   examples/platforms/syscoord/median_harvard.xml
1245   examples/platforms/syscoord/median_meridian.syscoord
1246   examples/platforms/syscoord/median_meridian.xml
1247   examples/platforms/syscoord/median_p2psim.syscoord
1248   examples/platforms/syscoord/median_p2psim.xml
1249   examples/platforms/torus_cluster.xml
1250   examples/platforms/two_hosts.xml
1251   examples/platforms/two_hosts_platform.xml
1252   examples/platforms/two_hosts_platform_shared.xml
1253   examples/platforms/two_hosts_platform_with_availability.xml
1254   examples/platforms/two_hosts_platform_with_availability_included.xml
1255   examples/platforms/two_peers.xml
1256   examples/platforms/vivaldi.xml
1257   )
1258
1259 set(generated_src_files
1260   src/xbt/automaton/automaton_lexer.yy.c
1261   src/xbt/automaton/parserPromela.tab.cacc
1262   src/xbt/automaton/parserPromela.tab.hacc
1263   )
1264
1265 if(enable_ust)
1266   set(simgrid_sources ${CMAKE_CURRENT_BINARY_DIR}/src/simgrid_ust.c ${simgrid_sources})
1267   ADD_CUSTOM_COMMAND(
1268     OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/src/simgrid_ust.c
1269     OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/src/simgrid_ust.h
1270     COMMAND lttng-gen-tp -o simgrid_ust.c -o simgrid_ust.h ${CMAKE_CURRENT_SOURCE_DIR}/src/probes.tp
1271     WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/src/
1272     DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/src/probes.tp
1273   )
1274   ADD_CUSTOM_TARGET(simgrid_ust
1275     DEPENDS
1276       ${CMAKE_CURRENT_BINARY_DIR}/src/simgrid_ust.c
1277       ${CMAKE_CURRENT_BINARY_DIR}/src/simgrid_ust.h
1278     )
1279   set(generated_src_files ${CMAKE_CURRENT_BINARY_DIR}/src/simgrid_ust.c ${generated_src_files})
1280 endif()
1281
1282 foreach(file ${generated_src_files})
1283   set_source_files_properties(${file} PROPERTIES GENERATED true)
1284 endforeach(file ${generated_src_files})