Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Change the way supernovae files are generated so that out of source works
[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                 ${MSG_SRC}
525         )
526 endif(${HAVE_JAVA})
527
528 if(${HAVE_RUBY})
529         set(simgrid_sources
530                 ${simgrid_sources}
531                 ${RUBY_SRC}
532                 src/bindings/ruby/simgrid_ruby.c
533         )
534 else(${HAVE_RUBY})
535         set(EXTRA_DIST
536                 ${EXTRA_DIST}
537                 ${RUBY_SRC}
538                 src/bindings/ruby/simgrid_ruby.c
539         )
540 endif(${HAVE_RUBY})
541
542 file(GLOB_RECURSE examples_to_install_in_doc
543 "examples/*.c"
544 "examples/*.h"
545 "examples/*.cxx"
546 "examples/*.hpp"
547 "examples/*.c"
548 "examples/*.rb"
549 "examples/*.lua"
550 "examples/*.java"
551 "examples/*.xml"
552 )
553
554 foreach(file ${examples_to_install_in_doc})
555         string(REGEX REPLACE "/[^/]*$" "" file "${file}")
556         set(new_examples_to_install_in_doc "${new_examples_to_install_in_doc}${file};")
557 endforeach(file ${examples_to_install_in_doc})
558
559 set(directory_to_create "")
560
561 foreach(file ${new_examples_to_install_in_doc})
562         string(REGEX MATCH "${file};" OPERATION "${directory_to_create}")
563         if(NOT OPERATION)
564                 set(directory_to_create "${directory_to_create}${file};")
565         endif(NOT OPERATION)
566 endforeach(file ${new_examples_to_install_in_doc})
567
568 file(GLOB_RECURSE add_src_files
569 "teshsuite/*.c"
570 "teshsuite/*.cxx"
571 "testsuite/*.c"
572 "testsuite/*.cxx"
573 "testsuite/*CMakeLists.txt"
574 "tools/*.c"
575 "tools/*.cxx"
576 "tools/*CMakeLists.txt"
577 "examples/*.c"
578 "examples/*.cxx"
579 "examples/*.java"
580 "examples/*.lua"
581 "examples/*.rb"
582 "examples/*CMakeLists.txt"
583 "src/bindings/*.lua"
584 "src/bindings/*.rb"
585 "src/bindings/*.c"
586 "src/bindings/*.h"
587 "src/bindings/*CMakeLists.txt"
588 )
589 set(add_src_files
590         ${add_src_files}
591         CMakeLists.txt
592         src/smpi/smpicc.in
593         src/smpi/smpif2c.in
594         src/smpi/smpiff.in
595         src/smpi/smpirun.in
596         src/simix/smx_context_sysv_private.h
597         src/simgrid_units_main.c
598         src/cunit_unit.c
599         src/ex_unit.c
600         src/dynar_unit.c
601         src/dict_unit.c
602         src/set_unit.c
603         src/swag_unit.c
604         src/xbt_str_unit.c
605         src/xbt_strbuff_unit.c
606         src/xbt_sha_unit.c
607         src/config_unit.c
608         src/xbt_synchro_unit.c
609 )
610
611 file(GLOB_RECURSE include_files
612 "include/*.h"
613 "teshsuite/*.h"
614 "testsuite/*.h"
615 "tools/*.h"
616 "examples/*.h"
617 "examples/*.hpp"
618 "src/*.h.in"
619 "include/*.h.in"
620 )
621
622 file(GLOB_RECURSE xml_files
623 "examples/*.xml"
624 "include/*.xml"
625 "src/*.xml"
626 "teshsuite/*.xml"
627 "testsuite/*.xml"
628 "tools/*.xml"
629 )
630
631 file(GLOB_RECURSE tesh_files
632 "examples/*.tesh"
633 "include/*.tesh"
634 "src/*.tesh"
635 "teshsuite/*.tesh"
636 "testsuite/*.tesh"
637 "tools/*.tesh"
638 )
639
640 file(GLOB_RECURSE txt_files
641 "testsuite/surf/trace*.txt"
642 "testsuite/simdag/availability_tremblay.txt"
643 "examples/smpi/hostfile"
644 "examples/msg/*.trace"
645 "examples/msg/migration/migration.deploy"
646 "examples/java/runtest"
647 "teshsuite/gras/datadesc/datadesc.little32_4"
648 "teshsuite/gras/datadesc/datadesc.little64"
649 "teshsuite/gras/datadesc/datadesc.big32_8"
650 "teshsuite/gras/datadesc/datadesc.big32_8_4"
651 "teshsuite/gras/datadesc/datadesc.big32_2"
652 "teshsuite/gras/datadesc/mk_datadesc_structs.pl"
653 "teshsuite/gras/msg_handle/test_rl"
654 "teshsuite/gras/msg_handle/test_sg_32"
655 "teshsuite/gras/msg_handle/test_sg_64"
656 "teshsuite/gras/empty_main/test_rl"
657 "teshsuite/gras/empty_main/test_sg"
658 "teshsuite/gras/small_sleep/test_sg_32"
659 "teshsuite/gras/small_sleep/test_sg_64"
660 "teshsuite/simdag/platforms/bob.fail"
661 "teshsuite/simdag/platforms/bob.trace"
662 "teshsuite/simdag/platforms/link1.bw"
663 "teshsuite/simdag/platforms/link1.fail"
664 "teshsuite/simdag/platforms/link1.lat"
665 "examples/gras/ping/test_rl"
666 "examples/gras/rpc/test_rl"
667 "examples/gras/spawn/test_rl"
668 "examples/gras/timer/test_rl"
669 "examples/gras/chrono/test_rl"
670 "examples/gras/mutual_exclusion/simple_token/test_rl"
671 "examples/gras/mmrpc/test_rl"
672 "examples/gras/all2all/test_rl"
673 "examples/gras/pmm/test_rl"
674 "examples/gras/synchro/test_rl"
675 "examples/gras/properties/test_rl"
676 "examples/gras/ping/test_sg_32"
677 "examples/gras/rpc/test_sg_32"
678 "examples/gras/spawn/test_sg_32"
679 "examples/gras/timer/test_sg_32"
680 "examples/gras/chrono/test_sg_32"
681 "examples/gras/mutual_exclusion/simple_token/test_sg_32"
682 "examples/gras/mmrpc/test_sg_32"
683 "examples/gras/all2all/test_sg_32"
684 "examples/gras/pmm/test_sg_32"
685 "examples/gras/synchro/test_sg_32"
686 "examples/gras/ping/test_sg_64"
687 "examples/gras/rpc/test_sg_64"
688 "examples/gras/spawn/test_sg_64"
689 "examples/gras/timer/test_sg_64"
690 "examples/gras/chrono/test_sg_64"
691 "examples/gras/mutual_exclusion/simple_token/test_sg_64"
692 "examples/gras/mmrpc/test_sg_64"
693 "examples/gras/all2all/test_sg_64"
694 "examples/gras/pmm/test_sg_64"
695 "examples/gras/synchro/test_sg_64"
696 "examples/gras/properties/test_sg"
697 "examples/java/basic/BasicTest"
698 "examples/java/ping_pong/PingPongTest"
699 "examples/java/comm_time/CommTimeTest"
700 "examples/java/suspend/SuspendTest"
701 )
702
703 set(txt_files
704         ${txt_files}
705         AUTHORS
706         ChangeLog
707         COPYING
708         LICENSE-LGPL-2.1
709         missing
710         NEWS
711         README
712         README.IEEE
713         TODO
714         examples/lua/README
715         examples/ruby/README
716 )
717
718 file(GLOB_RECURSE CMAKE_SOURCE_FILES
719 "buildtools/Cmake/test_java.sh"
720 "buildtools/Cmake/*.cmake"
721 "buildtools/Cmake/*.h.in"
722 "buildtools/Cmake/*.pl"
723 "buildtools/Cmake/*.sh"
724 "buildtools/Cmake/test_prog/*.c"
725 "buildtools/Cmake/test_prog/*.cpp"
726 )
727
728 set(bin_files
729 tools/MSG_visualization/colorize.pl
730 tools/sg_unit_extractor.pl
731 tools/simgrid_update_xml.pl
732 )
733
734 # This is the complete lise of what will be added to the source archive
735 set(source_to_pack      
736         ${XBT_RL_SRC}
737         ${EXTRA_DIST}
738         ${SMPI_SRC}
739         ${JMSG_C_SRC}
740         ${JMSG_JAVA_SRC}
741         ${GRAS_RL_SRC}
742         ${XBT_SRC}
743         ${GTNETS_SRC}
744         ${SURF_SRC}
745         ${SIMIX_SRC}
746         ${TRACING_SRC}
747         ${MSG_SRC}
748         ${SIMDAG_SRC}
749         ${GRAS_COMMON_SRC}
750         ${GRAS_SG_SRC}
751         ${AMOK_SRC}
752         ${LUA_SRC}
753         ${RUBY_SRC}
754         ${MC_SRC}
755         ${add_src_files}
756         ${include_files}
757         ${xml_files}
758         ${tesh_files}
759         ${txt_files}
760         ${EXTRA_DIST}
761         ${CMAKE_SOURCE_FILES}
762         ${bin_files}
763 )