Logo AND Algorithmique Numérique Distribuée

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