Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
glob_recurse are the devil, but globbing from root dir is PURE MADNESS: it gets the...
[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.sh
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 set(TEST_UNITS
423         ${PROJECT_DIRECTORY}/src/cunit_unit.c
424         ${PROJECT_DIRECTORY}/src/ex_unit.c
425         ${PROJECT_DIRECTORY}/src/dynar_unit.c
426         ${PROJECT_DIRECTORY}/src/dict_unit.c
427         ${PROJECT_DIRECTORY}/src/set_unit.c
428         ${PROJECT_DIRECTORY}/src/swag_unit.c
429         ${PROJECT_DIRECTORY}/src/xbt_str_unit.c
430         ${PROJECT_DIRECTORY}/src/xbt_strbuff_unit.c
431         ${PROJECT_DIRECTORY}/src/xbt_sha_unit.c
432         ${PROJECT_DIRECTORY}/src/config_unit.c
433         ${PROJECT_DIRECTORY}/src/xbt_synchro_unit.c
434 )
435
436 set(TEST_CFILES
437         src/xbt/cunit.c
438         src/xbt/ex.c
439         src/xbt/dynar.c
440         src/xbt/dict.c
441         src/xbt/set.c
442         src/xbt/swag.c
443         src/xbt/xbt_str.c
444         src/xbt/xbt_strbuff.c
445         src/xbt/xbt_sha.c
446         src/xbt/config.c
447         src/xbt/xbt_synchro.c
448 )
449
450 ### depend of some variables setted upper
451 # -->CONTEXT_THREADS
452 if(${CONTEXT_THREADS}) #pthread
453         set(SURF_SRC
454                 ${SURF_SRC}
455                 src/xbt/xbt_os_thread.c
456                 src/simix/smx_context_thread.c
457         )
458         set(EXTRA_DIST
459                 ${EXTRA_DIST}
460                 src/simix/smx_context_sysv.c
461         )
462 else(${CONTEXT_THREADS}) #ucontext
463         set(SURF_SRC
464                 ${SURF_SRC}
465                 src/simix/smx_context_sysv.c
466         )
467
468         if(WIN32)
469         set(SURF_SRC
470                 ${SURF_SRC}
471                 src/xbt/xbt_os_thread.c
472                 src/simix/smx_context_thread.c)
473     else(WIN32)
474         set(EXTRA_DIST
475                 ${EXTRA_DIST}
476                 src/xbt/xbt_os_thread.c
477                 src/simix/smx_context_thread.c)
478     endif(WIN32)
479 endif(${CONTEXT_THREADS})
480
481
482
483
484 # -->HAVE_GTNETS
485 if(HAVE_GTNETS)
486         set(GTNETS_USED 
487                 ${GTNETS_SRC}
488         )
489 else(HAVE_GTNETS)
490         set(GTNETS_USED "")
491         set(EXTRA_DIST
492                 ${EXTRA_DIST}
493                 ${GTNETS_SRC}
494         )
495 endif(HAVE_GTNETS)
496
497
498 ### Simgrid Lib sources
499 set(simgrid_sources
500         ${XBT_SRC}
501         ${SURF_SRC}
502         ${GTNETS_USED}
503         ${SIMIX_SRC}
504         ${MSG_SRC}
505         ${TRACING_SRC}
506         ${SIMDAG_SRC}
507         ${GRAS_COMMON_SRC}
508         ${GRAS_SG_SRC}
509         ${AMOK_SRC}
510 )
511
512 if(HAVE_MC)
513         set(simgrid_sources
514                 ${simgrid_sources}
515                 ${MC_SRC}
516                 )
517 endif(HAVE_MC)
518
519 ### Gras Lib sources
520 set(gras_sources
521         ${XBT_SRC}
522         ${GRAS_COMMON_SRC}
523         ${GRAS_RL_SRC}
524         ${AMOK_SRC}
525 )
526
527 if(${HAVE_LUA})
528         set(simgrid_sources
529                 ${simgrid_sources}
530                 ${LUA_SRC}
531         )
532 elseif(${HAVE_LUA})
533         set(EXTRA_DIST
534                 ${EXTRA_DIST}
535                 ${LUA_SRC}
536         )
537 endif(${HAVE_LUA})
538
539 set(EXTRA_DIST
540         ${EXTRA_DIST}
541         ${JMSG_JAVA_SRC}
542 )
543 if(${HAVE_JAVA})
544         set(simgrid_sources
545                 ${simgrid_sources}
546                 ${JMSG_C_SRC} # add the binding support to the library
547         )
548 else(${HAVE_JAVA})
549         set(EXTRA_DIST
550                 ${EXTRA_DIST}
551                 ${JMSG_C_SRC}
552                 ${MSG_SRC}
553         )
554 endif(${HAVE_JAVA})
555
556 if(${HAVE_RUBY})
557         set(simgrid_sources
558                 ${simgrid_sources}
559                 ${RUBY_SRC}
560                 src/bindings/ruby/simgrid_ruby.c
561         )
562 else(${HAVE_RUBY})
563         set(EXTRA_DIST
564                 ${EXTRA_DIST}
565                 ${RUBY_SRC}
566                 src/bindings/ruby/simgrid_ruby.c
567         )
568 endif(${HAVE_RUBY})
569
570 file(GLOB_RECURSE examples_to_install_in_doc
571 "examples/*.c"
572 "examples/*.h"
573 "examples/*.cxx"
574 "examples/*.hpp"
575 "examples/*.c"
576 "examples/*.rb"
577 "examples/*.lua"
578 "examples/*.java"
579 "examples/*.xml"
580 )
581
582 foreach(file ${examples_to_install_in_doc})
583         string(REGEX REPLACE "/[^/]*$" "" file "${file}")
584         set(new_examples_to_install_in_doc "${new_examples_to_install_in_doc}${file};")
585 endforeach(file ${examples_to_install_in_doc})
586
587 set(directory_to_create "")
588
589 foreach(file ${new_examples_to_install_in_doc})
590         string(REGEX MATCH "${file};" OPERATION "${directory_to_create}")
591         if(NOT OPERATION)
592                 set(directory_to_create "${directory_to_create}${file};")
593         endif(NOT OPERATION)
594 endforeach(file ${new_examples_to_install_in_doc})
595
596 file(GLOB_RECURSE add_src_files
597 "teshsuite/*.c"
598 "teshsuite/*.cxx"
599 "testsuite/*.c"
600 "testsuite/*.cxx"
601 "testsuite/*CMakeLists.txt"
602 "tools/*.c"
603 "tools/*.cxx"
604 "tools/*CMakeLists.txt"
605 "examples/*.c"
606 "examples/*.cxx"
607 "examples/*.java"
608 "examples/*.lua"
609 "examples/*.rb"
610 "examples/*CMakeLists.txt"
611 "src/bindings/*.lua"
612 "src/bindings/*.rb"
613 "src/bindings/*.c"
614 "src/bindings/*.h"
615 "src/bindings/*CMakeLists.txt"
616 )
617 set(add_src_files
618         ${add_src_files}
619         CMakeLists.txt
620         src/smpi/smpicc.in
621         src/smpi/smpif2c.in
622         src/smpi/smpiff.in
623         src/smpi/smpirun.in
624         src/simix/smx_context_sysv_private.h
625         src/simgrid_units_main.c
626         src/cunit_unit.c
627         src/ex_unit.c
628         src/dynar_unit.c
629         src/dict_unit.c
630         src/set_unit.c
631         src/swag_unit.c
632         src/xbt_str_unit.c
633         src/xbt_strbuff_unit.c
634         src/xbt_sha_unit.c
635         src/config_unit.c
636         src/xbt_synchro_unit.c
637 )
638
639 file(GLOB_RECURSE include_files
640 "include/*.h"
641 "teshsuite/*.h"
642 "testsuite/*.h"
643 "tools/*.h"
644 "examples/*.h"
645 "examples/*.hpp"
646 "src/*.h.in"
647 "include/*.h.in"
648 )
649
650 file(GLOB_RECURSE xml_files
651 "examples/*.xml"
652 "include/*.xml"
653 "src/*.xml"
654 "teshsuite/*.xml"
655 "testsuite/*.xml"
656 "tools/*.xml"
657 )
658
659 file(GLOB_RECURSE tesh_files
660 "examples/*.tesh"
661 "include/*.tesh"
662 "src/*.tesh"
663 "teshsuite/*.tesh"
664 "testsuite/*.tesh"
665 "tools/*.tesh"
666 )
667
668 file(GLOB_RECURSE txt_files
669 "testsuite/surf/trace*.txt"
670 "testsuite/simdag/availability_tremblay.txt"
671 "examples/smpi/hostfile"
672 "examples/msg/*.trace"
673 "examples/msg/migration/migration.deploy"
674 "examples/java/runtest"
675 "teshsuite/gras/datadesc/datadesc.little32_4"
676 "teshsuite/gras/datadesc/datadesc.little64"
677 "teshsuite/gras/datadesc/datadesc.big32_8"
678 "teshsuite/gras/datadesc/datadesc.big32_8_4"
679 "teshsuite/gras/datadesc/datadesc.big32_2"
680 "teshsuite/gras/datadesc/mk_datadesc_structs.pl"
681 "teshsuite/gras/msg_handle/test_rl"
682 "teshsuite/gras/msg_handle/test_sg_32"
683 "teshsuite/gras/msg_handle/test_sg_64"
684 "teshsuite/gras/empty_main/test_rl"
685 "teshsuite/gras/empty_main/test_sg"
686 "teshsuite/gras/small_sleep/test_sg_32"
687 "teshsuite/gras/small_sleep/test_sg_64"
688 "teshsuite/simdag/platforms/bob.fail"
689 "teshsuite/simdag/platforms/bob.trace"
690 "teshsuite/simdag/platforms/link1.bw"
691 "teshsuite/simdag/platforms/link1.fail"
692 "teshsuite/simdag/platforms/link1.lat"
693 "examples/gras/ping/test_rl"
694 "examples/gras/rpc/test_rl"
695 "examples/gras/spawn/test_rl"
696 "examples/gras/timer/test_rl"
697 "examples/gras/chrono/test_rl"
698 "examples/gras/mutual_exclusion/simple_token/test_rl"
699 "examples/gras/mmrpc/test_rl"
700 "examples/gras/all2all/test_rl"
701 "examples/gras/pmm/test_rl"
702 "examples/gras/synchro/test_rl"
703 "examples/gras/properties/test_rl"
704 "examples/gras/ping/test_sg_32"
705 "examples/gras/rpc/test_sg_32"
706 "examples/gras/spawn/test_sg_32"
707 "examples/gras/timer/test_sg_32"
708 "examples/gras/chrono/test_sg_32"
709 "examples/gras/mutual_exclusion/simple_token/test_sg_32"
710 "examples/gras/mmrpc/test_sg_32"
711 "examples/gras/all2all/test_sg_32"
712 "examples/gras/pmm/test_sg_32"
713 "examples/gras/synchro/test_sg_32"
714 "examples/gras/ping/test_sg_64"
715 "examples/gras/rpc/test_sg_64"
716 "examples/gras/spawn/test_sg_64"
717 "examples/gras/timer/test_sg_64"
718 "examples/gras/chrono/test_sg_64"
719 "examples/gras/mutual_exclusion/simple_token/test_sg_64"
720 "examples/gras/mmrpc/test_sg_64"
721 "examples/gras/all2all/test_sg_64"
722 "examples/gras/pmm/test_sg_64"
723 "examples/gras/synchro/test_sg_64"
724 "examples/gras/properties/test_sg"
725 "examples/java/basic/BasicTest"
726 "examples/java/ping_pong/PingPongTest"
727 "examples/java/comm_time/CommTimeTest"
728 "examples/java/suspend/SuspendTest"
729 )
730
731 set(txt_files
732         ${txt_files}
733         AUTHORS
734         ChangeLog
735         COPYING
736         LICENSE-LGPL-2.1
737         missing
738         NEWS
739         README
740         README.IEEE
741         TODO
742         examples/lua/README
743         examples/ruby/README
744 )
745
746 file(GLOB_RECURSE CMAKE_SOURCE_FILES
747 "buildtools/Cmake/test_java.sh"
748 "buildtools/Cmake/*.cmake"
749 "buildtools/Cmake/*.h.in"
750 "buildtools/Cmake/*.pl"
751 "buildtools/Cmake/*.sh"
752 "buildtools/Cmake/test_prog/*.c"
753 "buildtools/Cmake/test_prog/*.cpp"
754 )
755
756 set(bin_files
757 tools/MSG_visualization/colorize.pl
758 tools/sg_unit_extractor.pl
759 tools/simgrid_update_xml.pl
760 )
761
762 # This is the complete lise of what will be added to the source archive
763 set(source_to_pack      
764         ${XBT_RL_SRC}
765         ${EXTRA_DIST}
766         ${SMPI_SRC}
767         ${JMSG_C_SRC}
768         ${JMSG_JAVA_SRC}
769         ${GRAS_RL_SRC}
770         ${XBT_SRC}
771         ${GTNETS_SRC}
772         ${SURF_SRC}
773         ${SIMIX_SRC}
774         ${TRACING_SRC}
775         ${MSG_SRC}
776         ${SIMDAG_SRC}
777         ${GRAS_COMMON_SRC}
778         ${GRAS_SG_SRC}
779         ${AMOK_SRC}
780         ${LUA_SRC}
781         ${RUBY_SRC}
782         ${MC_SRC}
783         ${add_src_files}
784         ${include_files}
785         ${xml_files}
786         ${tesh_files}
787         ${txt_files}
788         ${TEST_CFILES}
789         ${EXTRA_DIST}
790         ${CMAKE_SOURCE_FILES}
791         ${bin_files}
792 )