Logo AND Algorithmique Numérique Distribuée

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