Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
3102ffcea0f886ed8cb213b3d99065a3194b4f5f
[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/mmalloc/attach.c
21         src/xbt/mmalloc/detach.c        
22         src/xbt/mmalloc/keys.c
23         src/xbt/mmalloc/mcalloc.c
24         src/xbt/mmalloc/mfree.c
25         src/xbt/mmalloc/mm_legacy.c             
26         src/xbt/mmalloc/mm.c
27         src/xbt/mmalloc/mmalloc.c
28         src/xbt/mmalloc/mmap-sup.c
29         src/xbt/mmalloc/mmcheck.c
30         src/xbt/mmalloc/mmemalign.c
31         src/xbt/mmalloc/mmprivate.h
32         src/xbt/mmalloc/mmstats.c
33         src/xbt/mmalloc/mmtrace.c
34         src/xbt/mmalloc/mrealloc.c
35         src/xbt/mmalloc/mvalloc.c
36         src/xbt/mmalloc/sbrk-sup.c
37         src/xbt/mmalloc/test/mmalloc_test.c
38         src/surf/maxmin_private.h
39         src/surf/trace_mgr_private.h
40         src/surf/surf_private.h
41         src/surf/surfxml_parse.c
42         src/surf/simgrid_dtd.l
43         src/surf/simgrid_dtd.c
44         src/surf/simgrid.dtd
45         src/surf/network_private.h
46         src/surf/network_gtnets_private.h
47         src/surf/gtnets/gtnets_interface.h
48         src/surf/gtnets/gtnets_simulator.h
49         src/surf/gtnets/gtnets_topology.h
50         src/surf/cpu_ti_private.h
51         src/include/surf/surf_resource.h
52         src/include/surf/datatypes.h
53         src/include/surf/maxmin.h
54         src/include/surf/trace_mgr.h
55         src/include/surf/surf.h
56         src/include/surf/surfxml_parse_private.h
57         src/include/surf/random_mgr.h
58         src/include/surf/surf_resource_lmm.h
59         src/include/xbt/wine_dbghelp.h
60         src/include/xbt/xbt_os_time.h
61         src/include/xbt/xbt_os_thread.h
62         src/include/mc/datatypes.h
63         src/include/mc/mc.h
64         src/include/simix/simix.h
65         src/include/simix/datatypes.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/smx_context_private.h
85         src/simix/smx_context_java.h
86         src/smpi/private.h
87         src/smpi/smpi_coll_private.h
88         src/smpi/smpi_mpi_dt_private.h
89         src/smpi/README
90         src/mk_supernovae.pl
91 )
92
93 set(XBT_RL_SRC 
94         src/xbt/xbt_rl_synchro.c
95         src/xbt/xbt_rl_time.c
96 )
97
98 set(XBT_SG_SRC 
99         src/xbt/xbt_sg_synchro.c
100         src/xbt/xbt_sg_time.c
101 )     
102
103 set(SMPI_SRC
104         src/smpi/smpi_base.c
105         src/smpi/smpi_bench.c
106         src/smpi/smpi_global.c
107         src/smpi/smpi_mpi.c
108         src/smpi/smpi_f77.c
109         src/smpi/smpi_comm.c
110         src/smpi/smpi_group.c
111         src/smpi/smpi_util.c
112         src/smpi/smpi_coll.c
113         src/smpi/smpi_mpi_dt.c
114 )
115
116 set(JMSG_C_SRC
117         src/simix/smx_context_java.c
118         src/java/jxbt_utilities.c
119         src/java/jxbt_utilities.h
120         src/java/jmsg.c 
121         src/java/jmsg.h
122         src/java/jmsg_host.c
123         src/java/jmsg_host.h
124         src/java/jmsg_process.c
125         src/java/jmsg_process.h
126         src/java/jmsg_task.c
127         src/java/jmsg_task.h
128         src/java/jmsg_application_handler.c
129         src/java/jmsg_application_handler.h
130 )
131
132 set(JMSG_JAVA_SRC
133         src/java/simgrid/msg/ApplicationHandler.java
134         src/java/simgrid/msg/Host.java
135         src/java/simgrid/msg/HostFailureException.java  
136         src/java/simgrid/msg/HostNotFoundException.java 
137         src/java/simgrid/msg/JniException.java
138         src/java/simgrid/msg/Msg.java
139         src/java/simgrid/msg/MsgException.java
140         src/java/simgrid/msg/MsgNative.java
141         src/java/simgrid/msg/NativeException.java
142         src/java/simgrid/msg/Process.java
143         src/java/simgrid/msg/ProcessNotFoundException.java
144         src/java/simgrid/msg/Sem.java
145         src/java/simgrid/msg/Task.java
146         src/java/simgrid/msg/TaskCancelledException.java
147         src/java/simgrid/msg/TimeoutException.java
148         src/java/simgrid/msg/TransferFailureException.java      
149 )
150
151 set(GRAS_RL_SRC
152         src/gras/rl_stubs.c
153         src/xbt/xbt_os_thread.c
154         src/gras/Transport/rl_transport.c
155         src/gras/Transport/transport_plugin_file.c
156         src/gras/Transport/transport_plugin_tcp.c
157         src/gras/Virtu/rl_emul.c
158         src/gras/Virtu/rl_process.c
159         src/gras/Virtu/rl_dns.c
160         src/gras/Msg/rl_msg.c
161         ${XBT_RL_SRC}
162 )
163
164 set(XBT_SRC 
165         src/xbt/snprintf.c
166         src/xbt/xbt_str.c
167         src/xbt/xbt_strbuff.c
168         src/xbt/xbt_sha.c
169         src/xbt/ex.c
170         src/xbt_modinter.h
171         src/gras_modinter.h
172         src/xbt/xbt_virtu.c
173         src/xbt/xbt_os_time.c
174         src/xbt/asserts.c
175         src/xbt/log.c
176         src/xbt/xbt_log_appender_file.c
177         src/xbt/xbt_log_layout_simple.c
178         src/xbt/xbt_log_layout_format.c
179         src/xbt/mallocator.c
180         src/xbt/dynar.c
181         src/xbt/dict.c
182         src/xbt/dict_elm.c
183         src/xbt/dict_cursor.c
184         src/xbt/dict_multi.c
185         src/xbt/heap.c
186         src/xbt/fifo.c
187         src/xbt/swag.c
188         src/xbt/graph.c
189         src/xbt/set.c
190         src/xbt/xbt_matrix.c
191         src/xbt/xbt_queue.c
192         src/xbt/xbt_synchro.c
193         src/xbt/xbt_peer.c
194         src/xbt/xbt_main.c
195         src/xbt/config.c
196         src/xbt/cunit.c
197         src/xbt/graphxml_parse.c
198         src/xbt/setset.c
199 )
200
201 if(HAVE_MMAP)
202         set(XBT_SRC
203         ${XBT_SRC}
204         src/xbt/mmalloc/mm.c    
205         )
206 endif(HAVE_MMAP)
207
208 set(GTNETS_SRC 
209         src/surf/gtnets/gtnets_simulator.cc
210         src/surf/gtnets/gtnets_topology.cc
211         src/surf/gtnets/gtnets_interface.cc
212         src/surf/network_gtnets.c
213 )
214
215 set(SURF_SRC 
216         src/surf/surf_model.c
217         src/surf/surf_action.c
218         src/surf/surf_routing.c
219         src/surf/surf_config.c
220         src/surf/maxmin.c
221         src/surf/fair_bottleneck.c
222         src/surf/lagrange.c
223         src/surf/trace_mgr.c
224         src/surf/random_mgr.c
225         src/surf/surf.c
226         src/surf/surfxml_parse.c
227         src/surf/cpu.c
228         src/surf/network.c
229         src/surf/network_vivaldi.c
230         src/surf/network_constant.c
231         src/surf/workstation.c
232         src/surf/surf_model_timer.c
233         src/surf/workstation_ptask_L07.c
234         src/surf/cpu_ti.c
235         src/surf/cpu_im.c
236         src/xbt/xbt_sg_stubs.c
237 )
238
239 set(SIMIX_SRC 
240         src/simix/smx_global.c
241         src/simix/smx_deployment.c
242         src/simix/smx_environment.c
243         src/simix/smx_host.c
244         src/simix/smx_action.c
245         src/simix/smx_process.c
246         src/simix/smx_context.c
247         src/simix/smx_synchro.c
248         src/simix/smx_network.c
249         src/simix/smx_context_base.c
250 )
251
252 set(MSG_SRC
253         src/msg/msg_config.c
254         src/msg/task.c
255         src/msg/host.c
256         src/msg/m_process.c
257         src/msg/gos.c
258         src/msg/global.c
259         src/msg/environment.c
260         src/msg/deployment.c
261         src/msg/msg_mailbox.c
262         src/msg/msg_actions.c
263 )
264
265 set(SIMDAG_SRC
266         src/simdag/sd_global.c
267         src/simdag/sd_link.c
268         src/simdag/sd_task.c
269         src/simdag/sd_workstation.c
270         src/simdag/sd_daxloader.c
271 )
272 if(HAVE_GRAPHVIZ)
273         set(SIMDAG_SRC 
274             ${SIMDAG_SRC} src/simdag/sd_dotloader.c
275         )
276 endif(HAVE_GRAPHVIZ)
277
278 set(GRAS_COMMON_SRC
279         src/gras/gras.c
280         src/gras/Transport/transport.c
281         src/gras/Transport/transport_private.h
282         src/gras/Msg/gras_msg_mod.c
283         src/gras/Msg/gras_msg_types.c
284         src/gras/Msg/gras_msg_exchange.c
285         src/gras/Msg/gras_msg_listener.c
286         src/gras/Msg/rpc.c 
287         src/gras/Msg/timer.c
288         src/gras/Msg/msg_interface.h
289         src/gras/Msg/msg_private.h
290         src/gras/Virtu/process.c
291         src/gras/Virtu/gras_module.c
292         src/gras/DataDesc/ddt_create.c
293         src/gras/DataDesc/ddt_convert.c
294         src/gras/DataDesc/ddt_exchange.c
295         src/gras/DataDesc/cbps.c
296         src/gras/DataDesc/datadesc.c
297         src/gras/DataDesc/datadesc_interface.h
298         src/gras/DataDesc/datadesc_private.h
299         src/gras/DataDesc/ddt_parse.c
300         src/gras/DataDesc/ddt_parse.yy.c
301 )
302
303 set(GRAS_SG_SRC
304         src/gras/Transport/sg_transport.c
305         src/gras/Transport/transport_plugin_sg.c
306         src/gras/Virtu/sg_emul.c
307         src/gras/Virtu/sg_process.c
308         src/gras/Virtu/sg_dns.c
309         src/gras/Msg/sg_msg.c
310         ${XBT_SG_SRC}
311 )
312
313 set(AMOK_SRC
314         src/amok/amok_base.c
315         src/amok/Bandwidth/bandwidth.c
316         src/amok/Bandwidth/saturate.c
317         src/amok/PeerManagement/peermanagement.c
318 )
319
320 set(LUA_SRC
321         src/bindings/lua/simgrid_lua.c
322         src/bindings/lua/lua_stub_generator.c
323         src/bindings/lua/lua_console.c
324 )
325
326 set(TRACING_SRC
327         src/instr/instr_config.c
328         src/instr/categories.c
329         src/instr/interface.c
330         src/instr/general.c
331         src/instr/paje.c
332         src/instr/msg_task_instr.c
333         src/instr/msg_process_instr.c
334         src/instr/msg_volume.c
335         src/instr/smx_instr.c
336         src/instr/surf_instr.c
337         src/instr/smpi_instr.c
338         src/instr/sd_instr.c
339         src/instr/variables_instr.c
340         src/instr/resource_utilization.c
341         src/instr/private.h
342 )
343
344 set(RUBY_SRC
345         src/simix/smx_context_ruby.c
346         src/bindings/ruby/rb_msg_process.c
347         src/bindings/ruby/rb_msg_host.c
348         src/bindings/ruby/rb_msg_task.c
349         src/bindings/ruby/rb_application_handler.c
350 )
351
352 set(MC_SRC
353         src/mc/mc_memory.c
354         src/mc/mc_checkpoint.c
355         src/mc/memory_map.c
356         src/mc/mc_global.c
357         src/mc/mc_dfs.c
358         src/mc/mc_dpor.c
359         src/mc/mc_transition.c
360         src/mc/private.h
361 )
362
363 set(install_HEADERS
364         include/xbt/misc.h
365         include/xbt/sysdep.h
366         include/xbt/virtu.h
367         include/xbt/str.h
368         include/xbt/strbuff.h
369         include/xbt/hash.h
370         include/xbt/function_types.h
371         include/xbt/asserts.h 
372         include/xbt/ex.h
373         include/xbt/log.h
374         include/xbt/module.h
375         include/xbt/mallocator.h
376         include/xbt/dynar.h
377         include/xbt/dict.h
378         include/xbt/set.h
379         include/xbt/heap.h
380         include/xbt/graph.h
381         include/xbt/fifo.h
382         include/xbt/swag.h
383         include/xbt/matrix.h
384         include/xbt/peer.h
385         include/xbt/config.h
386         include/xbt/cunit.h
387         include/xbt/graphxml_parse.h
388         include/xbt/graphxml.h
389         include/xbt/time.h
390         include/xbt/synchro.h
391         include/xbt/synchro_core.h
392         include/xbt/queue.h
393         include/xbt/setset.h
394         include/xbt/mmalloc.h
395         include/mc/modelchecker.h
396         include/msg/msg.h
397         include/msg/datatypes.h
398         include/simdag/simdag.h
399         include/simdag/datatypes.h
400         include/smpi/smpi.h
401         include/smpi/smpif.h
402         include/smpi/mpi.h
403         include/smpi/mpif.h
404         include/surf/surfxml_parse.h
405         include/surf/simgrid_dtd.h
406         include/gras/datadesc.h
407         include/gras/transport.h
408         include/gras/virtu.h
409         include/gras/emul.h
410         include/gras/process.h
411         include/gras/module.h
412         include/gras/messages.h
413         include/gras/timer.h
414         include/amok/peermanagement.h
415         include/amok/bandwidth.h
416         include/instr/instr.h
417         ${CMAKE_CURRENT_BINARY_DIR}/include/simgrid_config.h
418         include/gras.h 
419         include/xbt.h
420 )
421
422 ### depend of some variables setted upper
423 # -->CONTEXT_THREADS
424 if(${CONTEXT_THREADS}) #pthread
425         set(SURF_SRC
426                 ${SURF_SRC}
427                 src/xbt/xbt_os_thread.c
428                 src/simix/smx_context_thread.c
429         )
430         set(EXTRA_DIST
431                 ${EXTRA_DIST}
432                 src/simix/smx_context_sysv.c
433         )
434 else(${CONTEXT_THREADS}) #ucontext
435         set(SURF_SRC
436                 ${SURF_SRC}
437                 src/simix/smx_context_sysv.c
438         )
439
440         if(WIN32)
441         set(SURF_SRC
442                 ${SURF_SRC}
443                 src/xbt/xbt_os_thread.c
444                 src/simix/smx_context_thread.c)
445     else(WIN32)
446         set(EXTRA_DIST
447                 ${EXTRA_DIST}
448                 src/xbt/xbt_os_thread.c
449                 src/simix/smx_context_thread.c)
450     endif(WIN32)
451 endif(${CONTEXT_THREADS})
452
453
454
455
456 # -->HAVE_GTNETS
457 if(HAVE_GTNETS)
458         set(GTNETS_USED 
459                 ${GTNETS_SRC}
460         )
461 else(HAVE_GTNETS)
462         set(GTNETS_USED "")
463         set(EXTRA_DIST
464                 ${EXTRA_DIST}
465                 ${GTNETS_SRC}
466         )
467 endif(HAVE_GTNETS)
468
469
470 ### Simgrid Lib sources
471 set(simgrid_sources
472         ${XBT_SRC}
473         ${SURF_SRC}
474         ${GTNETS_USED}
475         ${SIMIX_SRC}
476         ${MSG_SRC}
477         ${TRACING_SRC}
478         ${SIMDAG_SRC}
479         ${GRAS_COMMON_SRC}
480         ${GRAS_SG_SRC}
481         ${AMOK_SRC}
482 )
483
484 if(HAVE_MC)
485         set(simgrid_sources
486                 ${simgrid_sources}
487                 ${MC_SRC}
488                 )
489 endif(HAVE_MC)
490
491 ### Gras Lib sources
492 set(gras_sources
493         ${XBT_SRC}
494         ${GRAS_COMMON_SRC}
495         ${GRAS_RL_SRC}
496         ${AMOK_SRC}
497 )
498
499 if(${HAVE_LUA})
500         set(simgrid_sources
501                 ${simgrid_sources}
502                 ${LUA_SRC}
503         )
504 elseif(${HAVE_LUA})
505         set(EXTRA_DIST
506                 ${EXTRA_DIST}
507                 ${LUA_SRC}
508         )
509 endif(${HAVE_LUA})
510
511 set(EXTRA_DIST
512         ${EXTRA_DIST}
513         ${JMSG_JAVA_SRC}
514 )
515 if(${HAVE_JAVA})
516         set(simgrid_sources
517                 ${simgrid_sources}
518                 ${JMSG_C_SRC} # add the binding support to the library
519         )
520 else(${HAVE_JAVA})
521         set(EXTRA_DIST
522                 ${EXTRA_DIST}
523                 ${JMSG_C_SRC}
524         )
525 endif(${HAVE_JAVA})
526
527 if(${HAVE_RUBY})
528         set(simgrid_sources
529                 ${simgrid_sources}
530                 ${RUBY_SRC}
531                 src/bindings/ruby/simgrid_ruby.c
532         )
533 else(${HAVE_RUBY})
534         set(EXTRA_DIST
535                 ${EXTRA_DIST}
536                 ${RUBY_SRC}
537                 src/bindings/ruby/simgrid_ruby.c
538         )
539 endif(${HAVE_RUBY})
540
541 file(GLOB_RECURSE examples_to_install_in_doc
542 "examples/*.c"
543 "examples/*.h"
544 "examples/*.cxx"
545 "examples/*.hpp"
546 "examples/*.c"
547 "examples/*.rb"
548 "examples/*.lua"
549 "examples/*.java"
550 "examples/*.xml"
551 )
552
553 set(DOC_SOURCES
554         doc/contrib.doc
555         doc/FAQ.doc
556         doc/gtut-howto-design.doc
557         doc/gtut-howto.doc
558         doc/gtut-introduction.doc
559         doc/gtut-main.doc
560         doc/gtut-tour-01-bones.doc
561         doc/gtut-tour-02-simple.doc
562         doc/gtut-tour-03-args.doc
563         doc/gtut-tour-04-callback.doc
564         doc/gtut-tour-05-globals.doc
565         doc/gtut-tour-06-logs.doc
566         doc/gtut-tour-07-timers.doc
567         doc/gtut-tour-08-exceptions.doc
568         doc/gtut-tour-09-simpledata.doc
569         doc/gtut-tour-10-rpc.doc
570         doc/gtut-tour-11-explicitwait.doc
571         doc/gtut-tour-12-staticstruct.doc
572         doc/gtut-tour-13-pointers.doc
573         doc/gtut-tour-14-dynar.doc
574         doc/gtut-tour-15-manualdatadef.doc
575         doc/gtut-tour-16-exchangecb.doc
576         doc/gtut-tour.doc
577         doc/gtut-tour-recap-messages.doc
578         doc/history.doc
579         doc/index-API.doc
580         doc/index.doc
581         doc/logcategories.doc
582         doc/module-amok.doc
583         doc/module-gras.doc
584         doc/module-msg.doc
585         doc/module-sd.doc
586         doc/modules.doc
587         doc/module-surf.doc
588         doc/module-xbt.doc
589         doc/people.doc  
590         doc/publis.doc
591 )
592 set(DOC_FIGS
593         ${PROJECT_DIRECTORY}/doc/fig/simgrid_modules.fig
594         ${PROJECT_DIRECTORY}/doc/fig/simgrid_modules2.fig
595         ${PROJECT_DIRECTORY}/doc/fig/amok_bw_test.fig
596         ${PROJECT_DIRECTORY}/doc/fig/amok_bw_sat.fig
597         ${PROJECT_DIRECTORY}/doc/fig/gras_comm.fig
598 )
599
600 foreach(file ${examples_to_install_in_doc})
601         string(REGEX REPLACE "/[^/]*$" "" file "${file}")
602         set(new_examples_to_install_in_doc "${new_examples_to_install_in_doc}${file};")
603 endforeach(file ${examples_to_install_in_doc})
604
605 set(directory_to_create "")
606
607 foreach(file ${new_examples_to_install_in_doc})
608         string(REGEX MATCH "${file};" OPERATION "${directory_to_create}")
609         if(NOT OPERATION)
610                 set(directory_to_create "${directory_to_create}${file};")
611         endif(NOT OPERATION)
612 endforeach(file ${new_examples_to_install_in_doc})
613
614 file(GLOB_RECURSE add_src_files
615 "teshsuite/*.c"
616 "teshsuite/*.cxx"
617 "testsuite/*.c"
618 "testsuite/*.cxx"
619 "testsuite/*CMakeLists.txt"
620 "tools/*.c"
621 "tools/*.cxx"
622 "tools/*CMakeLists.txt"
623 "examples/*.c"
624 "examples/*.cxx"
625 "examples/*.java"
626 "examples/*.lua"
627 "examples/*.rb"
628 "examples/*CMakeLists.txt"
629 "src/bindings/*.lua"
630 "src/bindings/*.rb"
631 "src/bindings/*.c"
632 "src/bindings/*.h"
633 "src/bindings/*CMakeLists.txt"
634 )
635 set(add_src_files
636         ${add_src_files}
637         CMakeLists.txt
638         src/smpi/smpicc.in
639         src/smpi/smpif2c.in
640         src/smpi/smpiff.in
641         src/smpi/smpirun.in
642         src/simix/smx_context_sysv_private.h
643         src/simgrid_units_main.c
644         src/cunit_unit.c
645         src/ex_unit.c
646         src/dynar_unit.c
647         src/dict_unit.c
648         src/set_unit.c
649         src/swag_unit.c
650         src/xbt_str_unit.c
651         src/xbt_strbuff_unit.c
652         src/xbt_sha_unit.c
653         src/config_unit.c
654         src/xbt_synchro_unit.c
655 )
656
657 file(GLOB_RECURSE include_files
658 "include/*.h"
659 "teshsuite/*.h"
660 "testsuite/*.h"
661 "tools/*.h"
662 "examples/*.h"
663 "examples/*.hpp"
664 "src/*.h.in"
665 "include/*.h.in"
666 )
667
668 file(GLOB_RECURSE xml_files
669 "examples/*.xml"
670 "include/*.xml"
671 "src/*.xml"
672 "teshsuite/*.xml"
673 "testsuite/*.xml"
674 "tools/*.xml"
675 )
676
677 file(GLOB_RECURSE tesh_files
678 "examples/*.tesh"
679 "include/*.tesh"
680 "src/*.tesh"
681 "teshsuite/*.tesh"
682 "testsuite/*.tesh"
683 "tools/*.tesh"
684 )
685
686 file(GLOB_RECURSE txt_files
687 "testsuite/surf/trace*.txt"
688 "testsuite/simdag/availability_tremblay.txt"
689 "examples/smpi/hostfile"
690 "examples/msg/*.trace"
691 "examples/msg/migration/migration.deploy"
692 "examples/java/runtest"
693 "teshsuite/gras/datadesc/datadesc.little32_4"
694 "teshsuite/gras/datadesc/datadesc.little64"
695 "teshsuite/gras/datadesc/datadesc.big32_8"
696 "teshsuite/gras/datadesc/datadesc.big32_8_4"
697 "teshsuite/gras/datadesc/datadesc.big32_2"
698 "teshsuite/gras/datadesc/mk_datadesc_structs.pl"
699 "teshsuite/gras/msg_handle/test_rl"
700 "teshsuite/gras/msg_handle/test_sg_32"
701 "teshsuite/gras/msg_handle/test_sg_64"
702 "teshsuite/gras/empty_main/test_rl"
703 "teshsuite/gras/empty_main/test_sg"
704 "teshsuite/gras/small_sleep/test_sg_32"
705 "teshsuite/gras/small_sleep/test_sg_64"
706 "teshsuite/simdag/platforms/bob.fail"
707 "teshsuite/simdag/platforms/bob.trace"
708 "teshsuite/simdag/platforms/link1.bw"
709 "teshsuite/simdag/platforms/link1.fail"
710 "teshsuite/simdag/platforms/link1.lat"
711 "examples/gras/ping/test_rl"
712 "examples/gras/rpc/test_rl"
713 "examples/gras/spawn/test_rl"
714 "examples/gras/timer/test_rl"
715 "examples/gras/chrono/test_rl"
716 "examples/gras/mutual_exclusion/simple_token/test_rl"
717 "examples/gras/mmrpc/test_rl"
718 "examples/gras/all2all/test_rl"
719 "examples/gras/pmm/test_rl"
720 "examples/gras/synchro/test_rl"
721 "examples/gras/properties/test_rl"
722 "examples/gras/ping/test_sg_32"
723 "examples/gras/rpc/test_sg_32"
724 "examples/gras/spawn/test_sg_32"
725 "examples/gras/timer/test_sg_32"
726 "examples/gras/chrono/test_sg_32"
727 "examples/gras/mutual_exclusion/simple_token/test_sg_32"
728 "examples/gras/mmrpc/test_sg_32"
729 "examples/gras/all2all/test_sg_32"
730 "examples/gras/pmm/test_sg_32"
731 "examples/gras/synchro/test_sg_32"
732 "examples/gras/ping/test_sg_64"
733 "examples/gras/rpc/test_sg_64"
734 "examples/gras/spawn/test_sg_64"
735 "examples/gras/timer/test_sg_64"
736 "examples/gras/chrono/test_sg_64"
737 "examples/gras/mutual_exclusion/simple_token/test_sg_64"
738 "examples/gras/mmrpc/test_sg_64"
739 "examples/gras/all2all/test_sg_64"
740 "examples/gras/pmm/test_sg_64"
741 "examples/gras/synchro/test_sg_64"
742 "examples/gras/properties/test_sg"
743 "examples/java/basic/BasicTest"
744 "examples/java/ping_pong/PingPongTest"
745 "examples/java/comm_time/CommTimeTest"
746 "examples/java/suspend/SuspendTest"
747 )
748
749 set(txt_files
750         ${txt_files}
751         AUTHORS
752         ChangeLog
753         COPYING
754         LICENSE-LGPL-2.1
755         missing
756         NEWS
757         README
758         README.IEEE
759         TODO
760         examples/lua/README
761         examples/ruby/README
762 )
763
764 file(GLOB_RECURSE CMAKE_SOURCE_FILES
765 "buildtools/Cmake/test_java.sh"
766 "buildtools/Cmake/*.cmake"
767 "buildtools/Cmake/*.h.in"
768 "buildtools/Cmake/*.pl"
769 "buildtools/Cmake/*.sh"
770 "buildtools/Cmake/test_prog/*.c"
771 "buildtools/Cmake/test_prog/*.cpp"
772 )
773
774 set(bin_files
775 tools/MSG_visualization/colorize.pl
776 tools/sg_unit_extractor.pl
777 tools/simgrid_update_xml.pl
778 )
779
780 # This is the complete lise of what will be added to the source archive
781 set(source_to_pack      
782         ${XBT_RL_SRC}
783         ${EXTRA_DIST}
784         ${SMPI_SRC}
785         ${JMSG_C_SRC}
786         ${JMSG_JAVA_SRC}
787         ${GRAS_RL_SRC}
788         ${XBT_SRC}
789         ${GTNETS_SRC}
790         ${SURF_SRC}
791         ${SIMIX_SRC}
792         ${TRACING_SRC}
793         ${MSG_SRC}
794         ${SIMDAG_SRC}
795         ${GRAS_COMMON_SRC}
796         ${GRAS_SG_SRC}
797         ${AMOK_SRC}
798         ${LUA_SRC}
799         ${RUBY_SRC}
800         ${MC_SRC}
801         ${add_src_files}
802         ${include_files}
803         ${xml_files}
804         ${tesh_files}
805         ${txt_files}
806         ${EXTRA_DIST}
807         ${CMAKE_SOURCE_FILES}
808         ${bin_files}
809         ${DOC_SOURCES}
810         ${DOC_FIGS}
811 )