Logo AND Algorithmique Numérique Distribuée

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