Logo AND Algorithmique Numérique Distribuée

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