Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
First step to move trace replay from MSG towards SMPI
[simgrid.git] / buildtools / Cmake / DefinePackages.cmake
1 ### define source packages
2
3 set(EXTRA_DIST 
4         src/portable.h
5         src/xbt/mallocator_private.h
6         src/xbt/dict_private.h
7         src/xbt/heap_private.h
8         src/xbt/fifo_private.h
9         src/xbt/graph_private.h
10         src/xbt/graphxml_parse.c
11         src/xbt/graphxml.c
12         src/xbt/graphxml.dtd
13         src/xbt/log_private.h
14         src/xbt/ex_interface.h
15         src/xbt/backtrace_linux.c
16         src/xbt/backtrace_windows.c
17         src/xbt/backtrace_dummy.c
18         src/xbt/setset_private.h
19         src/xbt/automatonparse_promela.c
20         src/xbt/mmalloc/mfree.c
21         src/xbt/mmalloc/mmalloc.c
22         src/xbt/mmalloc/mmalloc.info
23         src/xbt/mmalloc/mmalloc.texi
24         src/xbt/mmalloc/mm.c
25     src/xbt/mmalloc/mm_diff.c
26         src/xbt/mmalloc/mm_legacy.c
27         src/xbt/mmalloc/mm_module.c
28         src/xbt/mmalloc/mmorecore.c
29         src/xbt/mmalloc/mmprivate.h             
30         src/xbt/mmalloc/mmtrace.awk
31         src/xbt/mmalloc/mrealloc.c      
32         src/xbt/mmalloc/test/mmalloc_test.c
33         src/xbt/datadesc/ddt_parse.yy.l
34         src/xbt/datadesc/ddt_parse.yy.h
35         src/surf/maxmin_private.h
36         src/surf/trace_mgr_private.h
37         src/surf/surf_private.h
38         src/surf/surfxml_parse.c
39         src/surf/simgrid_dtd.c
40         src/surf/simgrid.dtd
41         src/surf/network_private.h
42         src/surf/storage_private.h
43         src/surf/network_gtnets_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/cpu_ti_private.h
48         src/surf/surf_routing_private.h
49         src/include/simgrid/platf_interface.h
50         src/include/surf/surf_resource.h
51         src/include/surf/datatypes.h
52         src/include/surf/maxmin.h
53         src/include/surf/trace_mgr.h
54         src/include/surf/surf.h
55         src/include/surf/surfxml_parse_values.h
56         src/include/surf/random_mgr.h
57         src/include/surf/surf_resource_lmm.h
58         src/include/xbt/wine_dbghelp.h
59         src/include/xbt/xbt_os_time.h
60         src/include/mc/datatypes.h
61         src/include/mc/mc.h
62         src/msg/msg_private.h
63         src/msg/msg_mailbox.h
64         src/simdag/private.h
65         src/simdag/dax.dtd
66         src/simdag/dax_dtd.h
67         src/simdag/dax_dtd.c
68         src/gras/Virtu/virtu_rl.h
69         src/gras/Virtu/virtu_sg.h
70         src/gras/Virtu/virtu_interface.h
71         src/gras/Virtu/virtu_private.h
72         src/gras/Transport/transport_interface.h
73         src/amok/Bandwidth/bandwidth_private.h
74         src/amok/amok_modinter.h
75         src/simix/smx_private.h
76         src/simix/smx_process_private.h
77         src/simix/smx_host_private.h
78         src/simix/smx_network_private.h
79         src/simix/smx_smurf_private.h
80         src/simix/smx_synchro_private.h
81         src/simix/smx_io_private.h
82         
83         src/smpi/private.h
84         src/smpi/smpi_mpi_dt_private.h
85         src/smpi/README
86         src/mk_supernovae.pl
87         
88         examples/gras/ping/ping.h
89         examples/gras/console/ping.h
90         examples/gras/mmrpc/mmrpc.h
91         
92     examples/msg/mc/parserPromela.yacc
93     examples/msg/mc/parserPromela.lex
94     examples/msg/mc/automaton.h
95     examples/msg/mc/bugged1_liveness.h
96     examples/msg/mc/centralized_liveness.h
97     examples/msg/mc/automatonparse_promela.h
98     examples/msg/mc/bugged2_liveness.h
99     examples/msg/mc/y.tab.h
100
101     examples/platforms/content/storage_content.txt
102
103         tools/gras/gras_stub_generator.h
104         tools/tesh/run_context.h  
105         tools/tesh/tesh.h
106         
107         src/surf/network_ns3_private.h
108         src/surf/ns3/ns3_interface.h
109         src/surf/ns3/ns3_simulator.h
110         src/surf/ns3/my-point-to-point-helper.h
111         src/surf/ns3/red-queue.h
112 )
113
114 set(XBT_RL_SRC 
115         src/xbt/xbt_rl_synchro.c
116         src/xbt/xbt_rl_time.c
117 )
118
119 set(XBT_SG_SRC 
120         src/xbt/xbt_sg_synchro.c
121         src/xbt/xbt_sg_time.c
122 )     
123
124 set(SMPI_SRC
125         src/smpi/smpi_base.c
126         src/smpi/smpi_bench.c
127         src/smpi/smpi_global.c
128         src/smpi/smpi_mpi.c
129         src/smpi/smpi_pmpi.c
130         src/smpi/smpi_c99.c
131         src/smpi/smpi_f77.c
132         src/smpi/smpi_comm.c
133         src/smpi/smpi_group.c
134         src/smpi/smpi_coll.c
135         src/smpi/smpi_mpi_dt.c
136 )
137
138
139 set(GRAS_RL_SRC
140         src/gras/rl_stubs.c
141         src/xbt/xbt_os_thread.c
142         src/gras/Transport/rl_transport.c
143         src/gras/Virtu/rl_emul.c
144         src/gras/Virtu/rl_process.c
145         src/gras/Virtu/rl_dns.c
146         src/gras/Msg/rl_msg.c
147         ${XBT_RL_SRC}
148 )
149
150 set(XBT_SRC 
151         src/xbt/snprintf.c
152         src/xbt/xbt_str.c
153         src/xbt/xbt_strbuff.c
154         src/xbt/xbt_sha.c
155         src/xbt/ex.c
156         src/xbt_modinter.h
157         src/gras_modinter.h
158         src/xbt/xbt_virtu.c
159         src/xbt/xbt_os_time.c
160         src/xbt/log.c
161         src/xbt/xbt_log_appender_file.c
162         src/xbt/xbt_log_layout_simple.c
163         src/xbt/xbt_log_layout_format.c
164         src/xbt/mallocator.c
165         src/xbt/dynar.c
166         src/xbt/dict.c
167         src/xbt/dict_elm.c
168         src/xbt/dict_cursor.c
169         src/xbt/dict_multi.c
170         src/xbt/heap.c
171         src/xbt/fifo.c
172         src/xbt/swag.c
173         src/xbt/graph.c
174         src/xbt/set.c
175         src/xbt/xbt_matrix.c
176         src/xbt/xbt_queue.c
177         src/xbt/xbt_synchro.c
178         src/xbt/xbt_peer.c
179         src/xbt/xbt_main.c
180         src/xbt/config.c
181         src/xbt/cunit.c
182         src/xbt/graphxml_parse.c
183         src/xbt/setset.c
184         src/xbt/parmap.c
185         src/xbt/xbt_replay.c
186         src/xbt/lib.c
187         src/xbt/automaton.c
188         src/xbt/datadesc/ddt_create.c
189         src/xbt/datadesc/ddt_convert.c
190         src/xbt/datadesc/ddt_exchange.c
191         src/xbt/datadesc/cbps.c
192         src/xbt/datadesc/datadesc.c
193         src/xbt/datadesc/datadesc_interface.h
194         src/xbt/datadesc/datadesc_private.h
195         src/xbt/datadesc/ddt_parse.c
196         src/xbt/datadesc/ddt_parse.yy.c
197         src/xbt/xbt_socket.c
198         src/xbt/xbt_socket_private.h
199         src/xbt/xbt_trp_plugin_tcp.c
200         src/xbt/RngStream.c
201 )
202
203 if(HAVE_MMAP)
204         set(XBT_SRC
205         ${XBT_SRC}
206         src/xbt/mmalloc/mm.c    
207         )
208 endif(HAVE_MMAP)
209
210 set(GTNETS_SRC 
211         src/surf/gtnets/gtnets_simulator.cc
212         src/surf/gtnets/gtnets_topology.cc
213         src/surf/gtnets/gtnets_interface.cc
214         src/surf/network_gtnets.c
215 )
216
217 set(NS3_SRC
218         src/surf/network_ns3.c
219         src/surf/ns3/ns3_interface.cc
220         src/surf/ns3/ns3_simulator.cc
221         src/surf/ns3/red-queue.cc
222         src/surf/ns3/my-point-to-point-helper.cc
223 )
224         
225 set(SURF_SRC 
226         src/surf/surf_model.c
227         src/surf/surf_action.c
228         src/surf/surf_routing.c
229         src/surf/surf_routing_none.c
230         src/surf/surf_routing_generic.c
231         src/surf/surf_routing_full.c
232         src/surf/surf_routing_floyd.c
233         src/surf/surf_routing_rulebased.c
234         src/surf/surf_routing_dijkstra.c
235         src/surf/surf_routing_cluster.c
236         src/surf/surf_routing_vivaldi.c
237         src/surf/surf_config.c
238         src/surf/maxmin.c
239         src/surf/fair_bottleneck.c
240         src/surf/lagrange.c
241         src/surf/trace_mgr.c
242         src/surf/random_mgr.c
243         src/surf/surf.c
244         src/surf/surfxml_parse.c
245         src/surf/surfxml_parseplatf.c
246         src/surf/network.c
247         src/surf/network_constant.c
248         src/surf/workstation.c
249         src/surf/workstation_ptask_L07.c
250         src/surf/cpu_ti.c
251         src/surf/cpu_cas01.c
252         src/surf/sg_platf.c
253         src/surf/storage.c
254         src/xbt/xbt_sg_stubs.c
255 )
256
257 set(SIMIX_SRC 
258         src/simix/smx_global.c
259         src/simix/smx_deployment.c
260         src/simix/smx_environment.c
261         src/simix/smx_host.c
262         src/simix/smx_process.c
263         src/simix/smx_context.c
264         src/simix/smx_synchro.c
265         src/simix/smx_network.c
266         src/simix/smx_context_base.c
267         src/simix/smx_user.c
268         src/simix/smx_smurf.c
269         src/simix/smx_context_raw.c
270         src/simix/smx_io.c
271 )
272
273 set(MSG_SRC
274         src/msg/msg_config.c
275         src/msg/msg_task.c
276         src/msg/msg_host.c
277         src/msg/msg_io.c
278         src/msg/msg_process.c
279         src/msg/msg_gos.c
280         src/msg/msg_global.c
281         src/msg/msg_environment.c
282         src/msg/msg_deployment.c
283         src/msg/msg_mailbox.c
284         src/msg/msg_actions.c
285         src/msg/msg_vm.c
286 )
287
288 set(SIMDAG_SRC
289         src/simdag/sd_global.c
290         src/simdag/sd_link.c
291         src/simdag/sd_task.c
292         src/simdag/sd_workstation.c
293         src/simdag/sd_daxloader.c
294 )
295 if(HAVE_GRAPHVIZ)
296         set(SIMDAG_SRC 
297             ${SIMDAG_SRC} src/simdag/sd_dotloader.c
298         )
299 else(HAVE_GRAPHVIZ)
300         set(EXTRA_DIST
301             ${EXTRA_DIST} src/simdag/sd_dotloader.c
302         )
303 endif(HAVE_GRAPHVIZ)
304
305 set(GRAS_COMMON_SRC
306         src/gras/gras.c
307         src/gras/Transport/transport.c
308         src/gras/Transport/transport_private.h
309         src/gras/Transport/transport_plugin_file.c
310         src/gras/Msg/gras_msg_mod.c
311         src/gras/Msg/gras_msg_types.c
312         src/gras/Msg/gras_msg_exchange.c
313         src/gras/Msg/gras_msg_listener.c
314         src/gras/Msg/rpc.c 
315         src/gras/Msg/timer.c
316         src/gras/Msg/msg_interface.h
317         src/gras/Msg/msg_private.h
318         src/gras/Virtu/process.c
319         src/gras/Virtu/gras_module.c
320 )
321
322 set(GRAS_SG_SRC
323         src/gras/Transport/sg_transport.c
324         src/gras/Transport/transport_plugin_sg.c
325         src/gras/Virtu/sg_emul.c
326         src/gras/Virtu/sg_process.c
327         src/gras/Virtu/sg_dns.c
328         src/gras/Msg/sg_msg.c
329         ${XBT_SG_SRC}
330 )
331
332 set(AMOK_SRC
333         src/amok/amok_base.c
334         src/amok/Bandwidth/bandwidth.c
335         src/amok/Bandwidth/saturate.c
336         src/amok/PeerManagement/peermanagement.c
337 )
338
339 set(BINDINGS_SRC
340         src/bindings/bindings_global.c
341 )
342
343 set(LUA_SRC
344         src/bindings/lua/simgrid_lua.c
345         src/bindings/lua/lua_task.c
346         src/bindings/lua/lua_comm.c
347         src/bindings/lua/lua_host.c
348         src/bindings/lua/lua_process.c
349         src/bindings/lua/lua_platf.c
350         src/bindings/lua/lua_utils.c
351         src/bindings/lua/lua_state_cloner.c
352         src/bindings/lua/lua_stub_generator.c
353 )
354
355 set(TRACING_SRC
356         src/instr/instr_routing.c
357         src/instr/instr_config.c
358         src/instr/instr_interface.c
359         src/instr/instr_paje_trace.c
360         src/instr/instr_paje_types.c
361         src/instr/instr_paje_values.c
362         src/instr/instr_paje_containers.c
363         src/instr/instr_msg_task.c
364         src/instr/instr_msg_process.c
365         src/instr/instr_surf.c
366         src/instr/instr_smpi.c
367         src/instr/instr_resource_utilization.c
368         src/instr/instr_private.h
369 )
370
371
372 set(JEDULE_SRC
373         include/instr/jedule/jedule_events.h
374         include/instr/jedule/jedule_output.h
375         include/instr/jedule/jedule_platform.h
376         include/instr/jedule/jedule_sd_binding.h
377         src/instr/jedule/jedule_events.c
378         src/instr/jedule/jedule_output.c
379         src/instr/jedule/jedule_platform.c
380         src/instr/jedule/jedule_sd_binding.c
381 )
382
383 set(MC_SRC
384         src/mc/mc_memory.c
385         src/mc/mc_checkpoint.c
386         src/mc/mc_state.c
387         src/mc/memory_map.c
388         src/mc/mc_global.c
389         src/mc/mc_dpor.c
390         src/mc/mc_request.c
391         src/mc/mc_private.h
392         src/mc/mc_liveness.c
393 )
394
395 set(headers_to_install
396         include/xbt/misc.h
397         include/xbt/sysdep.h
398         include/xbt/virtu.h
399         include/xbt/str.h
400         include/xbt/strbuff.h
401         include/xbt/hash.h
402         include/xbt/function_types.h
403         include/xbt/asserts.h 
404         include/xbt/ex.h
405         include/xbt/log.h
406         include/xbt/module.h
407         include/xbt/mallocator.h
408         include/xbt/dynar.h
409         include/xbt/dict.h
410         include/xbt/set.h
411         include/xbt/heap.h
412         include/xbt/graph.h
413         include/xbt/fifo.h
414         include/xbt/swag.h
415         include/xbt/lib.h
416         include/xbt/matrix.h
417         include/xbt/peer.h
418         include/xbt/config.h
419         include/xbt/cunit.h
420         include/xbt/graphxml_parse.h
421         include/xbt/graphxml.h
422         include/xbt/time.h
423         include/xbt/synchro.h
424         include/xbt/synchro_core.h
425         include/xbt/queue.h
426         include/xbt/setset.h
427         include/xbt/mmalloc.h
428         include/xbt/replay.h
429         include/xbt/parmap.h
430         include/xbt/automaton.h
431         include/xbt/automatonparse_promela.h
432         include/xbt/datadesc.h
433         include/xbt/socket.h
434         include/xbt/file_stat.h
435         include/xbt/xbt_os_thread.h
436   include/xbt/RngStream.h
437         include/simgrid/platf.h
438         include/simgrid/modelchecker.h
439         include/simgrid/simix.h
440         include/msg/msg.h
441         include/msg/datatypes.h
442         include/simdag/simdag.h
443         include/simdag/datatypes.h
444         include/smpi/smpi.h
445         include/smpi/mpi.h
446         include/smpi/mpif.h
447         include/smpi/smpi_cocci.h
448         include/surf/surfxml_parse.h
449         include/surf/simgrid_dtd.h
450         include/surf/surf_routing.h
451         include/gras/transport.h
452         include/gras/virtu.h
453         include/gras/emul.h
454         include/gras/process.h
455         include/gras/module.h
456         include/gras/messages.h
457         include/gras/timer.h
458         include/amok/peermanagement.h
459         include/amok/bandwidth.h
460         include/instr/instr.h
461         include/gras.h 
462         include/xbt.h
463 )
464 set(source_of_generated_headers
465         include/simgrid_config.h.in
466         include/smpi/smpif.h.in
467         src/context_sysv_config.h.in)
468
469 ### depend of some variables setted upper
470 # -->CONTEXT_THREADS CONTEXT_UCONTEXT
471 if(${CONTEXT_THREADS}) #pthread
472         set(SURF_SRC
473                 ${SURF_SRC}
474                 src/xbt/xbt_os_thread.c
475                 src/simix/smx_context_thread.c
476                 )
477 else(${CONTEXT_THREADS}) # NOT pthread
478         set(EXTRA_DIST
479                 ${EXTRA_DIST}
480                 src/xbt/xbt_os_thread.c
481                 src/simix/smx_context_thread.c
482                 )
483 endif(${CONTEXT_THREADS})
484
485 if(${CONTEXT_UCONTEXT}) #ucontext
486         set(SURF_SRC
487                 ${SURF_SRC}
488                 src/simix/smx_context_sysv.c
489         )
490 else(${CONTEXT_UCONTEXT}) # NOT ucontext
491         set(EXTRA_DIST
492                 ${EXTRA_DIST}
493                 src/simix/smx_context_sysv.c
494         )
495 endif(${CONTEXT_UCONTEXT})
496
497 # -->HAVE_GTNETS
498 if(HAVE_GTNETS)
499         set(GTNETS_USED 
500                 ${GTNETS_SRC}
501         )
502 else(HAVE_GTNETS)
503         set(GTNETS_USED "")
504         set(EXTRA_DIST
505                 ${EXTRA_DIST}
506                 ${GTNETS_SRC}
507         )
508 endif(HAVE_GTNETS)
509
510 ### Simgrid Lib sources
511 set(simgrid_sources
512         ${XBT_SRC}
513         ${SURF_SRC}
514         ${GTNETS_USED}
515         ${SIMIX_SRC}
516         ${MSG_SRC}
517         ${TRACING_SRC}
518         ${SIMDAG_SRC}
519         ${GRAS_COMMON_SRC}
520         ${GRAS_SG_SRC}
521         ${AMOK_SRC}
522         ${BINDINGS_SRC}
523         ${JEDULE_SRC}
524 )
525
526 if(HAVE_MC)
527         set(simgrid_sources
528                 ${simgrid_sources}
529                 ${MC_SRC}
530                 )
531 endif(HAVE_MC)
532
533 if(HAVE_NS3)
534         set(simgrid_sources
535                 ${simgrid_sources}
536                 ${NS3_SRC}
537         )
538 endif(HAVE_NS3)
539
540 # WINDOWS
541 if(WIN32)
542         set(simgrid_sources
543                 ${simgrid_sources}
544                 src/xbt/win32_ucontext.c
545                 src/xbt/xbt_os_thread.c
546                 src/simix/smx_context_thread.c
547                 )
548 endif(WIN32)
549
550 ### Gras Lib sources
551 set(gras_sources
552         ${XBT_SRC}
553         ${GRAS_COMMON_SRC}
554         ${GRAS_RL_SRC}
555         ${AMOK_SRC}
556 )
557
558 if(${HAVE_LUA})
559         set(simgrid_sources
560                 ${simgrid_sources}
561                 ${LUA_SRC}
562         )
563 elseif(${HAVE_LUA})
564         set(EXTRA_DIST
565                 ${EXTRA_DIST}
566                 ${LUA_SRC}
567         )
568 endif(${HAVE_LUA})
569
570 file(GLOB_RECURSE examples_to_install_in_doc
571 "examples/*.c"
572 "examples/*.h"
573 "examples/*yacc"
574 "examples/*lex"
575 "examples/*.cxx"
576 "examples/*.hpp"
577 "examples/*.rb"
578 "examples/*.lua"
579 "examples/*.java"
580 "examples/*.xml"
581 "examples/*README"
582 )
583     
584 set(DOC_SOURCES
585         doc/install.doc
586         doc/bindings.doc
587         doc/options.doc
588         doc/use.doc
589         doc/tracing.doc
590         doc/pls.doc
591         doc/gtut-howto-design.doc
592         doc/gtut-howto.doc
593         doc/gtut-introduction.doc
594         doc/gtut-main.doc
595         doc/gtut-tour-00-install.doc
596         doc/gtut-tour-01-bones.doc
597         doc/gtut-tour-02-simple.doc
598         doc/gtut-tour-03-args.doc
599         doc/gtut-tour-04-callback.doc
600         doc/gtut-tour-05-globals.doc
601         doc/gtut-tour-06-logs.doc
602         doc/gtut-tour-07-timers.doc
603         doc/gtut-tour-08-exceptions.doc
604         doc/gtut-tour-09-simpledata.doc
605         doc/gtut-tour-10-rpc.doc
606         doc/gtut-tour-11-explicitwait.doc
607         doc/gtut-tour-12-staticstruct.doc
608         doc/gtut-tour-13-pointers.doc
609         doc/gtut-tour-14-dynar.doc
610         doc/gtut-tour-15-manualdatadef.doc
611         doc/gtut-tour-16-exchangecb.doc
612         doc/gtut-tour.doc
613         doc/gtut-tour-recap-messages.doc
614         
615         #doc/index-API.doc
616         doc/index.doc
617         ${CMAKE_HOME_DIRECTORY}/doc/logcategories.doc
618         doc/module-amok.doc
619         doc/module-gras.doc
620         doc/module-msg.doc
621         doc/module-sd.doc
622         doc/modules.doc
623         doc/module-surf.doc
624         doc/module-xbt.doc
625         
626         doc/gtut-files/01-bones.c
627         doc/gtut-files/01-bones.output
628         doc/gtut-files/02-simple.c
629         doc/gtut-files/02-simple.output
630         doc/gtut-files/03-args.c
631         doc/gtut-files/03-args.output
632         doc/gtut-files/03-args.xml
633         doc/gtut-files/04-callback.c
634         doc/gtut-files/04-callback.output
635         doc/gtut-files/05-globals.c
636         doc/gtut-files/05-globals.output
637         doc/gtut-files/06-logs.c
638         doc/gtut-files/06-logs.output
639         doc/gtut-files/06-logs.output.error
640         doc/gtut-files/06-logs.output.fmt
641         doc/gtut-files/06-logs.output.fmt-bt
642         doc/gtut-files/06-logs.output.verbose
643         doc/gtut-files/07-timers.c
644         doc/gtut-files/07-timers.output
645         doc/gtut-files/08-exceptions.c
646         doc/gtut-files/08-exceptions.output
647         doc/gtut-files/09-datatype-dump.c
648         doc/gtut-files/09-simpledata.c
649         doc/gtut-files/09-simpledata.output
650         doc/gtut-files/10-rpc.c
651         doc/gtut-files/10-rpc.output
652         doc/gtut-files/11-explicitwait.c
653         doc/gtut-files/11-explicitwait.output
654         doc/gtut-files/11-explicitwait.xml
655         doc/gtut-files/gtut-platform-3nodes.xml
656         doc/gtut-files/gtut-platform.xml
657         doc/gtut-files/Makefile
658         doc/gtut-files/README
659         doc/gtut-files/test.xml
660         
661         doc/webcruft/awstats_logo3.png
662         doc/webcruft/Paje_MSG_screenshot.jpg
663         doc/webcruft/Paje_MSG_screenshot_thn.jpg
664         doc/webcruft/poster_thumbnail.png
665         doc/webcruft/simgrid_logo_2011.png
666         doc/webcruft/simgrid_logo_small.png
667         doc/triva-graph_configuration.png
668         doc/triva-graph_visualization.png
669         doc/simgrid.css
670         
671         doc/Doxyfile.in
672         doc/footer.html.in
673         
674         tools/doxygen/doxygen_postprocesser.pl
675         tools/doxygen/index_create.pl
676         tools/doxygen/toc_create.pl
677         tools/doxygen/bibtex2html_wrapper.pl
678         tools/doxygen/fig2dev_postprocessor.pl
679         tools/doxygen/xbt_log_extract_hierarchy.pl
680 )
681
682 set(DOC_FIGS
683         ${CMAKE_HOME_DIRECTORY}/doc/fig/simgrid_modules.fig
684         ${CMAKE_HOME_DIRECTORY}/doc/fig/simgrid_modules2.fig
685         ${CMAKE_HOME_DIRECTORY}/doc/fig/amok_bw_test.fig
686         ${CMAKE_HOME_DIRECTORY}/doc/fig/amok_bw_sat.fig
687         ${CMAKE_HOME_DIRECTORY}/doc/fig/gras_comm.fig
688 )
689
690 file(GLOB_RECURSE add_src_files
691 "teshsuite/*.c"
692 "teshsuite/*.cxx"
693 "teshsuite/*CMakeLists.txt"
694 "testsuite/*.c"
695 "testsuite/*.cxx"
696 "testsuite/*CMakeLists.txt"
697 "tools/*.c"
698 "tools/*.cxx"
699 "tools/*CMakeLists.txt"
700 "examples/*.c"
701 "examples/*.cxx"
702 "examples/*.lua"
703 "examples/*.rb"
704 "examples/*CMakeLists.txt"
705 "src/bindings/*.lua"
706 "src/bindings/*.rb"
707 "src/bindings/*.c"
708 "src/bindings/*.h"
709 "src/bindings/*CMakeLists.txt"
710 )
711 set(add_src_files
712         ${add_src_files}
713         CMakeLists.txt
714         src/smpi/smpicc.in
715         src/smpi/smpif2c.in
716         src/smpi/smpiff.in
717         src/smpi/smpirun.in
718 )
719
720 file(GLOB_RECURSE xml_files
721 "examples/*.xml"
722 "include/*.xml"
723 "src/*.xml"
724 "teshsuite/*.xml"
725 "testsuite/*.xml"
726 "tools/*.xml"
727 )
728
729 file(GLOB_RECURSE tesh_files
730 "examples/*.tesh"
731 "include/*.tesh"
732 "src/*.tesh"
733 "teshsuite/*.tesh"
734 "testsuite/*.tesh"
735 "tools/*.tesh"
736 )
737
738 set(txt_files
739 "testsuite/surf/trace_A_failure.txt"
740 "testsuite/surf/trace_A.txt"
741 "testsuite/surf/trace_B.txt"
742 "examples/smpi/hostfile"
743 "examples/msg/link5_state.trace"
744 "examples/msg/fafard_state.trace"
745 "examples/msg/jupiter_state.trace"
746 "examples/msg/actions/actions_allReduce.txt"
747 "examples/msg/actions/actions_reduce.txt"
748 "examples/msg/actions/actions.txt"
749 "examples/msg/actions/actions_barrier.txt"
750 "examples/msg/actions/actions_split_p0.txt"
751 "examples/msg/actions/actions_with_isend.txt"
752 "examples/msg/actions/actions_bcast.txt"
753 "examples/msg/actions/actions_split_p1.txt"
754 "examples/msg/actions/CMakeLists.txt"
755 "examples/msg/migration/migration.deploy"
756 "teshsuite/gras/datadesc/datadesc.little32_4"
757 "teshsuite/gras/datadesc/datadesc.little64"
758 "teshsuite/gras/datadesc/datadesc.big32_8_4"
759 "teshsuite/gras/datadesc/mk_datadesc_structs.pl"
760 "teshsuite/gras/msg_handle/test_rl.tesh"
761 "teshsuite/gras/msg_handle/test_sg_32.tesh"
762 "teshsuite/gras/msg_handle/test_sg_64.tesh"
763 "teshsuite/gras/empty_main/test_rl.tesh"
764 "teshsuite/gras/empty_main/test_sg.tesh"
765 "teshsuite/gras/small_sleep/test_sg_32.tesh"
766 "teshsuite/gras/small_sleep/test_sg_64.tesh"
767 "teshsuite/msg/trace/file.trace"
768 "teshsuite/simdag/platforms/bob.fail"
769 "teshsuite/simdag/platforms/bob.trace"
770 "teshsuite/simdag/platforms/bob0_availability_file.trace"
771 "teshsuite/simdag/platforms/bob0_state_file.trace"
772 "teshsuite/simdag/platforms/bob2_availability_file.trace"
773 "teshsuite/simdag/platforms/bob2_state_file.trace"
774 "teshsuite/simdag/platforms/link1.bw"
775 "teshsuite/simdag/platforms/link1.fail"
776 "teshsuite/simdag/platforms/link1.lat"
777 "examples/gras/ping/test_rl.tesh"
778 "examples/gras/rpc/test_rl.tesh"
779 "examples/gras/spawn/test_rl.tesh"
780 "examples/gras/timer/test_rl.tesh"
781 "examples/gras/chrono/test_rl.tesh"
782 "examples/gras/mutual_exclusion/simple_token/test_rl.tesh"
783 "examples/gras/mmrpc/test_rl.tesh"
784 "examples/gras/all2all/test_rl.tesh"
785 "examples/gras/pmm/test_rl.tesh"
786 "examples/gras/synchro/test_rl.tesh"
787 "examples/gras/properties/test_rl.tesh"
788 "examples/gras/ping/test_sg_32.tesh"
789 "examples/gras/rpc/test_sg_32.tesh"
790 "examples/gras/spawn/test_sg_32.tesh"
791 "examples/gras/timer/test_sg_32.tesh"
792 "examples/gras/chrono/test_sg_32.tesh"
793 "examples/gras/mutual_exclusion/simple_token/test_sg_32.tesh"
794 "examples/gras/mmrpc/test_sg_32.tesh"
795 "examples/gras/all2all/test_sg_32.tesh"
796 "examples/gras/pmm/test_sg_32.tesh"
797 "examples/gras/synchro/test_sg_32.tesh"
798 "examples/gras/ping/test_sg_64.tesh"
799 "examples/gras/rpc/test_sg_64.tesh"
800 "examples/gras/spawn/test_sg_64.tesh"
801 "examples/gras/timer/test_sg_64.tesh"
802 "examples/gras/chrono/test_sg_64.tesh"
803 "examples/gras/mutual_exclusion/simple_token/test_sg_64.tesh"
804 "examples/gras/mmrpc/test_sg_64.tesh"
805 "examples/gras/all2all/test_sg_64.tesh"
806 "examples/gras/pmm/test_sg_64.tesh"
807 "examples/gras/synchro/test_sg_64.tesh"
808 "examples/gras/properties/test_sg.tesh"
809 )
810
811 set(txt_files
812         ${txt_files}
813         AUTHORS
814         ChangeLog
815         COPYING
816         LICENSE-LGPL-2.1
817         NEWS
818         TODO
819         configure
820         INSTALL
821 )
822
823 file(GLOB_RECURSE README_files
824 "*README"
825 )
826         
827 string(REPLACE "${CMAKE_HOME_DIRECTORY}/" "" README_files "${README_files}")
828
829 file(GLOB_RECURSE CMAKE_SOURCE_FILES
830 "buildtools/Cmake/Makefile.default"
831 "buildtools/Cmake/test_java.sh"
832 "buildtools/Cmake/*.cmake"
833 "buildtools/Cmake/*.h.in"
834 "buildtools/Cmake/*.pl"
835 "buildtools/Cmake/*.sh"
836 "buildtools/Cmake/test_prog/*.c"
837 "buildtools/Cmake/test_prog/*.cpp"
838 )
839
840 set(bin_files
841 tools/MSG_visualization/colorize.pl
842 tools/sg_unit_extractor.pl
843 tools/simgrid_update_xml.pl
844 buildtools/Cmake/tesh.pl
845 )
846
847 # This is the complete list of what will be added to the source archive
848 set(source_to_pack      
849         ${headers_to_install}
850         ${source_of_generated_headers}
851         ${XBT_RL_SRC}
852         ${EXTRA_DIST}
853         ${SMPI_SRC}
854         ${GRAS_RL_SRC}
855         ${XBT_SRC}
856         ${GTNETS_SRC}
857         ${NS3_SRC}
858         ${SURF_SRC}
859         ${SIMIX_SRC}
860         ${TRACING_SRC}
861         ${MSG_SRC}
862         ${SIMDAG_SRC}
863         ${GRAS_COMMON_SRC}
864         ${GRAS_SG_SRC}
865         ${AMOK_SRC}
866         ${LUA_SRC}
867         ${MC_SRC}
868         ${JEDULE_SRC}
869         ${RNGSTREAM_SRC}
870         ${add_src_files}
871         ${xml_files}
872         ${tesh_files}
873         ${txt_files}
874         ${CMAKE_SOURCE_FILES}
875         ${bin_files}
876         ${DOC_SOURCES}
877         ${DOC_FIGS}
878         ${README_files}
879         buildtools/Cmake/simgrid.nsi.in 
880 )