Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
split SMPI documentation into a specific file (no real change)
[simgrid.git] / buildtools / Cmake / DefinePackages.cmake
1 ### define source packages
2
3 set(EXTRA_DIST
4   include/xbt/win32_ucontext.h
5   src/bindings/java/MANIFEST.MF
6   src/include/instr/instr_interface.h
7   src/include/mc/datatypes.h
8   src/include/mc/mc.h
9   src/include/simgrid/platf_interface.h
10   src/include/simgrid/sg_config.h
11   src/include/smpi/smpi_interface.h
12   src/include/surf/datatypes.h
13   src/include/surf/maxmin.h
14   src/include/surf/random_mgr.h
15   src/include/surf/surf.h
16   src/include/surf/surf_resource.h
17   src/include/surf/surf_resource_lmm.h
18   src/include/surf/surfxml_parse_values.h
19   src/include/surf/trace_mgr.h
20   src/include/xbt/wine_dbghelp.h
21   src/include/xbt/xbt_os_time.h
22   src/mk_supernovae.pl
23   src/msg/msg_mailbox.h
24   src/msg/msg_private.h
25   src/portable.h
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/smx_host_private.h
31   src/simix/smx_io_private.h
32   src/simix/smx_network_private.h
33   src/simix/smx_private.h
34   src/simix/smx_process_private.h
35   src/simix/smx_smurf_private.h
36   src/simix/smx_synchro_private.h
37   src/smpi/README
38   src/smpi/colls/colls.h
39   src/smpi/private.h
40   src/smpi/smpi_mpi_dt_private.h
41   src/surf/cpu_ti_private.h
42   src/surf/gtnets/gtnets_interface.h
43   src/surf/gtnets/gtnets_simulator.h
44   src/surf/gtnets/gtnets_topology.h
45   src/surf/maxmin_private.h
46   src/surf/network_gtnets_private.h
47   src/surf/network_ns3_private.h
48   src/surf/network_private.h
49   src/surf/ns3/my-point-to-point-helper.h
50   src/surf/ns3/ns3_interface.h
51   src/surf/ns3/ns3_simulator.h
52   src/surf/ns3/red-queue.h
53   src/surf/platf_generator_private.h
54   src/surf/simgrid.dtd
55   src/surf/simgrid_dtd.c
56   src/surf/storage_private.h
57   src/surf/surf_private.h
58   src/surf/surf_routing_private.h
59   src/surf/surfxml_parse.c
60   src/surf/trace_mgr_private.h
61   src/win32/config.h
62   src/xbt/automaton/automaton_lexer.yy.c
63   src/xbt/automaton/parserPromela.lex
64   src/xbt/automaton/parserPromela.tab.cacc
65   src/xbt/automaton/parserPromela.tab.hacc
66   src/xbt/automaton/parserPromela.yacc
67   src/xbt/backtrace_dummy.c
68   src/xbt/backtrace_linux.c
69   src/xbt/backtrace_windows.c
70   src/xbt/dict_private.h
71   src/xbt/ex_interface.h
72   src/xbt/fifo_private.h
73   src/xbt/graph_private.h
74   src/xbt/graphxml.c
75   src/xbt/graphxml.dtd
76   src/xbt/graphxml_parse.c
77   src/xbt/heap_private.h
78   src/xbt/log_private.h
79   src/xbt/mallocator_private.h
80   src/xbt/mmalloc/mfree.c
81   src/xbt/mmalloc/mm.c
82   src/xbt/mmalloc/mm_diff.c
83   src/xbt/mmalloc/mm_legacy.c
84   src/xbt/mmalloc/mm_module.c
85   src/xbt/mmalloc/mmalloc.c
86   src/xbt/mmalloc/mmalloc.info
87   src/xbt/mmalloc/mmalloc.texi
88   src/xbt/mmalloc/mmorecore.c
89   src/xbt/mmalloc/mmprivate.h
90   src/xbt/mmalloc/mmtrace.awk
91   src/xbt/mmalloc/mrealloc.c
92   src/xbt/setset_private.h
93   src/xbt/win32_ucontext.c
94   tools/tesh/run_context.h
95   tools/tesh/tesh.h
96   )
97
98 set(SMPI_SRC
99   src/smpi/instr_smpi.c
100   src/smpi/smpi_base.c
101   src/smpi/smpi_bench.c
102   src/smpi/smpi_c99.c
103   src/smpi/smpi_coll.c
104   src/smpi/smpi_comm.c
105   src/smpi/smpi_global.c
106   src/smpi/smpi_group.c
107   src/smpi/smpi_mpi.c
108   src/smpi/smpi_mpi_dt.c
109   src/smpi/smpi_pmpi.c
110   src/smpi/smpi_replay.c
111   src/smpi/colls/alltoall-2dmesh.c
112   src/smpi/colls/alltoall-3dmesh.c
113   #  src/smpi/colls/alltoall-bruck.c
114   src/smpi/colls/alltoall-pair.c
115   src/smpi/colls/alltoall-pair-light-barrier.c
116   src/smpi/colls/alltoall-pair-mpi-barrier.c
117   src/smpi/colls/alltoall-pair-one-barrier.c
118   src/smpi/colls/alltoall-rdb.c
119   src/smpi/colls/alltoall-ring.c
120   src/smpi/colls/alltoall-ring-light-barrier.c
121   src/smpi/colls/alltoall-ring-mpi-barrier.c
122   src/smpi/colls/alltoall-ring-one-barrier.c
123   src/smpi/colls/alltoall-simple.c
124   )
125
126 if(SMPI_F2C)
127   set(SMPI_SRC
128     ${SMPI_SRC}
129     src/smpi/smpi_f77.c
130     )
131 else()
132   set(EXTRA_DIST
133     ${EXTRA_DIST}
134     src/smpi/smpi_f77.c
135   )
136 endif()
137
138
139 set(XBT_SRC
140   src/xbt/RngStream.c
141   src/xbt/automaton/automaton.c
142   src/xbt/automaton/automatonparse_promela.c
143   src/xbt/config.c
144   src/xbt/cunit.c
145   src/xbt/dict.c
146   src/xbt/dict_cursor.c
147   src/xbt/dict_elm.c
148   src/xbt/dict_multi.c
149   src/xbt/dynar.c
150   src/xbt/ex.c
151   src/xbt/fifo.c
152   src/xbt/graph.c
153   src/xbt/graphxml_parse.c
154   src/xbt/heap.c
155   src/xbt/lib.c
156   src/xbt/log.c
157   src/xbt/mallocator.c
158   src/xbt/parmap.c
159   src/xbt/set.c
160   src/xbt/setset.c
161   src/xbt/snprintf.c
162   src/xbt/swag.c
163   src/xbt/xbt_log_appender_file.c
164   src/xbt/xbt_log_layout_format.c
165   src/xbt/xbt_log_layout_simple.c
166   src/xbt/xbt_main.c
167   src/xbt/xbt_matrix.c
168   src/xbt/xbt_os_time.c
169   src/xbt/xbt_peer.c
170   src/xbt/xbt_queue.c
171   src/xbt/xbt_replay.c
172   src/xbt/xbt_sg_synchro.c
173   src/xbt/xbt_sha.c
174   src/xbt/xbt_str.c
175   src/xbt/xbt_strbuff.c
176   src/xbt/xbt_virtu.c
177   src/xbt_modinter.h
178   )
179
180 if(HAVE_MMAP)
181   set(XBT_SRC
182     ${XBT_SRC}
183     src/xbt/mmalloc/mm.c
184     )
185 endif()
186
187 set(GTNETS_SRC
188   src/surf/gtnets/gtnets_interface.cc
189   src/surf/gtnets/gtnets_simulator.cc
190   src/surf/gtnets/gtnets_topology.cc
191   src/surf/network_gtnets.c
192   )
193
194 set(NS3_SRC
195   src/surf/network_ns3.c
196   src/surf/ns3/my-point-to-point-helper.cc
197   src/surf/ns3/ns3_interface.cc
198   src/surf/ns3/ns3_simulator.cc
199   src/surf/ns3/red-queue.cc
200   )
201
202 set(SURF_SRC
203   src/surf/cpu_cas01.c
204   src/surf/cpu_ti.c
205   src/surf/fair_bottleneck.c
206   src/surf/instr_routing.c
207   src/surf/instr_surf.c
208   src/surf/lagrange.c
209   src/surf/maxmin.c
210   src/surf/network.c
211   src/surf/network_constant.c
212   src/surf/platf_generator.c
213   src/surf/random_mgr.c
214   src/surf/sg_platf.c
215   src/surf/storage.c
216   src/surf/surf.c
217   src/surf/surf_action.c
218   src/surf/surf_model.c
219   src/surf/surf_routing.c
220   src/surf/surf_routing_cluster.c
221   src/surf/surf_routing_dijkstra.c
222   src/surf/surf_routing_floyd.c
223   src/surf/surf_routing_full.c
224   src/surf/surf_routing_generic.c
225   src/surf/surf_routing_none.c
226   src/surf/surf_routing_rulebased.c
227   src/surf/surf_routing_vivaldi.c
228   src/surf/surfxml_parse.c
229   src/surf/surfxml_parseplatf.c
230   src/surf/trace_mgr.c
231   src/surf/workstation.c
232   src/surf/workstation_ptask_L07.c
233   src/xbt/xbt_sg_stubs.c
234   )
235
236 set(SIMIX_SRC
237   src/simix/smx_context.c
238   src/simix/smx_context_base.c
239   src/simix/smx_context_raw.c
240   src/simix/smx_deployment.c
241   src/simix/smx_environment.c
242   src/simix/smx_global.c
243   src/simix/smx_host.c
244   src/simix/smx_io.c
245   src/simix/smx_network.c
246   src/simix/smx_process.c
247   src/simix/smx_smurf.c
248   src/simix/smx_synchro.c
249   src/simix/smx_user.c
250   )
251
252 set(SIMGRID_SRC
253   src/simgrid/sg_config.c
254   )
255
256 set(MSG_SRC
257   src/msg/instr_msg_process.c
258   src/msg/instr_msg_task.c
259   src/msg/instr_msg_vm.c
260   src/msg/msg_actions.c
261   src/msg/msg_deployment.c
262   src/msg/msg_environment.c
263   src/msg/msg_global.c
264   src/msg/msg_gos.c
265   src/msg/msg_host.c
266   src/msg/msg_io.c
267   src/msg/msg_mailbox.c
268   src/msg/msg_process.c
269   src/msg/msg_task.c
270   src/msg/msg_vm.c
271   )
272
273 #* ****************************************************************************************** *#
274 #* TUTORIAL: New API                                                                          *#
275
276 set(MSG_SRC
277   ${MSG_SRC}
278   src/msg/msg_new_api.c
279   )
280 set(EXTRA_DIST
281   ${EXTRA_DIST}
282   src/simix/smx_new_api_private.h
283   )
284 set(SIMIX_SRC
285   ${SIMIX_SRC}
286   src/simix/smx_new_api.c
287 )
288 #* ****************************************************************************************** *#
289
290 #* ****************************************************************************************** *#
291 #* TUTORIAL: New Model                                                                        *#
292
293 set(SURF_SRC
294   ${SURF_SRC}
295   src/surf/new_model.c
296   )
297 set(EXTRA_DIST
298   ${EXTRA_DIST}
299   src/surf/new_model_private.h
300   )
301 #* ****************************************************************************************** *#
302
303 set(SIMDAG_SRC
304   src/simdag/instr_sd_task.c
305   src/simdag/sd_daxloader.c
306   src/simdag/sd_global.c
307   src/simdag/sd_link.c
308   src/simdag/sd_task.c
309   src/simdag/sd_workstation.c
310   )
311 if(HAVE_GRAPHVIZ)
312   set(SIMDAG_SRC
313     ${SIMDAG_SRC} src/simdag/sd_dotloader.c
314     )
315 else()
316   set(EXTRA_DIST
317     ${EXTRA_DIST} src/simdag/sd_dotloader.c
318     )
319 endif()
320
321 set(BINDINGS_SRC
322   src/bindings/bindings_global.c
323   src/bindings/lua/lua_private.h
324   src/bindings/lua/lua_state_cloner.h
325   src/bindings/lua/lua_utils.h
326   src/bindings/lua/simgrid_lua.h
327   )
328
329 set(JMSG_C_SRC
330   src/bindings/java/jmsg.c
331   src/bindings/java/jmsg.h
332   src/bindings/java/jmsg_comm.c
333   src/bindings/java/jmsg_comm.h
334   src/bindings/java/jmsg_file.c
335   src/bindings/java/jmsg_file.h
336   src/bindings/java/jmsg_host.c
337   src/bindings/java/jmsg_host.h
338   src/bindings/java/jmsg_process.c
339   src/bindings/java/jmsg_process.h
340   src/bindings/java/jmsg_rngstream.c
341   src/bindings/java/jmsg_rngstream.h
342   src/bindings/java/jmsg_synchro.c
343   src/bindings/java/jmsg_synchro.h
344   src/bindings/java/jmsg_task.c
345   src/bindings/java/jmsg_task.h
346   src/bindings/java/jmsg_vm.c
347   src/bindings/java/jmsg_vm.h
348   src/bindings/java/jxbt_utilities.c
349   src/bindings/java/jxbt_utilities.h
350   src/bindings/java/smx_context_cojava.c
351   src/bindings/java/smx_context_cojava.h
352   src/bindings/java/smx_context_java.c
353   src/bindings/java/smx_context_java.h
354 )
355
356 set(JMSG_JAVA_SRC
357   src/bindings/java/org/simgrid/msg/Comm.java
358   src/bindings/java/org/simgrid/msg/File.java
359   src/bindings/java/org/simgrid/msg/Host.java
360   src/bindings/java/org/simgrid/msg/HostFailureException.java
361   src/bindings/java/org/simgrid/msg/HostNotFoundException.java
362   src/bindings/java/org/simgrid/msg/JniException.java
363   src/bindings/java/org/simgrid/msg/Msg.java
364   src/bindings/java/org/simgrid/msg/MsgException.java
365   src/bindings/java/org/simgrid/msg/Mutex.java
366   src/bindings/java/org/simgrid/msg/NativeException.java
367   src/bindings/java/org/simgrid/msg/Process.java
368   src/bindings/java/org/simgrid/msg/ProcessKilledError.java
369   src/bindings/java/org/simgrid/msg/ProcessNotFoundException.java
370   src/bindings/java/org/simgrid/msg/RngStream.java
371   src/bindings/java/org/simgrid/msg/Task.java
372   src/bindings/java/org/simgrid/msg/TaskCancelledException.java
373   src/bindings/java/org/simgrid/msg/TimeoutException.java
374   src/bindings/java/org/simgrid/msg/TransferFailureException.java
375   src/bindings/java/org/simgrid/msg/VM.java
376 )
377
378 set(JTRACE_C_SRC
379   src/bindings/java/jtrace.c
380   src/bindings/java/jtrace.h
381 )
382
383 set(JTRACE_JAVA_SRC
384   src/bindings/java/org/simgrid/trace/Trace.java
385 )
386
387 if(HAVE_TRACING)
388   list(APPEND JMSG_C_SRC ${JTRACE_C_SRC})
389   list(APPEND JMSG_JAVA_SRC ${JTRACE_JAVA_SRC})
390 else()
391   list(APPEND EXTRA_DIST ${JTRACE_C_SRC})
392   list(APPEND EXTRA_DIST ${JTRACE_JAVA_SRC})
393 endif()
394
395 set(LUA_SRC
396   src/bindings/lua/lua_comm.c
397   src/bindings/lua/lua_host.c
398   src/bindings/lua/lua_platf.c
399   src/bindings/lua/lua_process.c
400   src/bindings/lua/lua_state_cloner.c
401   src/bindings/lua/lua_task.c
402   src/bindings/lua/lua_utils.c
403   src/bindings/lua/simgrid_lua.c
404   )
405
406 set(TRACING_SRC
407   src/instr/instr_config.c
408   src/instr/instr_interface.c
409   src/instr/instr_paje_containers.c
410   src/instr/instr_paje_trace.c
411   src/instr/instr_paje_header.c
412   src/instr/instr_paje_types.c
413   src/instr/instr_paje_values.c
414   src/instr/instr_private.h
415   src/instr/instr_resource_utilization.c
416   )
417
418 set(JEDULE_SRC
419   include/instr/jedule/jedule_events.h
420   include/instr/jedule/jedule_output.h
421   include/instr/jedule/jedule_platform.h
422   include/instr/jedule/jedule_sd_binding.h
423   src/instr/jedule/jedule_events.c
424   src/instr/jedule/jedule_output.c
425   src/instr/jedule/jedule_platform.c
426   src/instr/jedule/jedule_sd_binding.c
427   )
428
429 set(MC_SRC
430   src/mc/mc_checkpoint.c
431   src/mc/mc_compare.c
432   src/mc/mc_dpor.c
433   src/mc/mc_global.c
434   src/mc/mc_liveness.c
435   src/mc/mc_memory.c
436   src/mc/mc_private.h
437   src/mc/mc_request.c
438   src/mc/mc_state.c
439   src/mc/memory_map.c
440   src/mc/mc_pair.c
441   )
442
443 set(headers_to_install
444   include/instr/instr.h
445   include/msg/datatypes.h
446   include/msg/msg.h
447   include/simdag/datatypes.h
448   include/simdag/simdag.h
449   include/simgrid/modelchecker.h
450   include/simgrid/platf.h
451   include/simgrid/platf_generator.h
452   include/simgrid/simix.h
453   include/smpi/mpi.h
454   include/smpi/mpif.h
455   include/smpi/smpi.h
456   include/smpi/smpi_cocci.h
457   include/smpi/smpi_main.h
458   include/surf/simgrid_dtd.h
459   include/surf/surf_routing.h
460   include/surf/surfxml_parse.h
461   include/xbt.h
462   include/xbt/RngStream.h
463   include/xbt/asserts.h
464   include/xbt/automaton.h
465   include/xbt/config.h
466   include/xbt/cunit.h
467   include/xbt/dict.h
468   include/xbt/dynar.h
469   include/xbt/ex.h
470   include/xbt/fifo.h
471   include/xbt/file_stat.h
472   include/xbt/function_types.h
473   include/xbt/graph.h
474   include/xbt/graphxml.h
475   include/xbt/graphxml_parse.h
476   include/xbt/hash.h
477   include/xbt/heap.h
478   include/xbt/lib.h
479   include/xbt/log.h
480   include/xbt/mallocator.h
481   include/xbt/matrix.h
482   include/xbt/misc.h
483   include/xbt/mmalloc.h
484   include/xbt/module.h
485   include/xbt/parmap.h
486   include/xbt/peer.h
487   include/xbt/queue.h
488   include/xbt/replay.h
489   include/xbt/set.h
490   include/xbt/setset.h
491   include/xbt/str.h
492   include/xbt/strbuff.h
493   include/xbt/swag.h
494   include/xbt/synchro_core.h
495   include/xbt/sysdep.h
496   include/xbt/virtu.h
497   include/xbt/xbt_os_thread.h
498   )
499 set(source_of_generated_headers
500   include/simgrid_config.h.in
501   include/smpi/smpif.h.in
502   src/context_sysv_config.h.in)
503
504 ### depend of some variables setted upper
505 # -->CONTEXT_THREADS CONTEXT_UCONTEXT
506 if(${CONTEXT_THREADS}) #pthread
507   set(SURF_SRC
508     ${SURF_SRC}
509     src/simix/smx_context_thread.c
510     src/xbt/xbt_os_thread.c
511     )
512 else() # NOT pthread
513   set(EXTRA_DIST
514     ${EXTRA_DIST}
515     src/simix/smx_context_thread.c
516     src/xbt/xbt_os_thread.c
517     )
518 endif()
519
520 if(${CONTEXT_UCONTEXT}) #ucontext
521   set(SURF_SRC
522     ${SURF_SRC}
523     src/simix/smx_context_sysv.c
524     )
525 else() # NOT ucontext
526   set(EXTRA_DIST
527     ${EXTRA_DIST}
528     src/simix/smx_context_sysv.c
529     )
530 endif()
531
532 # -->HAVE_GTNETS
533 if(HAVE_GTNETS)
534   set(GTNETS_USED
535     ${GTNETS_SRC}
536     )
537 else()
538   set(GTNETS_USED "")
539   set(EXTRA_DIST
540     ${EXTRA_DIST}
541     ${GTNETS_SRC}
542     )
543 endif()
544
545 ### Simgrid Lib sources
546 set(simgrid_sources
547   ${BINDINGS_SRC}
548   ${GTNETS_USED}
549   ${MSG_SRC}
550   ${SIMDAG_SRC}
551   ${SIMGRID_SRC}
552   ${SIMIX_SRC}
553   ${SURF_SRC}
554   ${TRACING_SRC}
555   ${XBT_SRC}
556   ${SMPI_SRC}
557   )
558
559 if(${HAVE_JEDULE})
560   set(simgrid_sources
561     ${simgrid_sources}
562     ${JEDULE_SRC}
563     )
564 else()
565   set(EXTRA_DIST
566     ${EXTRA_DIST}
567     ${JEDULE_SRC}
568     )
569 endif()
570
571 if(${HAVE_TRACING})
572   set(simgrid_sources
573     ${simgrid_sources}
574     ${TRACING_SRC}
575     )
576 else()
577   set(EXTRA_DIST
578     ${EXTRA_DIST}
579     ${TRACING_SRC}
580     )
581 endif()
582
583 if(HAVE_MC)
584   set(simgrid_sources
585     ${simgrid_sources}
586     ${MC_SRC}
587     )
588 endif()
589
590 if(HAVE_NS3)
591   set(simgrid_sources
592     ${simgrid_sources}
593     ${NS3_SRC}
594     )
595 endif()
596
597 # WINDOWS
598 if(WIN32)
599   set(simgrid_sources
600     ${simgrid_sources}
601     src/simix/smx_context_thread.c
602     src/xbt/win32_ucontext.c
603     src/xbt/xbt_os_thread.c
604     )
605 endif()
606
607 if(${HAVE_LUA})
608   set(simgrid_sources
609     ${simgrid_sources}
610     ${LUA_SRC}
611     )
612 else()
613   set(EXTRA_DIST
614     ${EXTRA_DIST}
615     ${LUA_SRC}
616     )
617 endif()
618
619 set(DOC_SOURCES
620   doc/AS_hierarchy.png
621   doc/Doxyfile.in
622   doc/Layout.xml
623   doc/sg_thread_model.fig
624   doc/simix.fig
625   doc/surf_nutshell.fig
626   doc/triva-graph_configuration.png
627   doc/triva-graph_configuration.svg
628   doc/triva-graph_visualization.png
629   doc/triva-graph_visualization.svg
630   doc/triva-time_interval.png
631   doc/triva-time_interval.svg
632
633   doc/HelloWorld/CMakeLists.txt
634   doc/HelloWorld/HelloWorld.c
635   doc/HelloWorld/FindPcreWin.cmake
636   doc/HelloWorld/README
637
638   doc/doxygen/FAQ.doc
639   doc/doxygen/advanced.doc
640   doc/doxygen/bindings.doc
641   doc/doxygen/contributing.doc
642   doc/doxygen/deployment.doc
643   doc/doxygen/footer.html
644   doc/doxygen/getting_started.doc
645   doc/doxygen/header.html
646   doc/doxygen/help.doc
647   doc/doxygen/index.doc
648   doc/doxygen/inside_autotests.doc
649   doc/doxygen/inside_cmake.doc
650   doc/doxygen/inside_doxygen.doc
651   doc/doxygen/inside_extending.doc
652   doc/doxygen/inside_release.doc
653   doc/doxygen/install.doc
654   doc/doxygen/internals.doc
655   doc/doxygen/introduction.doc
656   doc/doxygen/module-msg.doc
657   doc/doxygen/module-sd.doc
658   doc/doxygen/module-simix.doc
659   doc/doxygen/module-surf.doc
660   doc/doxygen/module-smpi.doc
661   doc/doxygen/module-trace.doc
662   doc/doxygen/module-xbt.doc
663   doc/doxygen/modules.doc
664   doc/doxygen/options.doc
665   doc/doxygen/platform.doc
666   doc/doxygen/pls.doc
667   doc/doxygen/stylesheet.css
668   doc/doxygen/tracing.doc
669   doc/doxygen/use.doc
670
671   doc/msg-tuto-src/deployment0.xml
672   doc/msg-tuto-src/deployment1.xml
673   doc/msg-tuto-src/deployment2.xml
674   doc/msg-tuto-src/deployment3.xml
675   doc/msg-tuto-src/deployment_general.xml
676   doc/msg-tuto-src/masterworker0.c
677   doc/msg-tuto-src/masterworker1.c
678   doc/msg-tuto-src/masterworker2.c
679   doc/msg-tuto-src/masterworker3.c
680   doc/msg-tuto-src/masterworker4.c
681   doc/msg-tuto-src/platforms/cloud.xml
682   doc/msg-tuto-src/platforms/g5k.xml
683   doc/msg-tuto-src/platforms/griffon.xml
684   doc/msg-tuto-src/platforms/peers.xml
685   doc/msg-tuto-src/platforms/platform.xml
686   )
687
688 set(DOC_FIGS
689   ${CMAKE_HOME_DIRECTORY}/doc/shared/fig/simgrid_modules.fig
690   ${CMAKE_HOME_DIRECTORY}/doc/shared/fig/simgrid_modules2.fig
691   )
692
693 set(DOC_TOOLS
694   tools/doxygen/fig2dev_postprocessor.pl
695   tools/doxygen/index_create.pl
696   tools/doxygen/xbt_log_extract_hierarchy.pl
697   )
698
699 # these files get copied automatically to the html documentation
700 set(DOC_IMG
701   ${CMAKE_HOME_DIRECTORY}/doc/simgrid.css
702   ${CMAKE_HOME_DIRECTORY}/doc/sc3-description.png
703   ${CMAKE_HOME_DIRECTORY}/doc/webcruft/Paje_MSG_screenshot.jpg
704   ${CMAKE_HOME_DIRECTORY}/doc/webcruft/Paje_MSG_screenshot_thn.jpg
705   ${CMAKE_HOME_DIRECTORY}/doc/webcruft/SGicon.gif
706   ${CMAKE_HOME_DIRECTORY}/doc/webcruft/SGicon.icns
707   ${CMAKE_HOME_DIRECTORY}/doc/webcruft/SGicon.ico
708   ${CMAKE_HOME_DIRECTORY}/doc/webcruft/awstats_logo3.png
709   ${CMAKE_HOME_DIRECTORY}/doc/webcruft/output.goal.pdf
710   ${CMAKE_HOME_DIRECTORY}/doc/webcruft/poster_thumbnail.png
711   ${CMAKE_HOME_DIRECTORY}/doc/webcruft/simgrid_logo_2011.gif
712   ${CMAKE_HOME_DIRECTORY}/doc/webcruft/simgrid_logo_2011.png
713   ${CMAKE_HOME_DIRECTORY}/doc/webcruft/simgrid_logo_2011_small.png
714   ${CMAKE_HOME_DIRECTORY}/doc/webcruft/simgrid_logo_win.bmp
715   ${CMAKE_HOME_DIRECTORY}/doc/webcruft/simgrid_logo_win_2011.bmp
716   ${CMAKE_HOME_DIRECTORY}/doc/webcruft/win_install_01.png
717   ${CMAKE_HOME_DIRECTORY}/doc/webcruft/win_install_02.png
718   ${CMAKE_HOME_DIRECTORY}/doc/webcruft/win_install_03.png
719   ${CMAKE_HOME_DIRECTORY}/doc/webcruft/win_install_04.png
720   ${CMAKE_HOME_DIRECTORY}/doc/webcruft/win_install_05.png
721   ${CMAKE_HOME_DIRECTORY}/doc/webcruft/win_install_06.png
722   )
723
724 set(bin_files
725   ${bin_files}
726   src/smpi/smpicc.in
727   src/smpi/smpif2c.in
728   src/smpi/smpiff.in
729   src/smpi/smpif90.in
730   src/smpi/smpirun.in
731   )
732
733 set(txt_files
734   ${txt_files}
735   AUTHORS
736   COPYING
737   README
738   README.java
739   ChangeLog
740   ChangeLog.SimGrid-java
741   INSTALL
742   LICENSE-LGPL-2.1
743   NEWS
744   TODO
745   configure
746   )
747
748 set(EXAMPLES_CMAKEFILES_TXT
749   examples/java/CMakeLists.txt
750   examples/java/async/CMakeLists.txt
751   examples/java/bittorrent/CMakeLists.txt
752   examples/java/chord/CMakeLists.txt
753   examples/java/cloud/CMakeLists.txt
754   examples/java/commTime/CMakeLists.txt
755   examples/java/io/CMakeLists.txt
756   examples/java/kademlia/CMakeLists.txt
757   examples/java/master_slave_bypass/CMakeLists.txt
758   examples/java/master_slave_kill/CMakeLists.txt
759   examples/java/masterslave/CMakeLists.txt
760   examples/java/migration/CMakeLists.txt
761   examples/java/mutualExclusion/CMakeLists.txt
762   examples/java/pingPong/CMakeLists.txt
763   examples/java/priority/CMakeLists.txt
764   examples/java/startKillTime/CMakeLists.txt
765   examples/java/suspend/CMakeLists.txt
766   examples/java/tracing/CMakeLists.txt
767   examples/lua/CMakeLists.txt
768   examples/msg/CMakeLists.txt
769   examples/msg/actions/CMakeLists.txt
770   examples/msg/bittorrent/CMakeLists.txt
771   examples/msg/chord/CMakeLists.txt
772   examples/msg/cloud/CMakeLists.txt
773   examples/msg/gpu/CMakeLists.txt
774   examples/msg/gtnets/CMakeLists.txt
775   examples/msg/icomms/CMakeLists.txt
776   examples/msg/io/CMakeLists.txt
777   examples/msg/kademlia/CMakeLists.txt
778   examples/msg/masterslave/CMakeLists.txt
779   examples/msg/mc/CMakeLists.txt
780   examples/msg/migration/CMakeLists.txt
781   examples/msg/ns3/CMakeLists.txt
782   examples/msg/parallel_task/CMakeLists.txt
783   examples/msg/pmm/CMakeLists.txt
784   examples/msg/priority/CMakeLists.txt
785   examples/msg/properties/CMakeLists.txt
786   examples/msg/sendrecv/CMakeLists.txt
787   examples/msg/chainsend/CMakeLists.txt
788   examples/msg/start_kill_time/CMakeLists.txt
789   examples/msg/suspend/CMakeLists.txt
790   examples/msg/token_ring/CMakeLists.txt
791   examples/msg/tracing/CMakeLists.txt
792   examples/simdag/CMakeLists.txt
793   examples/simdag/dax/CMakeLists.txt
794   examples/simdag/dot/CMakeLists.txt
795   examples/simdag/goal/CMakeLists.txt
796   examples/simdag/metaxml/CMakeLists.txt
797   examples/simdag/properties/CMakeLists.txt
798   examples/simdag/scheduling/CMakeLists.txt
799   examples/smpi/CMakeLists.txt
800   examples/smpi/MM/CMakeLists.txt
801   examples/xbt/CMakeLists.txt
802   )
803
804 set(TESHSUITE_CMAKEFILES_TXT
805   teshsuite/CMakeLists.txt
806   teshsuite/msg/CMakeLists.txt
807   teshsuite/msg/trace/CMakeLists.txt
808   teshsuite/simdag/CMakeLists.txt
809   teshsuite/simdag/network/CMakeLists.txt
810   teshsuite/simdag/network/mxn/CMakeLists.txt
811   teshsuite/simdag/network/p2p/CMakeLists.txt
812   teshsuite/simdag/partask/CMakeLists.txt
813   teshsuite/simdag/platforms/CMakeLists.txt
814   teshsuite/simdag/availability/CMakeLists.txt
815   teshsuite/xbt/CMakeLists.txt
816   teshsuite/smpi/CMakeLists.txt
817   teshsuite/smpi/mpich-test/CMakeLists.txt
818   teshsuite/smpi/mpich-test/env/CMakeLists.txt
819   teshsuite/smpi/mpich-test/coll/CMakeLists.txt
820   teshsuite/smpi/mpich-test/context/CMakeLists.txt
821   teshsuite/smpi/mpich-test/profile/CMakeLists.txt
822   teshsuite/smpi/mpich-test/pt2pt/CMakeLists.txt
823   )
824
825 set(TOOLS_CMAKEFILES_TXT
826   tools/CMakeLists.txt
827   tools/graphicator/CMakeLists.txt
828   tools/tesh/CMakeLists.txt
829   )
830
831 set(TESTSUITE_CMAKEFILES_TXT
832   testsuite/surf/CMakeLists.txt
833   testsuite/xbt/CMakeLists.txt
834   )
835
836 set(CMAKE_SOURCE_FILES
837   CMakeLists.txt
838   buildtools/Cmake/AddTests.cmake
839   buildtools/Cmake/CTestConfig.cmake
840   buildtools/Cmake/CTestCustom.cmake
841   buildtools/Cmake/CompleteInFiles.cmake
842   buildtools/Cmake/DefinePackages.cmake
843   buildtools/Cmake/Distrib.cmake
844   buildtools/Cmake/Flags.cmake
845   buildtools/Cmake/GenerateDoc.cmake
846   buildtools/Cmake/GenerateDocWin.cmake
847   buildtools/Cmake/MaintainerMode.cmake
848   buildtools/Cmake/MakeExe.cmake
849   buildtools/Cmake/MakeJava.cmake
850   buildtools/Cmake/MakeLib.cmake
851   buildtools/Cmake/MakeLibWin.cmake
852   buildtools/Cmake/Modules/FindF2c.cmake
853   buildtools/Cmake/Modules/FindGTnets.cmake
854   buildtools/Cmake/Modules/FindGraphviz.cmake
855   buildtools/Cmake/Modules/FindLibunwind.cmake
856   buildtools/Cmake/Modules/FindLua51Simgrid.cmake
857   buildtools/Cmake/Modules/FindNS3.cmake
858   buildtools/Cmake/Modules/FindPCRE.cmake
859   buildtools/Cmake/Modules/FindPcreWin.cmake
860   buildtools/Cmake/Modules/FindRngStream.cmake
861   buildtools/Cmake/Modules/FindRubySimgrid.cmake
862   buildtools/Cmake/Modules/FindSimGrid.cmake
863   buildtools/Cmake/Modules/FindValgrind.cmake
864   buildtools/Cmake/Option.cmake
865   buildtools/Cmake/Pipol.cmake
866   buildtools/Cmake/PrintArgs.cmake
867   buildtools/Cmake/Scripts/Diff.pm
868   buildtools/Cmake/Scripts/Makefile.default
869   buildtools/Cmake/Scripts/SimGrid.packproj
870   buildtools/Cmake/Scripts/generate_memcheck_tests.pl
871   buildtools/Cmake/Scripts/generate_new_tests.pl
872   buildtools/Cmake/Scripts/my_valgrind.pl
873   buildtools/Cmake/Scripts/postinstall.sh
874   buildtools/Cmake/Scripts/preinstall.sh
875   buildtools/Cmake/Scripts/tesh.pl
876   buildtools/Cmake/Scripts/update_tesh.pl
877   buildtools/Cmake/Supernovae.cmake
878   buildtools/Cmake/UnitTesting.cmake
879   buildtools/Cmake/src/internal_config.h.in
880   buildtools/Cmake/src/simgrid.nsi.in
881   buildtools/Cmake/test_prog/prog_AC_CHECK_MCSC.c
882   buildtools/Cmake/test_prog/prog_gnu_dynlinker.c
883   buildtools/Cmake/test_prog/prog_gtnets.cpp
884   buildtools/Cmake/test_prog/prog_mutex_timedlock.c
885   buildtools/Cmake/test_prog/prog_printf_null.c
886   buildtools/Cmake/test_prog/prog_sem_init.c
887   buildtools/Cmake/test_prog/prog_sem_open.c
888   buildtools/Cmake/test_prog/prog_sem_timedwait.c
889   buildtools/Cmake/test_prog/prog_snprintf.c
890   buildtools/Cmake/test_prog/prog_stackgrowth.c
891   buildtools/Cmake/test_prog/prog_stacksetup.c
892   buildtools/Cmake/test_prog/prog_thread_storage.c
893   buildtools/Cmake/test_prog/prog_vsnprintf.c
894   )
895
896 set(PLATFORMS_EXAMPLES
897   examples/platforms/bypassASroute.xml
898   examples/platforms/bypassRoute.xml
899   examples/platforms/cloud.xml
900   examples/platforms/cluster.xml
901   examples/platforms/cluster_and_one_host.xml
902   examples/platforms/cluster_no_backbone.xml
903   examples/platforms/cluster_routing_rulebased.xml
904   examples/platforms/clusters_routing_full.xml
905   examples/platforms/conf/gridpp_grid_2004.conf
906   examples/platforms/conf/gridpp_grid_2004.xml
907   examples/platforms/conf/lcg_sept2004_grid.conf
908   examples/platforms/conf/lcg_sept2004_grid.xml
909   examples/platforms/conf/transform_optorsim_platform.pl
910   examples/platforms/config.xml
911   examples/platforms/content/storage_content.txt
912   examples/platforms/data_center.xml
913   examples/platforms/g5k.xml
914   examples/platforms/generation_scripts/create_hierarchical_clusters.pl
915   examples/platforms/generation_scripts/enhancedDTDwithHierarchicalCluster.pl
916   examples/platforms/generation_scripts/generate_g5k_platform.pl
917   examples/platforms/generation_scripts/generate_g5k_platform_cabinets.pl
918   examples/platforms/griffon.xml
919   examples/platforms/meta_cluster.xml
920   examples/platforms/multicore_machine.xml
921   examples/platforms/prop.xml
922   examples/platforms/routing_cluster.xml
923   examples/platforms/storage.xml
924   examples/platforms/syscoord/generate_peer_platform.pl
925   examples/platforms/syscoord/median_harvard.syscoord
926   examples/platforms/syscoord/median_harvard.xml
927   examples/platforms/syscoord/median_meridian.syscoord
928   examples/platforms/syscoord/median_meridian.xml
929   examples/platforms/syscoord/median_p2psim.syscoord
930   examples/platforms/syscoord/median_p2psim.xml
931   examples/platforms/two_peers.xml
932   examples/platforms/vivaldi.xml
933   )
934
935 set(generated_src_files
936   src/xbt/automaton/automaton_lexer.yy.c
937   src/xbt/automaton/parserPromela.tab.cacc
938   src/xbt/automaton/parserPromela.tab.hacc
939   )
940
941 foreach(file ${generated_src_files})
942   set_source_files_properties(${file} PROPERTIES GENERATED true)
943 endforeach(file ${generated_src_files})