Logo AND Algorithmique Numérique Distribuée

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