Logo AND Algorithmique Numérique Distribuée

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