Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
8489356eb2fbc93c828f973ad1dea0588c001a2f
[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/sd_daxloader.c
291   src/simdag/sd_global.c
292   src/simdag/sd_link.c
293   src/simdag/sd_task.c
294   src/simdag/sd_workstation.c
295   )
296 if(HAVE_GRAPHVIZ)
297   set(SIMDAG_SRC
298     ${SIMDAG_SRC} src/simdag/sd_dotloader.c
299     )
300 else()
301   set(EXTRA_DIST
302     ${EXTRA_DIST} src/simdag/sd_dotloader.c
303     )
304 endif()
305
306 set(BINDINGS_SRC
307   src/bindings/bindings_global.c
308   src/bindings/lua/lua_private.h
309   src/bindings/lua/lua_state_cloner.h
310   src/bindings/lua/lua_utils.h
311   src/bindings/lua/simgrid_lua.h
312   )
313
314 set(JMSG_C_SRC
315   src/bindings/java/jmsg.c
316   src/bindings/java/jmsg.h
317   src/bindings/java/jmsg_comm.c
318   src/bindings/java/jmsg_comm.h
319   src/bindings/java/jmsg_file.c
320   src/bindings/java/jmsg_file.h
321   src/bindings/java/jmsg_host.c
322   src/bindings/java/jmsg_host.h
323   src/bindings/java/jmsg_process.c
324   src/bindings/java/jmsg_process.h
325   src/bindings/java/jmsg_rngstream.c
326   src/bindings/java/jmsg_rngstream.h
327   src/bindings/java/jmsg_synchro.c
328   src/bindings/java/jmsg_synchro.h
329   src/bindings/java/jmsg_task.c
330   src/bindings/java/jmsg_task.h
331   src/bindings/java/jmsg_vm.c
332   src/bindings/java/jmsg_vm.h
333   src/bindings/java/jxbt_utilities.c
334   src/bindings/java/jxbt_utilities.h
335   src/bindings/java/smx_context_cojava.c
336   src/bindings/java/smx_context_cojava.h
337   src/bindings/java/smx_context_java.c
338   src/bindings/java/smx_context_java.h
339 )
340
341 set(JMSG_JAVA_SRC
342   src/bindings/java/org/simgrid/msg/Comm.java
343   src/bindings/java/org/simgrid/msg/File.java
344   src/bindings/java/org/simgrid/msg/Host.java
345   src/bindings/java/org/simgrid/msg/HostFailureException.java
346   src/bindings/java/org/simgrid/msg/HostNotFoundException.java
347   src/bindings/java/org/simgrid/msg/JniException.java
348   src/bindings/java/org/simgrid/msg/Msg.java
349   src/bindings/java/org/simgrid/msg/MsgException.java
350   src/bindings/java/org/simgrid/msg/Mutex.java
351   src/bindings/java/org/simgrid/msg/NativeException.java
352   src/bindings/java/org/simgrid/msg/Process.java
353   src/bindings/java/org/simgrid/msg/ProcessKilledError.java
354   src/bindings/java/org/simgrid/msg/ProcessNotFoundException.java
355   src/bindings/java/org/simgrid/msg/RngStream.java
356   src/bindings/java/org/simgrid/msg/Task.java
357   src/bindings/java/org/simgrid/msg/TaskCancelledException.java
358   src/bindings/java/org/simgrid/msg/TimeoutException.java
359   src/bindings/java/org/simgrid/msg/TransferFailureException.java
360   src/bindings/java/org/simgrid/msg/VM.java
361 )
362
363 set(JTRACE_C_SRC
364   src/bindings/java/jtrace.c
365   src/bindings/java/jtrace.h
366 )
367
368 set(JTRACE_JAVA_SRC
369   src/bindings/java/org/simgrid/trace/Trace.java
370 )
371
372 if(HAVE_TRACING)
373   list(APPEND JMSG_C_SRC ${JTRACE_C_SRC})
374 else()
375   list(APPEND EXTRA_DIST ${JTRACE_C_SRC})
376 endif()
377
378 set(LUA_SRC
379   src/bindings/lua/lua_comm.c
380   src/bindings/lua/lua_host.c
381   src/bindings/lua/lua_platf.c
382   src/bindings/lua/lua_process.c
383   src/bindings/lua/lua_state_cloner.c
384   src/bindings/lua/lua_task.c
385   src/bindings/lua/lua_utils.c
386   src/bindings/lua/simgrid_lua.c
387   )
388
389 set(TRACING_SRC
390   src/instr/instr_config.c
391   src/instr/instr_interface.c
392   src/instr/instr_paje_containers.c
393   src/instr/instr_paje_trace.c
394   src/instr/instr_paje_header.c
395   src/instr/instr_paje_types.c
396   src/instr/instr_paje_values.c
397   src/instr/instr_private.h
398   src/instr/instr_resource_utilization.c
399   )
400
401 set(JEDULE_SRC
402   include/instr/jedule/jedule_events.h
403   include/instr/jedule/jedule_output.h
404   include/instr/jedule/jedule_platform.h
405   include/instr/jedule/jedule_sd_binding.h
406   src/instr/jedule/jedule_events.c
407   src/instr/jedule/jedule_output.c
408   src/instr/jedule/jedule_platform.c
409   src/instr/jedule/jedule_sd_binding.c
410   )
411
412 set(MC_SRC
413   src/mc/mc_checkpoint.c
414   src/mc/mc_compare.c
415   src/mc/mc_dpor.c
416   src/mc/mc_global.c
417   src/mc/mc_liveness.c
418   src/mc/mc_memory.c
419   src/mc/mc_private.h
420   src/mc/mc_request.c
421   src/mc/mc_state.c
422   src/mc/memory_map.c
423   )
424
425 set(headers_to_install
426   include/instr/instr.h
427   include/msg/datatypes.h
428   include/msg/msg.h
429   include/simdag/datatypes.h
430   include/simdag/simdag.h
431   include/simgrid/modelchecker.h
432   include/simgrid/platf.h
433   include/simgrid/platf_generator.h
434   include/simgrid/simix.h
435   include/smpi/mpi.h
436   include/smpi/mpif.h
437   include/smpi/smpi.h
438   include/smpi/smpi_cocci.h
439   include/smpi/smpi_main.h
440   include/surf/simgrid_dtd.h
441   include/surf/surf_routing.h
442   include/surf/surfxml_parse.h
443   include/xbt.h
444   include/xbt/RngStream.h
445   include/xbt/asserts.h
446   include/xbt/automaton.h
447   include/xbt/config.h
448   include/xbt/cunit.h
449   include/xbt/dict.h
450   include/xbt/dynar.h
451   include/xbt/ex.h
452   include/xbt/fifo.h
453   include/xbt/file_stat.h
454   include/xbt/function_types.h
455   include/xbt/graph.h
456   include/xbt/graphxml.h
457   include/xbt/graphxml_parse.h
458   include/xbt/hash.h
459   include/xbt/heap.h
460   include/xbt/lib.h
461   include/xbt/log.h
462   include/xbt/mallocator.h
463   include/xbt/matrix.h
464   include/xbt/misc.h
465   include/xbt/mmalloc.h
466   include/xbt/module.h
467   include/xbt/parmap.h
468   include/xbt/peer.h
469   include/xbt/queue.h
470   include/xbt/replay.h
471   include/xbt/set.h
472   include/xbt/setset.h
473   include/xbt/str.h
474   include/xbt/strbuff.h
475   include/xbt/swag.h
476   include/xbt/synchro_core.h
477   include/xbt/sysdep.h
478   include/xbt/virtu.h
479   include/xbt/xbt_os_thread.h
480   )
481 set(source_of_generated_headers
482   include/simgrid_config.h.in
483   include/smpi/smpif.h.in
484   src/context_sysv_config.h.in)
485
486 ### depend of some variables setted upper
487 # -->CONTEXT_THREADS CONTEXT_UCONTEXT
488 if(${CONTEXT_THREADS}) #pthread
489   set(SURF_SRC
490     ${SURF_SRC}
491     src/simix/smx_context_thread.c
492     src/xbt/xbt_os_thread.c
493     )
494 else() # NOT pthread
495   set(EXTRA_DIST
496     ${EXTRA_DIST}
497     src/simix/smx_context_thread.c
498     src/xbt/xbt_os_thread.c
499     )
500 endif()
501
502 if(${CONTEXT_UCONTEXT}) #ucontext
503   set(SURF_SRC
504     ${SURF_SRC}
505     src/simix/smx_context_sysv.c
506     )
507 else() # NOT ucontext
508   set(EXTRA_DIST
509     ${EXTRA_DIST}
510     src/simix/smx_context_sysv.c
511     )
512 endif()
513
514 # -->HAVE_GTNETS
515 if(HAVE_GTNETS)
516   set(GTNETS_USED
517     ${GTNETS_SRC}
518     )
519 else()
520   set(GTNETS_USED "")
521   set(EXTRA_DIST
522     ${EXTRA_DIST}
523     ${GTNETS_SRC}
524     )
525 endif()
526
527 ### Simgrid Lib sources
528 set(simgrid_sources
529   ${BINDINGS_SRC}
530   ${GTNETS_USED}
531   ${MSG_SRC}
532   ${SIMDAG_SRC}
533   ${SIMGRID_SRC}
534   ${SIMIX_SRC}
535   ${SURF_SRC}
536   ${TRACING_SRC}
537   ${XBT_SRC}
538   )
539
540 if(${HAVE_JEDULE})
541   set(simgrid_sources
542     ${simgrid_sources}
543     ${JEDULE_SRC}
544     )
545 else()
546   set(EXTRA_DIST
547     ${EXTRA_DIST}
548     ${JEDULE_SRC}
549     )
550 endif()
551
552 if(${HAVE_TRACING})
553   set(simgrid_sources
554     ${simgrid_sources}
555     ${TRACING_SRC}
556     )
557 else()
558   set(EXTRA_DIST
559     ${EXTRA_DIST}
560     ${TRACING_SRC}
561     )
562 endif()
563
564 if(HAVE_MC)
565   set(simgrid_sources
566     ${simgrid_sources}
567     ${MC_SRC}
568     )
569 endif()
570
571 if(HAVE_NS3)
572   set(simgrid_sources
573     ${simgrid_sources}
574     ${NS3_SRC}
575     )
576 endif()
577
578 # WINDOWS
579 if(WIN32)
580   set(simgrid_sources
581     ${simgrid_sources}
582     src/simix/smx_context_thread.c
583     src/xbt/win32_ucontext.c
584     src/xbt/xbt_os_thread.c
585     )
586 endif()
587
588 if(${HAVE_LUA})
589   set(simgrid_sources
590     ${simgrid_sources}
591     ${LUA_SRC}
592     )
593 else()
594   set(EXTRA_DIST
595     ${EXTRA_DIST}
596     ${LUA_SRC}
597     )
598 endif()
599
600 set(DOC_SOURCES
601   doc/AS_hierarchy.png
602   doc/Doxyfile.in
603   doc/Layout.xml
604   doc/sg_thread_model.fig
605   doc/simix.fig
606   doc/surf_nutshell.fig
607   doc/triva-graph_configuration.png
608   doc/triva-graph_configuration.svg
609   doc/triva-graph_visualization.png
610   doc/triva-graph_visualization.svg
611   doc/triva-time_interval.png
612   doc/triva-time_interval.svg
613
614   doc/HelloWorld/CMakeLists.txt
615   doc/HelloWorld/HelloWorld.c
616   doc/HelloWorld/FindPcreWin.cmake
617   doc/HelloWorld/README
618
619   doc/doxygen/FAQ.doc
620   doc/doxygen/advanced.doc
621   doc/doxygen/bindings.doc
622   doc/doxygen/contributing.doc
623   doc/doxygen/deployment.doc
624   doc/doxygen/footer.html
625   doc/doxygen/getting_started.doc
626   doc/doxygen/header.html
627   doc/doxygen/help.doc
628   doc/doxygen/index.doc
629   doc/doxygen/inside_autotests.doc
630   doc/doxygen/inside_cmake.doc
631   doc/doxygen/inside_doxygen.doc
632   doc/doxygen/inside_extending.doc
633   doc/doxygen/inside_release.doc
634   doc/doxygen/install.doc
635   doc/doxygen/internals.doc
636   doc/doxygen/introduction.doc
637   doc/doxygen/module-msg.doc
638   doc/doxygen/module-sd.doc
639   doc/doxygen/module-simix.doc
640   doc/doxygen/module-surf.doc
641   doc/doxygen/module-trace.doc
642   doc/doxygen/module-xbt.doc
643   doc/doxygen/modules.doc
644   doc/doxygen/options.doc
645   doc/doxygen/platform.doc
646   doc/doxygen/pls.doc
647   doc/doxygen/stylesheet.css
648   doc/doxygen/tracing.doc
649   doc/doxygen/use.doc
650
651   doc/msg-tuto-src/deployment0.xml
652   doc/msg-tuto-src/deployment1.xml
653   doc/msg-tuto-src/deployment2.xml
654   doc/msg-tuto-src/deployment3.xml
655   doc/msg-tuto-src/deployment_general.xml
656   doc/msg-tuto-src/masterworker0.c
657   doc/msg-tuto-src/masterworker1.c
658   doc/msg-tuto-src/masterworker2.c
659   doc/msg-tuto-src/masterworker3.c
660   doc/msg-tuto-src/masterworker4.c
661   doc/msg-tuto-src/platforms/cloud.xml
662   doc/msg-tuto-src/platforms/g5k.xml
663   doc/msg-tuto-src/platforms/griffon.xml
664   doc/msg-tuto-src/platforms/peers.xml
665   doc/msg-tuto-src/platforms/platform.xml
666   )
667
668 set(DOC_FIGS
669   ${CMAKE_HOME_DIRECTORY}/doc/shared/fig/simgrid_modules.fig
670   ${CMAKE_HOME_DIRECTORY}/doc/shared/fig/simgrid_modules2.fig
671   )
672
673 set(DOC_TOOLS
674   tools/doxygen/fig2dev_postprocessor.pl
675   tools/doxygen/index_create.pl
676   tools/doxygen/xbt_log_extract_hierarchy.pl
677   )
678
679 # these files get copied automatically to the html documentation
680 set(DOC_IMG
681   ${CMAKE_HOME_DIRECTORY}/doc/simgrid.css
682   ${CMAKE_HOME_DIRECTORY}/doc/sc3-description.png
683   ${CMAKE_HOME_DIRECTORY}/doc/webcruft/Paje_MSG_screenshot.jpg
684   ${CMAKE_HOME_DIRECTORY}/doc/webcruft/Paje_MSG_screenshot_thn.jpg
685   ${CMAKE_HOME_DIRECTORY}/doc/webcruft/SGicon.gif
686   ${CMAKE_HOME_DIRECTORY}/doc/webcruft/SGicon.icns
687   ${CMAKE_HOME_DIRECTORY}/doc/webcruft/SGicon.ico
688   ${CMAKE_HOME_DIRECTORY}/doc/webcruft/awstats_logo3.png
689   ${CMAKE_HOME_DIRECTORY}/doc/webcruft/output.goal.pdf
690   ${CMAKE_HOME_DIRECTORY}/doc/webcruft/poster_thumbnail.png
691   ${CMAKE_HOME_DIRECTORY}/doc/webcruft/simgrid_logo_2011.gif
692   ${CMAKE_HOME_DIRECTORY}/doc/webcruft/simgrid_logo_2011.png
693   ${CMAKE_HOME_DIRECTORY}/doc/webcruft/simgrid_logo_2011_small.png
694   ${CMAKE_HOME_DIRECTORY}/doc/webcruft/simgrid_logo_win.bmp
695   ${CMAKE_HOME_DIRECTORY}/doc/webcruft/simgrid_logo_win_2011.bmp
696   ${CMAKE_HOME_DIRECTORY}/doc/webcruft/win_install_01.png
697   ${CMAKE_HOME_DIRECTORY}/doc/webcruft/win_install_02.png
698   ${CMAKE_HOME_DIRECTORY}/doc/webcruft/win_install_03.png
699   ${CMAKE_HOME_DIRECTORY}/doc/webcruft/win_install_04.png
700   ${CMAKE_HOME_DIRECTORY}/doc/webcruft/win_install_05.png
701   ${CMAKE_HOME_DIRECTORY}/doc/webcruft/win_install_06.png
702   )
703
704 set(bin_files
705   ${bin_files}
706   src/smpi/smpicc.in
707   src/smpi/smpif2c.in
708   src/smpi/smpiff.in
709   src/smpi/smpif90.in
710   src/smpi/smpirun.in
711   )
712
713 set(txt_files
714   ${txt_files}
715   AUTHORS
716   COPYING
717   README
718   ChangeLog
719   INSTALL
720   LICENSE-LGPL-2.1
721   NEWS
722   TODO
723   configure
724   )
725
726 set(EXAMPLES_CMAKEFILES_TXT
727   examples/lua/CMakeLists.txt
728   examples/msg/CMakeLists.txt
729   examples/msg/actions/CMakeLists.txt
730   examples/msg/bittorrent/CMakeLists.txt
731   examples/msg/chord/CMakeLists.txt
732   examples/msg/cloud/CMakeLists.txt
733   examples/msg/gpu/CMakeLists.txt
734   examples/msg/gtnets/CMakeLists.txt
735   examples/msg/icomms/CMakeLists.txt
736   examples/msg/io/CMakeLists.txt
737   examples/msg/kademlia/CMakeLists.txt
738   examples/msg/masterslave/CMakeLists.txt
739   examples/msg/mc/CMakeLists.txt
740   examples/msg/migration/CMakeLists.txt
741   examples/msg/ns3/CMakeLists.txt
742   examples/msg/parallel_task/CMakeLists.txt
743   examples/msg/pmm/CMakeLists.txt
744   examples/msg/priority/CMakeLists.txt
745   examples/msg/properties/CMakeLists.txt
746   examples/msg/sendrecv/CMakeLists.txt
747   examples/msg/chainsend/CMakeLists.txt
748   examples/msg/start_kill_time/CMakeLists.txt
749   examples/msg/suspend/CMakeLists.txt
750   examples/msg/token_ring/CMakeLists.txt
751   examples/msg/tracing/CMakeLists.txt
752   examples/simdag/CMakeLists.txt
753   examples/simdag/dax/CMakeLists.txt
754   examples/simdag/dot/CMakeLists.txt
755   examples/simdag/goal/CMakeLists.txt
756   examples/simdag/metaxml/CMakeLists.txt
757   examples/simdag/properties/CMakeLists.txt
758   examples/simdag/scheduling/CMakeLists.txt
759   examples/smpi/CMakeLists.txt
760   examples/smpi/MM/CMakeLists.txt
761   examples/xbt/CMakeLists.txt
762   )
763
764 set(TESHSUITE_CMAKEFILES_TXT
765   teshsuite/CMakeLists.txt
766   teshsuite/msg/CMakeLists.txt
767   teshsuite/msg/trace/CMakeLists.txt
768   teshsuite/simdag/CMakeLists.txt
769   teshsuite/simdag/network/CMakeLists.txt
770   teshsuite/simdag/network/mxn/CMakeLists.txt
771   teshsuite/simdag/network/p2p/CMakeLists.txt
772   teshsuite/simdag/partask/CMakeLists.txt
773   teshsuite/simdag/platforms/CMakeLists.txt
774   teshsuite/xbt/CMakeLists.txt
775   teshsuite/smpi/CMakeLists.txt
776   teshsuite/smpi/mpich-test/CMakeLists.txt
777   teshsuite/smpi/mpich-test/env/CMakeLists.txt
778   teshsuite/smpi/mpich-test/coll/CMakeLists.txt
779   teshsuite/smpi/mpich-test/context/CMakeLists.txt
780   teshsuite/smpi/mpich-test/profile/CMakeLists.txt
781   teshsuite/smpi/mpich-test/pt2pt/CMakeLists.txt
782   )
783
784 set(TOOLS_CMAKEFILES_TXT
785   tools/CMakeLists.txt
786   tools/graphicator/CMakeLists.txt
787   tools/tesh/CMakeLists.txt
788   )
789
790 set(TESTSUITE_CMAKEFILES_TXT
791   testsuite/surf/CMakeLists.txt
792   testsuite/xbt/CMakeLists.txt
793   )
794
795 set(CMAKE_SOURCE_FILES
796   CMakeLists.txt
797   buildtools/Cmake/AddTests.cmake
798   buildtools/Cmake/CTestConfig.cmake
799   buildtools/Cmake/CTestCustom.cmake
800   buildtools/Cmake/CompleteInFiles.cmake
801   buildtools/Cmake/DefinePackages.cmake
802   buildtools/Cmake/Distrib.cmake
803   buildtools/Cmake/Flags.cmake
804   buildtools/Cmake/GenerateDoc.cmake
805   buildtools/Cmake/GenerateDocWin.cmake
806   buildtools/Cmake/MaintainerMode.cmake
807   buildtools/Cmake/MakeExe.cmake
808   buildtools/Cmake/MakeLib.cmake
809   buildtools/Cmake/MakeLibWin.cmake
810   buildtools/Cmake/Modules/FindF2c.cmake
811   buildtools/Cmake/Modules/FindGTnets.cmake
812   buildtools/Cmake/Modules/FindGraphviz.cmake
813   buildtools/Cmake/Modules/FindLibunwind.cmake
814   buildtools/Cmake/Modules/FindLua51Simgrid.cmake
815   buildtools/Cmake/Modules/FindNS3.cmake
816   buildtools/Cmake/Modules/FindPCRE.cmake
817   buildtools/Cmake/Modules/FindPcreWin.cmake
818   buildtools/Cmake/Modules/FindRngStream.cmake
819   buildtools/Cmake/Modules/FindRubySimgrid.cmake
820   buildtools/Cmake/Modules/FindSimGrid.cmake
821   buildtools/Cmake/Modules/FindValgrind.cmake
822   buildtools/Cmake/Option.cmake
823   buildtools/Cmake/Pipol.cmake
824   buildtools/Cmake/PrintArgs.cmake
825   buildtools/Cmake/Scripts/Diff.pm
826   buildtools/Cmake/Scripts/Makefile.default
827   buildtools/Cmake/Scripts/SimGrid.packproj
828   buildtools/Cmake/Scripts/generate_memcheck_tests.pl
829   buildtools/Cmake/Scripts/generate_new_tests.pl
830   buildtools/Cmake/Scripts/my_valgrind.pl
831   buildtools/Cmake/Scripts/postinstall.sh
832   buildtools/Cmake/Scripts/preinstall.sh
833   buildtools/Cmake/Scripts/tesh.pl
834   buildtools/Cmake/Scripts/test_java.sh
835   buildtools/Cmake/Scripts/update_tesh.pl
836   buildtools/Cmake/Supernovae.cmake
837   buildtools/Cmake/UnitTesting.cmake
838   buildtools/Cmake/src/internal_config.h.in
839   buildtools/Cmake/src/simgrid.nsi.in
840   buildtools/Cmake/test_prog/prog_AC_CHECK_MCSC.c
841   buildtools/Cmake/test_prog/prog_getline.c
842   buildtools/Cmake/test_prog/prog_gnu_dynlinker.c
843   buildtools/Cmake/test_prog/prog_gtnets.cpp
844   buildtools/Cmake/test_prog/prog_mutex_timedlock.c
845   buildtools/Cmake/test_prog/prog_printf_null.c
846   buildtools/Cmake/test_prog/prog_sem_init.c
847   buildtools/Cmake/test_prog/prog_sem_open.c
848   buildtools/Cmake/test_prog/prog_sem_timedwait.c
849   buildtools/Cmake/test_prog/prog_snprintf.c
850   buildtools/Cmake/test_prog/prog_stackgrowth.c
851   buildtools/Cmake/test_prog/prog_stacksetup.c
852   buildtools/Cmake/test_prog/prog_thread_storage.c
853   buildtools/Cmake/test_prog/prog_vsnprintf.c
854   )
855
856 set(PLATFORMS_EXAMPLES
857   examples/platforms/bypassASroute.xml
858   examples/platforms/bypassRoute.xml
859   examples/platforms/cloud.xml
860   examples/platforms/cluster.xml
861   examples/platforms/cluster_and_one_host.xml
862   examples/platforms/cluster_no_backbone.xml
863   examples/platforms/cluster_routing_rulebased.xml
864   examples/platforms/clusters_routing_full.xml
865   examples/platforms/conf/gridpp_grid_2004.conf
866   examples/platforms/conf/gridpp_grid_2004.xml
867   examples/platforms/conf/lcg_sept2004_grid.conf
868   examples/platforms/conf/lcg_sept2004_grid.xml
869   examples/platforms/conf/transform_optorsim_platform.pl
870   examples/platforms/config.xml
871   examples/platforms/content/storage_content.txt
872   examples/platforms/data_center.xml
873   examples/platforms/g5k.xml
874   examples/platforms/generation_scripts/create_hierarchical_clusters.pl
875   examples/platforms/generation_scripts/enhancedDTDwithHierarchicalCluster.pl
876   examples/platforms/generation_scripts/generate_g5k_platform.pl
877   examples/platforms/generation_scripts/generate_g5k_platform_cabinets.pl
878   examples/platforms/griffon.xml
879   examples/platforms/meta_cluster.xml
880   examples/platforms/multicore_machine.xml
881   examples/platforms/prop.xml
882   examples/platforms/routing_cluster.xml
883   examples/platforms/storage.xml
884   examples/platforms/syscoord/generate_peer_platform.pl
885   examples/platforms/syscoord/median_harvard.syscoord
886   examples/platforms/syscoord/median_harvard.xml
887   examples/platforms/syscoord/median_meridian.syscoord
888   examples/platforms/syscoord/median_meridian.xml
889   examples/platforms/syscoord/median_p2psim.syscoord
890   examples/platforms/syscoord/median_p2psim.xml
891   examples/platforms/two_peers.xml
892   examples/platforms/vivaldi.xml
893   )
894
895 set(generated_src_files
896   src/xbt/automaton/automaton_lexer.yy.c
897   src/xbt/automaton/parserPromela.tab.cacc
898   src/xbt/automaton/parserPromela.tab.hacc
899   )
900
901 foreach(file ${generated_src_files})
902   set_source_files_properties(${file} PROPERTIES GENERATED true)
903 endforeach(file ${generated_src_files})