Logo AND Algorithmique Numérique Distribuée

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