Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
3579675e39b4e986f6b2d4b44709a04c8db51fc8
[simgrid.git] / buildtools / Cmake / DefinePackages.cmake
1 ### define source packages
2
3 set(EXTRA_DIST
4   src/amok/Bandwidth/bandwidth_private.h
5   src/amok/amok_modinter.h
6   src/gras/Transport/transport_interface.h
7   src/gras/Virtu/virtu_interface.h
8   src/gras/Virtu/virtu_private.h
9   src/gras/Virtu/virtu_rl.h
10   src/gras/Virtu/virtu_sg.h
11   src/include/mc/datatypes.h
12   src/include/mc/mc.h
13   src/include/simgrid/platf_interface.h
14   src/include/surf/datatypes.h
15   src/include/surf/maxmin.h
16   src/include/surf/random_mgr.h
17   src/include/surf/surf.h
18   src/include/surf/surf_resource.h
19   src/include/surf/surf_resource_lmm.h
20   src/include/surf/surfxml_parse_values.h
21   src/include/surf/trace_mgr.h
22   src/include/xbt/wine_dbghelp.h
23   src/include/xbt/xbt_os_time.h
24   src/mk_supernovae.pl
25   src/msg/msg_mailbox.h
26   src/msg/msg_private.h
27   src/portable.h
28   src/simdag/dax.dtd
29   src/simdag/dax_dtd.c
30   src/simdag/dax_dtd.h
31   src/simdag/private.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_process_private.h
37   src/simix/smx_smurf_private.h
38   src/simix/smx_synchro_private.h
39   src/smpi/README
40   src/smpi/private.h
41   src/smpi/smpi_mpi_dt_private.h
42   src/surf/cpu_ti_private.h
43   src/surf/platf_generator_private.h
44   src/surf/gtnets/gtnets_interface.h
45   src/surf/gtnets/gtnets_simulator.h
46   src/surf/gtnets/gtnets_topology.h
47   src/surf/maxmin_private.h
48   src/surf/network_gtnets_private.h
49   src/surf/network_ns3_private.h
50   src/surf/network_private.h
51   src/surf/ns3/my-point-to-point-helper.h
52   src/surf/ns3/ns3_interface.h
53   src/surf/ns3/ns3_simulator.h
54   src/surf/ns3/red-queue.h
55   src/surf/simgrid.dtd
56   src/surf/simgrid_dtd.c
57   src/surf/storage_private.h
58   src/surf/surf_private.h
59   src/surf/surf_routing_private.h
60   src/surf/surfxml_parse.c
61   src/surf/trace_mgr_private.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/datadesc/ddt_parse.yy.h
71   src/xbt/datadesc/ddt_parse.yy.l
72   src/xbt/dict_private.h
73   src/xbt/ex_interface.h
74   src/xbt/fifo_private.h
75   src/xbt/graph_private.h
76   src/xbt/graphxml.c
77   src/xbt/graphxml.dtd
78   src/xbt/graphxml_parse.c
79   src/xbt/heap_private.h
80   src/xbt/log_private.h
81   src/xbt/mallocator_private.h
82   src/xbt/mmalloc/mfree.c
83   src/xbt/mmalloc/mm.c
84   src/xbt/mmalloc/mm_diff.c
85   src/xbt/mmalloc/mm_legacy.c
86   src/xbt/mmalloc/mm_module.c
87   src/xbt/mmalloc/mmalloc.c
88   src/xbt/mmalloc/mmalloc.info
89   src/xbt/mmalloc/mmalloc.texi
90   src/xbt/mmalloc/mmorecore.c
91   src/xbt/mmalloc/mmprivate.h
92   src/xbt/mmalloc/mmtrace.awk
93   src/xbt/mmalloc/mrealloc.c
94   src/xbt/setset_private.h
95   tools/gras/gras_stub_generator.h
96   tools/tesh/run_context.h
97   tools/tesh/tesh.h
98   )
99
100 set(XBT_RL_SRC
101   src/xbt/xbt_rl_synchro.c
102   src/xbt/xbt_rl_time.c
103   )
104
105 set(XBT_SG_SRC
106   src/xbt/xbt_sg_synchro.c
107   src/xbt/xbt_sg_time.c
108   )
109
110 set(SMPI_SRC
111   src/smpi/smpi_base.c
112   src/smpi/smpi_bench.c
113   src/smpi/smpi_c99.c
114   src/smpi/smpi_coll.c
115   src/smpi/smpi_comm.c
116   src/smpi/smpi_global.c
117   src/smpi/smpi_group.c
118   src/smpi/smpi_mpi.c
119   src/smpi/smpi_mpi_dt.c
120   src/smpi/smpi_pmpi.c
121   src/smpi/smpi_replay.c
122   )
123   
124 if(SMPI_F2C)
125   set(SMPI_SRC
126     ${SMPI_SRC}
127     src/smpi/smpi_f77.c
128     )
129 endif(SMPI_F2C)
130
131 set(GRAS_RL_SRC
132   ${XBT_RL_SRC}
133   src/gras/Msg/rl_msg.c
134   src/gras/Transport/rl_transport.c
135   src/gras/Virtu/rl_dns.c
136   src/gras/Virtu/rl_emul.c
137   src/gras/Virtu/rl_process.c
138   src/gras/rl_stubs.c
139   src/xbt/xbt_os_thread.c
140   )
141
142 set(XBT_SRC
143   src/gras_modinter.h
144   src/xbt/RngStream.c
145   src/xbt/automaton/automaton.c
146   src/xbt/automaton/automatonparse_promela.c
147   src/xbt/config.c
148   src/xbt/cunit.c
149   src/xbt/datadesc/cbps.c
150   src/xbt/datadesc/datadesc.c
151   src/xbt/datadesc/datadesc_interface.h
152   src/xbt/datadesc/datadesc_private.h
153   src/xbt/datadesc/ddt_convert.c
154   src/xbt/datadesc/ddt_create.c
155   src/xbt/datadesc/ddt_exchange.c
156   src/xbt/datadesc/ddt_parse.c
157   src/xbt/datadesc/ddt_parse.yy.c
158   src/xbt/dict.c
159   src/xbt/dict_cursor.c
160   src/xbt/dict_elm.c
161   src/xbt/dict_multi.c
162   src/xbt/dynar.c
163   src/xbt/ex.c
164   src/xbt/fifo.c
165   src/xbt/graph.c
166   src/xbt/graphxml_parse.c
167   src/xbt/heap.c
168   src/xbt/lib.c
169   src/xbt/log.c
170   src/xbt/mallocator.c
171   src/xbt/parmap.c
172   src/xbt/set.c
173   src/xbt/setset.c
174   src/xbt/snprintf.c
175   src/xbt/swag.c
176   src/xbt/xbt_log_appender_file.c
177   src/xbt/xbt_log_layout_format.c
178   src/xbt/xbt_log_layout_simple.c
179   src/xbt/xbt_main.c
180   src/xbt/xbt_matrix.c
181   src/xbt/xbt_os_time.c
182   src/xbt/xbt_peer.c
183   src/xbt/xbt_queue.c
184   src/xbt/xbt_replay.c
185   src/xbt/xbt_sha.c
186   src/xbt/xbt_socket.c
187   src/xbt/xbt_socket_private.h
188   src/xbt/xbt_str.c
189   src/xbt/xbt_strbuff.c
190   src/xbt/xbt_synchro.c
191   src/xbt/xbt_trp_plugin_tcp.c
192   src/xbt/xbt_virtu.c
193   src/xbt_modinter.h
194   )
195
196 if(HAVE_MMAP)
197   set(XBT_SRC
198     ${XBT_SRC}
199     src/xbt/mmalloc/mm.c
200     )
201 endif(HAVE_MMAP)
202
203 set(GTNETS_SRC
204   src/surf/gtnets/gtnets_interface.cc
205   src/surf/gtnets/gtnets_simulator.cc
206   src/surf/gtnets/gtnets_topology.cc
207   src/surf/network_gtnets.c
208   )
209
210 set(NS3_SRC
211   src/surf/network_ns3.c
212   src/surf/ns3/my-point-to-point-helper.cc
213   src/surf/ns3/ns3_interface.cc
214   src/surf/ns3/ns3_simulator.cc
215   src/surf/ns3/red-queue.cc
216   )
217
218 set(SURF_SRC
219   src/surf/cpu_cas01.c
220   src/surf/cpu_ti.c
221   src/surf/fair_bottleneck.c
222   src/surf/lagrange.c
223   src/surf/maxmin.c
224   src/surf/network.c
225   src/surf/network_constant.c
226   src/surf/platf_generator.c
227   src/surf/random_mgr.c
228   src/surf/sg_platf.c
229   src/surf/storage.c
230   src/surf/surf.c
231   src/surf/surf_action.c
232   src/surf/surf_config.c
233   src/surf/surf_model.c
234   src/surf/surf_routing.c
235   src/surf/surf_routing_cluster.c
236   src/surf/surf_routing_dijkstra.c
237   src/surf/surf_routing_floyd.c
238   src/surf/surf_routing_full.c
239   src/surf/surf_routing_generic.c
240   src/surf/surf_routing_none.c
241   src/surf/surf_routing_rulebased.c
242   src/surf/surf_routing_vivaldi.c
243   src/surf/surfxml_parse.c
244   src/surf/surfxml_parseplatf.c
245   src/surf/trace_mgr.c
246   src/surf/workstation.c
247   src/surf/workstation_ptask_L07.c
248   src/xbt/xbt_sg_stubs.c
249   )
250
251 set(SIMIX_SRC
252   src/simix/smx_context.c
253   src/simix/smx_context_base.c
254   src/simix/smx_context_raw.c
255   src/simix/smx_deployment.c
256   src/simix/smx_environment.c
257   src/simix/smx_global.c
258   src/simix/smx_host.c
259   src/simix/smx_io.c
260   src/simix/smx_network.c
261   src/simix/smx_process.c
262   src/simix/smx_smurf.c
263   src/simix/smx_synchro.c
264   src/simix/smx_user.c
265   )
266
267 set(MSG_SRC
268   src/msg/msg_actions.c
269   src/msg/msg_config.c
270   src/msg/msg_deployment.c
271   src/msg/msg_environment.c
272   src/msg/msg_global.c
273   src/msg/msg_gos.c
274   src/msg/msg_host.c
275   src/msg/msg_io.c
276   src/msg/msg_mailbox.c
277   src/msg/msg_process.c
278   src/msg/msg_task.c
279   src/msg/msg_vm.c
280   )
281
282 #* ****************************************************************************************** *#
283 #* TUTORIAL: New API                                                                          *#
284
285 set(MSG_SRC
286   ${MSG_SRC}
287   src/msg/msg_new_api.c
288   )
289 set(EXTRA_DIST
290   ${EXTRA_DIST}
291   src/simix/smx_new_api_private.h
292   )
293 set(SIMIX_SRC
294   ${SIMIX_SRC}
295   src/simix/smx_new_api.c
296 )
297 #* ****************************************************************************************** *#
298
299 #* ****************************************************************************************** *#
300 #* TUTORIAL: New Model                                                                        *#
301
302 set(SURF_SRC
303   ${SURF_SRC}
304   src/surf/new_model.c
305   )
306 set(EXTRA_DIST
307   ${EXTRA_DIST}
308   src/surf/new_model_private.h
309   )
310 #* ****************************************************************************************** *#
311
312 set(SIMDAG_SRC
313   src/simdag/sd_daxloader.c
314   src/simdag/sd_global.c
315   src/simdag/sd_link.c
316   src/simdag/sd_task.c
317   src/simdag/sd_workstation.c
318   )
319 if(HAVE_GRAPHVIZ)
320   set(SIMDAG_SRC
321     ${SIMDAG_SRC} src/simdag/sd_dotloader.c
322     )
323 else(HAVE_GRAPHVIZ)
324   set(EXTRA_DIST
325     ${EXTRA_DIST} src/simdag/sd_dotloader.c
326     )
327 endif(HAVE_GRAPHVIZ)
328
329 set(GRAS_COMMON_SRC
330   src/gras/Msg/gras_msg_exchange.c
331   src/gras/Msg/gras_msg_listener.c
332   src/gras/Msg/gras_msg_mod.c
333   src/gras/Msg/gras_msg_types.c
334   src/gras/Msg/msg_interface.h
335   src/gras/Msg/msg_private.h
336   src/gras/Msg/rpc.c
337   src/gras/Msg/timer.c
338   src/gras/Transport/transport.c
339   src/gras/Transport/transport_plugin_file.c
340   src/gras/Transport/transport_private.h
341   src/gras/Virtu/gras_module.c
342   src/gras/Virtu/process.c
343   src/gras/gras.c
344   )
345
346 set(GRAS_SG_SRC
347   ${XBT_SG_SRC}
348   src/gras/Msg/sg_msg.c
349   src/gras/Transport/sg_transport.c
350   src/gras/Transport/transport_plugin_sg.c
351   src/gras/Virtu/sg_dns.c
352   src/gras/Virtu/sg_emul.c
353   src/gras/Virtu/sg_process.c
354   )
355
356 set(AMOK_SRC
357   src/amok/Bandwidth/bandwidth.c
358   src/amok/Bandwidth/saturate.c
359   src/amok/PeerManagement/peermanagement.c
360   src/amok/amok_base.c
361   )
362
363 set(BINDINGS_SRC
364   src/bindings/bindings_global.c
365   src/bindings/lua/lua_private.h
366   src/bindings/lua/lua_state_cloner.h
367   src/bindings/lua/lua_utils.h
368   src/bindings/lua/simgrid_lua.h
369   )
370
371 set(LUA_SRC
372   src/bindings/lua/lua_comm.c
373   src/bindings/lua/lua_host.c
374   src/bindings/lua/lua_platf.c
375   src/bindings/lua/lua_process.c
376   src/bindings/lua/lua_state_cloner.c
377   src/bindings/lua/lua_stub_generator.c
378   src/bindings/lua/lua_task.c
379   src/bindings/lua/lua_utils.c
380   src/bindings/lua/simgrid_lua.c
381   )
382
383 set(TRACING_SRC
384   src/instr/instr_config.c
385   src/instr/instr_interface.c
386   src/instr/instr_msg_process.c
387   src/instr/instr_msg_task.c
388   src/instr/instr_paje_containers.c
389   src/instr/instr_paje_trace.c
390   src/instr/instr_paje_header.c
391   src/instr/instr_paje_types.c
392   src/instr/instr_paje_values.c
393   src/instr/instr_private.h
394   src/instr/instr_resource_utilization.c
395   src/instr/instr_routing.c
396   src/instr/instr_smpi.c
397   src/instr/instr_surf.c
398   )
399
400 set(JEDULE_SRC
401   include/instr/jedule/jedule_events.h
402   include/instr/jedule/jedule_output.h
403   include/instr/jedule/jedule_platform.h
404   include/instr/jedule/jedule_sd_binding.h
405   src/instr/jedule/jedule_events.c
406   src/instr/jedule/jedule_output.c
407   src/instr/jedule/jedule_platform.c
408   src/instr/jedule/jedule_sd_binding.c
409   )
410
411 set(MC_SRC
412   src/mc/mc_checkpoint.c
413   src/mc/mc_compare.c
414   src/mc/mc_dpor.c
415   src/mc/mc_global.c
416   src/mc/mc_liveness.c
417   src/mc/mc_memory.c
418   src/mc/mc_private.h
419   src/mc/mc_request.c
420   src/mc/mc_state.c
421   src/mc/memory_map.c
422   src/mc/test/heap_comparison.c
423   )
424
425 set(headers_to_install
426   include/amok/bandwidth.h
427   include/amok/peermanagement.h
428   include/gras.h
429   include/gras/emul.h
430   include/gras/messages.h
431   include/gras/module.h
432   include/gras/process.h
433   include/gras/timer.h
434   include/gras/transport.h
435   include/gras/virtu.h
436   include/instr/instr.h
437   include/msg/datatypes.h
438   include/msg/msg.h
439   include/simdag/datatypes.h
440   include/simdag/simdag.h
441   include/simgrid/modelchecker.h
442   include/simgrid/platf.h
443   include/simgrid/platf_generator.h
444   include/simgrid/simix.h
445   include/smpi/mpi.h
446   include/smpi/mpif.h
447   include/smpi/smpi.h
448   include/smpi/smpi_cocci.h
449   include/surf/simgrid_dtd.h
450   include/surf/surf_routing.h
451   include/surf/surfxml_parse.h
452   include/xbt.h
453   include/xbt/RngStream.h
454   include/xbt/asserts.h
455   include/xbt/automaton.h
456   include/xbt/config.h
457   include/xbt/cunit.h
458   include/xbt/datadesc.h
459   include/xbt/dict.h
460   include/xbt/dynar.h
461   include/xbt/ex.h
462   include/xbt/fifo.h
463   include/xbt/file_stat.h
464   include/xbt/function_types.h
465   include/xbt/graph.h
466   include/xbt/graphxml.h
467   include/xbt/graphxml_parse.h
468   include/xbt/hash.h
469   include/xbt/heap.h
470   include/xbt/lib.h
471   include/xbt/log.h
472   include/xbt/mallocator.h
473   include/xbt/matrix.h
474   include/xbt/misc.h
475   include/xbt/mmalloc.h
476   include/xbt/module.h
477   include/xbt/parmap.h
478   include/xbt/peer.h
479   include/xbt/queue.h
480   include/xbt/replay.h
481   include/xbt/set.h
482   include/xbt/setset.h
483   include/xbt/socket.h
484   include/xbt/str.h
485   include/xbt/strbuff.h
486   include/xbt/swag.h
487   include/xbt/synchro.h
488   include/xbt/synchro_core.h
489   include/xbt/sysdep.h
490   include/xbt/time.h
491   include/xbt/virtu.h
492   include/xbt/xbt_os_thread.h
493   )
494 set(source_of_generated_headers
495   include/simgrid_config.h.in
496   include/smpi/smpif.h.in
497   src/context_sysv_config.h.in)
498
499 ### depend of some variables setted upper
500 # -->CONTEXT_THREADS CONTEXT_UCONTEXT
501 if(${CONTEXT_THREADS}) #pthread
502   set(SURF_SRC
503     ${SURF_SRC}
504     src/simix/smx_context_thread.c
505     src/xbt/xbt_os_thread.c
506     )
507 else(${CONTEXT_THREADS}) # NOT pthread
508   set(EXTRA_DIST
509     ${EXTRA_DIST}
510     src/simix/smx_context_thread.c
511     src/xbt/xbt_os_thread.c
512     )
513 endif(${CONTEXT_THREADS})
514
515 if(${CONTEXT_UCONTEXT}) #ucontext
516   set(SURF_SRC
517     ${SURF_SRC}
518     src/simix/smx_context_sysv.c
519     )
520 else(${CONTEXT_UCONTEXT}) # NOT ucontext
521   set(EXTRA_DIST
522     ${EXTRA_DIST}
523     src/simix/smx_context_sysv.c
524     )
525 endif(${CONTEXT_UCONTEXT})
526
527 # -->HAVE_GTNETS
528 if(HAVE_GTNETS)
529   set(GTNETS_USED
530     ${GTNETS_SRC}
531     )
532 else(HAVE_GTNETS)
533   set(GTNETS_USED "")
534   set(EXTRA_DIST
535     ${EXTRA_DIST}
536     ${GTNETS_SRC}
537     )
538 endif(HAVE_GTNETS)
539
540 ### Simgrid Lib sources
541 set(simgrid_sources
542   ${AMOK_SRC}
543   ${BINDINGS_SRC}
544   ${GRAS_COMMON_SRC}
545   ${GRAS_SG_SRC}
546   ${GTNETS_USED}
547   ${JEDULE_SRC}
548   ${MSG_SRC}
549   ${SIMDAG_SRC}
550   ${SIMIX_SRC}
551   ${SURF_SRC}
552   ${TRACING_SRC}
553   ${XBT_SRC}
554   )
555
556 if(HAVE_MC)
557   set(simgrid_sources
558     ${simgrid_sources}
559     ${MC_SRC}
560     )
561 endif(HAVE_MC)
562
563 if(HAVE_NS3)
564   set(simgrid_sources
565     ${simgrid_sources}
566     ${NS3_SRC}
567     )
568 endif(HAVE_NS3)
569
570 # WINDOWS
571 if(WIN32)
572   set(simgrid_sources
573     ${simgrid_sources}
574     src/simix/smx_context_thread.c
575     src/xbt/win32_ucontext.c
576     src/xbt/xbt_os_thread.c
577     )
578 endif(WIN32)
579
580 ### Gras Lib sources
581 set(gras_sources
582   ${AMOK_SRC}
583   ${GRAS_COMMON_SRC}
584   ${GRAS_RL_SRC}
585   ${XBT_SRC}
586   )
587
588 if(${HAVE_LUA})
589   set(simgrid_sources
590     ${simgrid_sources}
591     ${LUA_SRC}
592     )
593 else(${HAVE_LUA})
594   set(EXTRA_DIST
595     ${EXTRA_DIST}
596     ${LUA_SRC}
597     )
598 endif(${HAVE_LUA})
599
600 set(DOC_SOURCES
601   doc/amok_bw_sat.png
602   doc/amok_bw_test.png
603   doc/AS_hierarchy.png
604   doc/gras_comm.png
605   doc/sg_thread_model.fig
606   doc/simix.fig
607   doc/surf_nutshell.fig
608   doc/Doxyfile.in
609   doc/FAQ.doc
610   doc/index.doc
611   doc/simgrid.css
612   doc/SimgridDoxygenLayout.xml
613   doc/triva-graph_configuration.png
614   doc/triva-graph_visualization.png
615   doc/triva-time_interval.png
616   )
617
618 set(DOC_FIGS
619   ${CMAKE_HOME_DIRECTORY}/doc/shared/fig/simgrid_modules.fig
620   ${CMAKE_HOME_DIRECTORY}/doc/shared/fig/simgrid_modules2.fig
621   )
622   
623 set(DOC_SHARED_TAG
624   doc/shared/doxygen/simgriddevguide.tag
625   doc/shared/doxygen/simgridrefguide.tag
626   doc/shared/doxygen/simgriduserguide.tag
627   )
628   
629 set(DOC_TOOLS
630   tools/doxygen/fig2dev_postprocessor.pl
631   tools/doxygen/index_create.pl
632   tools/doxygen/xbt_log_extract_hierarchy.pl
633   )
634
635 set(DOC_GTUT_SRC
636   doc/gtut-files/01-bones.c
637   doc/gtut-files/01-bones.output
638   doc/gtut-files/02-simple.c
639   doc/gtut-files/02-simple.output
640   doc/gtut-files/03-args.c
641   doc/gtut-files/03-args.output
642   doc/gtut-files/03-args.xml
643   doc/gtut-files/04-callback.c
644   doc/gtut-files/04-callback.output
645   doc/gtut-files/05-globals.c
646   doc/gtut-files/05-globals.output
647   doc/gtut-files/06-logs.c
648   doc/gtut-files/06-logs.output
649   doc/gtut-files/06-logs.output.error
650   doc/gtut-files/06-logs.output.fmt
651   doc/gtut-files/06-logs.output.fmt-bt
652   doc/gtut-files/06-logs.output.verbose
653   doc/gtut-files/07-timers.c
654   doc/gtut-files/07-timers.output
655   doc/gtut-files/08-exceptions.c
656   doc/gtut-files/08-exceptions.output
657   doc/gtut-files/09-datatype-dump.c
658   doc/gtut-files/09-simpledata.c
659   doc/gtut-files/09-simpledata.output
660   doc/gtut-files/10-rpc.c
661   doc/gtut-files/10-rpc.output
662   doc/gtut-files/11-explicitwait.c
663   doc/gtut-files/11-explicitwait.output
664   doc/gtut-files/11-explicitwait.xml
665   doc/gtut-files/gtut-platform-3nodes.xml
666   doc/gtut-files/gtut-platform.xml
667   doc/gtut-files/Makefile
668   doc/gtut-files/README
669   doc/gtut-files/test.xml
670 )
671
672 set(USER_GUIDE_SOURCES
673   doc/user_guide/doxygen/footer.html
674   doc/user_guide/doxygen/header.html
675   doc/user_guide/doxygen/UserGuideDoxyfile.in
676   doc/user_guide/doxygen/UserGuideDoxygenLayout.xml
677   doc/user_guide/doxygen/bindings.doc
678   doc/user_guide/doxygen/deployment.doc
679   doc/user_guide/doxygen/examples.doc
680   doc/user_guide/doxygen/index.doc
681   doc/user_guide/doxygen/install.doc
682   doc/user_guide/doxygen/options.doc
683   doc/user_guide/doxygen/platform.doc
684   doc/user_guide/doxygen/pls.doc
685   doc/user_guide/doxygen/tracing.doc
686   doc/user_guide/doxygen/use.doc
687   doc/user_guide/doxygen/stylesheet.css
688   )
689   
690 set(LISTE_GTUT
691     doc/gtut-files/gtut-tour-00-install.doc
692     doc/gtut-files/gtut-tour-01-bones.doc
693     doc/gtut-files/gtut-tour-02-simple.doc
694     doc/gtut-files/gtut-tour-03-args.doc
695     doc/gtut-files/gtut-tour-04-callback.doc
696     doc/gtut-files/gtut-tour-05-globals.doc
697     doc/gtut-files/gtut-tour-06-logs.doc
698     doc/gtut-files/gtut-tour-07-timers.doc
699     doc/gtut-files/gtut-tour-08-exceptions.doc
700     doc/gtut-files/gtut-tour-09-simpledata.doc
701     doc/gtut-files/gtut-tour-10-rpc.doc
702     doc/gtut-files/gtut-tour-11-explicitwait.doc
703     doc/gtut-files/gtut-tour-12-staticstruct.doc
704     doc/gtut-files/gtut-tour-13-pointers.doc
705     doc/gtut-files/gtut-tour-14-dynar.doc
706     doc/gtut-files/gtut-tour-15-manualdatadef.doc
707     doc/gtut-files/gtut-tour-16-exchangecb.doc
708     doc/gtut-files/gtut-tour.doc
709     doc/gtut-files/gtut-tour-recap-messages.doc
710   )
711
712 set(EXTRA_LISTE_GTUT
713     doc/gtut-files/01-bones.output
714     doc/gtut-files/02-simple.output
715     doc/gtut-files/03-args.output
716     doc/gtut-files/03-args.xml
717     doc/gtut-files/04-callback.output
718     doc/gtut-files/05-globals.output
719     doc/gtut-files/06-logs.output
720     doc/gtut-files/06-logs.output.error
721     doc/gtut-files/06-logs.output.fmt
722     doc/gtut-files/06-logs.output.fmt-bt
723     doc/gtut-files/06-logs.output.verbose
724     doc/gtut-files/07-timers.output
725     doc/gtut-files/08-exceptions.output
726     doc/gtut-files/09-simpledata.output
727     doc/gtut-files/10-rpc.output
728     doc/gtut-files/11-explicitwait.output
729     doc/gtut-files/11-explicitwait.xml
730     doc/gtut-files/gtut-howto-design.doc
731     doc/gtut-files/gtut-howto.doc
732     doc/gtut-files/gtut-introduction.doc
733     doc/gtut-files/gtut-main.doc
734     doc/gtut-files/gtut-platform-3nodes.xml
735     doc/gtut-files/gtut-platform.xml
736     doc/gtut-files/README
737     doc/gtut-files/test.xml
738     )
739   
740 set(REF_GUIDE_SOURCES
741   doc/ref_guide/doxygen/footer.html
742   doc/ref_guide/doxygen/header.html
743   doc/ref_guide/doxygen/main.doc
744   doc/ref_guide/doxygen/module-amok.doc
745   doc/ref_guide/doxygen/module-gras.doc
746   doc/ref_guide/doxygen/module-msg.doc
747   doc/ref_guide/doxygen/module-sd.doc
748   doc/ref_guide/doxygen/module-simix.doc
749   doc/ref_guide/doxygen/module-surf.doc
750   doc/ref_guide/doxygen/module-trace.doc
751   doc/ref_guide/doxygen/module-xbt.doc
752   doc/ref_guide/doxygen/modules.doc
753   doc/ref_guide/doxygen/RefGuideDoxyfile.in
754   doc/ref_guide/doxygen/RefGuideDoxygenLayout.xml
755   doc/ref_guide/doxygen/stylesheet.css
756   )
757
758 set(DEV_GUIDE_SOURCES
759   doc/dev_guide/doxygen/footer.html
760   doc/dev_guide/doxygen/header.html
761   doc/dev_guide/doxygen/index.doc
762   doc/dev_guide/doxygen/cmake.doc
763   doc/dev_guide/doxygen/simgrid.doc
764   doc/dev_guide/doxygen/xps.doc
765   doc/dev_guide/doxygen/DevGuideDoxyfile.in
766   doc/dev_guide/doxygen/DevGuideDoxygenLayout.xml
767   doc/dev_guide/doxygen/stylesheet.css
768   )
769
770 set(DOC_IMG
771 ${CMAKE_HOME_DIRECTORY}/doc/webcruft/awstats_logo3.png
772 ${CMAKE_HOME_DIRECTORY}/doc/webcruft/Paje_MSG_screenshot.jpg
773 ${CMAKE_HOME_DIRECTORY}/doc/webcruft/Paje_MSG_screenshot_thn.jpg
774 ${CMAKE_HOME_DIRECTORY}/doc/webcruft/poster_thumbnail.png
775 ${CMAKE_HOME_DIRECTORY}/doc/webcruft/README
776 ${CMAKE_HOME_DIRECTORY}/doc/webcruft/SGicon.gif
777 ${CMAKE_HOME_DIRECTORY}/doc/webcruft/SGicon.icns
778 ${CMAKE_HOME_DIRECTORY}/doc/webcruft/SGicon.ico
779 ${CMAKE_HOME_DIRECTORY}/doc/webcruft/simgrid-101_001.png
780 ${CMAKE_HOME_DIRECTORY}/doc/webcruft/simgrid-101_002.png
781 ${CMAKE_HOME_DIRECTORY}/doc/webcruft/simgrid-101_003.png
782 ${CMAKE_HOME_DIRECTORY}/doc/webcruft/simgrid-101_004.png
783 ${CMAKE_HOME_DIRECTORY}/doc/webcruft/simgrid-101_005.png
784 ${CMAKE_HOME_DIRECTORY}/doc/webcruft/simgrid-101_006.png
785 ${CMAKE_HOME_DIRECTORY}/doc/webcruft/simgrid-101_007.png
786 ${CMAKE_HOME_DIRECTORY}/doc/webcruft/simgrid-101_008.png
787 ${CMAKE_HOME_DIRECTORY}/doc/webcruft/simgrid-101_009.png
788 ${CMAKE_HOME_DIRECTORY}/doc/webcruft/simgrid-101_010.png
789 ${CMAKE_HOME_DIRECTORY}/doc/webcruft/simgrid-101_011.png
790 ${CMAKE_HOME_DIRECTORY}/doc/webcruft/simgrid-101_012.png
791 ${CMAKE_HOME_DIRECTORY}/doc/webcruft/simgrid-101_013.png
792 ${CMAKE_HOME_DIRECTORY}/doc/webcruft/simgrid-101_014.png
793 ${CMAKE_HOME_DIRECTORY}/doc/webcruft/simgrid-101_015.png
794 ${CMAKE_HOME_DIRECTORY}/doc/webcruft/simgrid-101_016.png
795 ${CMAKE_HOME_DIRECTORY}/doc/webcruft/simgrid-101_017.png
796 ${CMAKE_HOME_DIRECTORY}/doc/webcruft/simgrid-101_018.png
797 ${CMAKE_HOME_DIRECTORY}/doc/webcruft/simgrid-101_019.png
798 ${CMAKE_HOME_DIRECTORY}/doc/webcruft/simgrid-101_020.png
799 ${CMAKE_HOME_DIRECTORY}/doc/webcruft/simgrid-101_021.png
800 ${CMAKE_HOME_DIRECTORY}/doc/webcruft/simgrid-101_022.png
801 ${CMAKE_HOME_DIRECTORY}/doc/webcruft/simgrid-101_023.png
802 ${CMAKE_HOME_DIRECTORY}/doc/webcruft/simgrid-101_024.png
803 ${CMAKE_HOME_DIRECTORY}/doc/webcruft/simgrid-101_025.png
804 ${CMAKE_HOME_DIRECTORY}/doc/webcruft/simgrid-101_026.png
805 ${CMAKE_HOME_DIRECTORY}/doc/webcruft/simgrid-101_027.png
806 ${CMAKE_HOME_DIRECTORY}/doc/webcruft/simgrid-101_028.png
807 ${CMAKE_HOME_DIRECTORY}/doc/webcruft/simgrid-101_029.png
808 ${CMAKE_HOME_DIRECTORY}/doc/webcruft/simgrid-101_030.png
809 ${CMAKE_HOME_DIRECTORY}/doc/webcruft/simgrid-101.pdf
810 ${CMAKE_HOME_DIRECTORY}/doc/webcruft/simgrid_logo_2011.gif
811 ${CMAKE_HOME_DIRECTORY}/doc/webcruft/simgrid_logo_2011.png
812 ${CMAKE_HOME_DIRECTORY}/doc/webcruft/simgrid_logo_2011_small.png
813 ${CMAKE_HOME_DIRECTORY}/doc/webcruft/simgrid_logo_win_2011.bmp
814 ${CMAKE_HOME_DIRECTORY}/doc/webcruft/simgrid_logo_win.bmp
815 ${CMAKE_HOME_DIRECTORY}/doc/webcruft/win_install_01.png
816 ${CMAKE_HOME_DIRECTORY}/doc/webcruft/win_install_02.png
817 ${CMAKE_HOME_DIRECTORY}/doc/webcruft/win_install_03.png
818 ${CMAKE_HOME_DIRECTORY}/doc/webcruft/win_install_04.png
819 ${CMAKE_HOME_DIRECTORY}/doc/webcruft/win_install_05.png
820 ${CMAKE_HOME_DIRECTORY}/doc/webcruft/win_install_06.png
821 )
822
823 set(bin_files
824   ${bin_files}
825   src/smpi/smpicc.in
826   src/smpi/smpif2c.in
827   src/smpi/smpiff.in
828   src/smpi/smpirun.in
829   )
830
831 set(txt_files
832   "testsuite/surf/trace_A.txt"
833   "testsuite/surf/trace_A_failure.txt"
834   "testsuite/surf/trace_B.txt"
835   ${txt_files}
836   AUTHORS
837   COPYING
838   ChangeLog
839   INSTALL
840   LICENSE-LGPL-2.1
841   NEWS
842   TODO
843   configure
844   )
845
846 set(EXAMPLES_CMAKEFILES_TXT
847   examples/amok/bandwidth/CMakeLists.txt
848   examples/amok/saturate/CMakeLists.txt
849   examples/gras/all2all/CMakeLists.txt
850   examples/gras/chrono/CMakeLists.txt
851   examples/gras/console/CMakeLists.txt
852   examples/gras/mmrpc/CMakeLists.txt
853   examples/gras/mutual_exclusion/simple_token/CMakeLists.txt
854   examples/gras/ping/CMakeLists.txt
855   examples/gras/pmm/CMakeLists.txt
856   examples/gras/properties/CMakeLists.txt
857   examples/gras/rpc/CMakeLists.txt
858   examples/gras/spawn/CMakeLists.txt
859   examples/gras/synchro/CMakeLists.txt
860   examples/gras/timer/CMakeLists.txt
861   examples/lua/CMakeLists.txt
862   examples/msg/CMakeLists.txt
863   examples/msg/actions/CMakeLists.txt
864   examples/msg/bittorrent/CMakeLists.txt
865   examples/msg/chord/CMakeLists.txt
866   examples/msg/cloud/CMakeLists.txt
867   examples/msg/gpu/CMakeLists.txt
868   examples/msg/gtnets/CMakeLists.txt
869   examples/msg/icomms/CMakeLists.txt
870   examples/msg/io/CMakeLists.txt
871   examples/msg/kademlia/CMakeLists.txt
872   examples/msg/masterslave/CMakeLists.txt
873   examples/msg/mc/CMakeLists.txt
874   examples/msg/migration/CMakeLists.txt
875   examples/msg/ns3/CMakeLists.txt
876   examples/msg/parallel_task/CMakeLists.txt
877   examples/msg/pmm/CMakeLists.txt
878   examples/msg/priority/CMakeLists.txt
879   examples/msg/properties/CMakeLists.txt
880   examples/msg/sendrecv/CMakeLists.txt
881   examples/msg/start_kill_time/CMakeLists.txt
882   examples/msg/suspend/CMakeLists.txt
883   examples/msg/token_ring/CMakeLists.txt
884   examples/msg/tracing/CMakeLists.txt
885   examples/simdag/CMakeLists.txt
886   examples/simdag/dax/CMakeLists.txt
887   examples/simdag/dot/CMakeLists.txt
888   examples/simdag/goal/CMakeLists.txt
889   examples/simdag/metaxml/CMakeLists.txt
890   examples/simdag/properties/CMakeLists.txt
891   examples/simdag/scheduling/CMakeLists.txt
892   examples/smpi/CMakeLists.txt
893   examples/smpi/MM/CMakeLists.txt
894   examples/xbt/CMakeLists.txt
895   )
896
897 set(TESHSUITE_CMAKEFILES_TXT
898   teshsuite/CMakeLists.txt
899   teshsuite/gras/CMakeLists.txt
900   teshsuite/gras/datadesc/CMakeLists.txt
901   teshsuite/gras/empty_main/CMakeLists.txt
902   teshsuite/gras/msg_handle/CMakeLists.txt
903   teshsuite/gras/small_sleep/CMakeLists.txt
904   teshsuite/msg/CMakeLists.txt
905   teshsuite/msg/trace/CMakeLists.txt
906   teshsuite/simdag/CMakeLists.txt
907   teshsuite/simdag/network/CMakeLists.txt
908   teshsuite/simdag/network/mxn/CMakeLists.txt
909   teshsuite/simdag/network/p2p/CMakeLists.txt
910   teshsuite/simdag/partask/CMakeLists.txt
911   teshsuite/simdag/platforms/CMakeLists.txt
912   teshsuite/xbt/CMakeLists.txt
913   teshsuite/smpi/CMakeLists.txt
914   )
915
916 set(TOOLS_CMAKEFILES_TXT
917   tools/CMakeLists.txt
918   tools/graphicator/CMakeLists.txt
919   tools/gras/CMakeLists.txt
920   tools/tesh/CMakeLists.txt
921   )
922
923 set(TESTSUITE_CMAKEFILES_TXT
924   testsuite/surf/CMakeLists.txt
925   testsuite/xbt/CMakeLists.txt
926   )
927
928 set(CMAKE_SOURCE_FILES
929   CMakeLists.txt
930   buildtools/Cmake/AddTests.cmake
931   buildtools/Cmake/CTestConfig.cmake
932   buildtools/Cmake/CompleteInFiles.cmake
933   buildtools/Cmake/DefinePackages.cmake
934   buildtools/Cmake/Distrib.cmake
935   buildtools/Cmake/Flags.cmake
936   buildtools/Cmake/GenerateDoc.cmake
937   buildtools/Cmake/GenerateDocWin.cmake
938   buildtools/Cmake/GenerateRefGuide.cmake
939   buildtools/Cmake/GenerateUserGuide.cmake
940   buildtools/Cmake/GenerateDevGuide.cmake
941   buildtools/Cmake/MaintainerMode.cmake
942   buildtools/Cmake/MakeExe.cmake
943   buildtools/Cmake/MakeLib.cmake
944   buildtools/Cmake/MakeLibWin.cmake
945   buildtools/Cmake/Modules/FindF2c.cmake
946   buildtools/Cmake/Modules/FindGTnets.cmake
947   buildtools/Cmake/Modules/FindGraphviz.cmake
948   buildtools/Cmake/Modules/FindLua51Simgrid.cmake
949   buildtools/Cmake/Modules/FindNS3.cmake
950   buildtools/Cmake/Modules/FindPCRE.cmake
951   buildtools/Cmake/Modules/FindPcreWin.cmake
952   buildtools/Cmake/Modules/FindRngStream.cmake
953   buildtools/Cmake/Modules/FindRubySimgrid.cmake
954   buildtools/Cmake/Modules/FindSimGrid.cmake
955   buildtools/Cmake/Modules/FindValgrind.cmake
956   buildtools/Cmake/Modules/FindLibunwind.cmake
957   buildtools/Cmake/Option.cmake
958   buildtools/Cmake/Pipol.cmake
959   buildtools/Cmake/PrintArgs.cmake
960   buildtools/Cmake/Scripts/Diff.pm
961   buildtools/Cmake/Scripts/Makefile.default
962   buildtools/Cmake/Scripts/SimGrid.packproj
963   buildtools/Cmake/Scripts/generate_memcheck_tests.pl
964   buildtools/Cmake/Scripts/generate_new_tests.pl
965   buildtools/Cmake/Scripts/my_valgrind.pl
966   buildtools/Cmake/Scripts/postinstall.sh
967   buildtools/Cmake/Scripts/preinstall.sh
968   buildtools/Cmake/Scripts/tesh.pl
969   buildtools/Cmake/Scripts/test_java.sh
970   buildtools/Cmake/Scripts/update_tesh.pl
971   buildtools/Cmake/Supernovae.cmake
972   buildtools/Cmake/UnitTesting.cmake
973   buildtools/Cmake/src/gras_config.h.in
974   buildtools/Cmake/src/simgrid.nsi.in
975   buildtools/Cmake/test_prog/prog_AC_CHECK_MCSC.c
976   buildtools/Cmake/test_prog/prog_GRAS_ARCH.c
977   buildtools/Cmake/test_prog/prog_GRAS_CHECK_STRUCT_COMPACTION.c
978   buildtools/Cmake/test_prog/prog_getline.c
979   buildtools/Cmake/test_prog/prog_max_size.c
980   buildtools/Cmake/test_prog/prog_mutex_timedlock.c
981   buildtools/Cmake/test_prog/prog_printf_null.c
982   buildtools/Cmake/test_prog/prog_sem_init.c
983   buildtools/Cmake/test_prog/prog_sem_open.c
984   buildtools/Cmake/test_prog/prog_sem_timedwait.c
985   buildtools/Cmake/test_prog/prog_snprintf.c
986   buildtools/Cmake/test_prog/prog_stackgrowth.c
987   buildtools/Cmake/test_prog/prog_stacksetup.c
988   buildtools/Cmake/test_prog/prog_thread_storage.c
989   buildtools/Cmake/test_prog/prog_va_copy.c
990   buildtools/Cmake/test_prog/prog_vsnprintf.c
991   )
992
993 set(PLATFORMS_EXAMPLES
994   examples/platforms/bypassASroute.xml
995   examples/platforms/bypassRoute.xml
996   examples/platforms/cloud.xml
997   examples/platforms/cluster.xml
998   examples/platforms/cluster_and_one_host.xml
999   examples/platforms/cluster_no_backbone.xml
1000   examples/platforms/cluster_routing_rulebased.xml
1001   examples/platforms/clusters_routing_full.xml
1002   examples/platforms/conf/gridpp_grid_2004.conf
1003   examples/platforms/conf/gridpp_grid_2004.xml
1004   examples/platforms/conf/lcg_sept2004_grid.conf
1005   examples/platforms/conf/lcg_sept2004_grid.xml
1006   examples/platforms/conf/transform_optorsim_platform.pl
1007   examples/platforms/config.xml
1008   examples/platforms/content/storage_content.txt
1009   examples/platforms/data_center.xml
1010   examples/platforms/g5k.xml
1011   examples/platforms/generation_scripts/create_hierarchical_clusters.pl
1012   examples/platforms/generation_scripts/enhancedDTDwithHierarchicalCluster.pl
1013   examples/platforms/generation_scripts/generate_g5k_platform.pl
1014   examples/platforms/generation_scripts/generate_g5k_platform_cabinets.pl
1015   examples/platforms/griffon.xml
1016   examples/platforms/multicore_machine.xml
1017   examples/platforms/prop.xml
1018   examples/platforms/storage.xml
1019   examples/platforms/syscoord/generate_peer_platform.pl
1020   examples/platforms/syscoord/median_harvard.syscoord
1021   examples/platforms/syscoord/median_harvard.xml
1022   examples/platforms/syscoord/median_meridian.syscoord
1023   examples/platforms/syscoord/median_meridian.xml
1024   examples/platforms/syscoord/median_p2psim.syscoord
1025   examples/platforms/syscoord/median_p2psim.xml
1026   examples/platforms/vivaldi.xml
1027   examples/platforms/routing_cluster.xml
1028   examples/platforms/meta_cluster.xml
1029   examples/platforms/two_peers.xml
1030   )
1031
1032 set(generated_src_files
1033   ${CMAKE_HOME_DIRECTORY}/src/xbt/datadesc/ddt_parse.yy.c
1034   src/xbt/automaton/automaton_lexer.yy.c
1035   src/xbt/automaton/parserPromela.tab.cacc
1036   src/xbt/automaton/parserPromela.tab.hacc
1037   )
1038
1039 foreach(file ${generated_src_files})
1040   set_source_files_properties(${file} PROPERTIES GENERATED true)
1041 endforeach(file ${generated_src_files})