Logo AND Algorithmique Numérique Distribuée

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