Logo AND Algorithmique Numérique Distribuée

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