Logo AND Algorithmique Numérique Distribuée

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