Logo AND Algorithmique Numérique Distribuée

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