Logo AND Algorithmique Numérique Distribuée

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