Logo AND Algorithmique Numérique Distribuée

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