Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Support for Fortran code in SMPI based on f2c, some perl and some dirty hacks.
[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(GRAPH_H OR AGRAPH_H OR CGRAPH_H)
273         set(SIMDAG_SRC 
274             ${SIMDAG_SRC}
275                 src/simdag/sd_dotloader.c
276         )
277 endif(GRAPH_H OR AGRAPH_H OR CGRAPH_H)
278
279 set(GRAS_COMMON_SRC
280         src/gras/gras.c
281         src/gras/Transport/transport.c
282         src/gras/Transport/transport_private.h
283         src/gras/Msg/gras_msg_mod.c
284         src/gras/Msg/gras_msg_types.c
285         src/gras/Msg/gras_msg_exchange.c
286         src/gras/Msg/gras_msg_listener.c
287         src/gras/Msg/rpc.c 
288         src/gras/Msg/timer.c
289         src/gras/Msg/msg_interface.h
290         src/gras/Msg/msg_private.h
291         src/gras/Virtu/process.c
292         src/gras/Virtu/gras_module.c
293         src/gras/DataDesc/ddt_create.c
294         src/gras/DataDesc/ddt_convert.c
295         src/gras/DataDesc/ddt_exchange.c
296         src/gras/DataDesc/cbps.c
297         src/gras/DataDesc/datadesc.c
298         src/gras/DataDesc/datadesc_interface.h
299         src/gras/DataDesc/datadesc_private.h
300         src/gras/DataDesc/ddt_parse.c
301         src/gras/DataDesc/ddt_parse.yy.c
302 )
303
304 set(GRAS_SG_SRC
305         src/gras/Transport/sg_transport.c
306         src/gras/Transport/transport_plugin_sg.c
307         src/gras/Virtu/sg_emul.c
308         src/gras/Virtu/sg_process.c
309         src/gras/Virtu/sg_dns.c
310         src/gras/Msg/sg_msg.c
311         ${XBT_SG_SRC}
312 )
313
314 set(AMOK_SRC
315         src/amok/amok_base.c
316         src/amok/Bandwidth/bandwidth.c
317         src/amok/Bandwidth/saturate.c
318         src/amok/PeerManagement/peermanagement.c
319 )
320
321 set(LUA_SRC
322         src/simix/smx_context_lua.c
323         src/bindings/lua/simgrid_lua.c
324         src/bindings/lua/lua_stub_generator.c
325         src/bindings/lua/lua_console.c
326 )
327
328 set(TRACING_SRC
329         src/instr/instr_config.c
330         src/instr/categories.c
331         src/instr/interface.c
332         src/instr/general.c
333         src/instr/paje.c
334         src/instr/msg_task_instr.c
335         src/instr/msg_process_instr.c
336         src/instr/msg_volume.c
337         src/instr/smx_instr.c
338         src/instr/surf_instr.c
339         src/instr/smpi_instr.c
340         src/instr/sd_instr.c
341         src/instr/variables_instr.c
342         src/instr/resource_utilization.c
343         src/instr/private.h
344 )
345
346 set(RUBY_SRC
347 src/simix/smx_context_ruby.c
348 src/bindings/ruby/rb_msg_process.c
349 src/bindings/ruby/rb_msg_host.c
350 src/bindings/ruby/rb_msg_task.c
351 src/bindings/ruby/rb_application_handler.c
352 )
353
354 set(MC_SRC
355         src/mc/mc_memory.c
356         src/mc/mc_checkpoint.c
357         src/mc/memory_map.c
358         src/mc/mc_global.c
359         src/mc/mc_dfs.c
360         src/mc/mc_dpor.c
361         src/mc/mc_transition.c
362         src/mc/private.h
363 )
364
365 set(install_HEADERS
366 include/xbt/misc.h
367 include/xbt/sysdep.h
368 include/xbt/virtu.h
369 include/xbt/str.h
370 include/xbt/strbuff.h
371 include/xbt/hash.h
372 include/xbt/function_types.h
373 include/xbt/asserts.h 
374 include/xbt/ex.h
375 include/xbt/log.h
376 include/xbt/module.h
377 include/xbt/mallocator.h
378 include/xbt/dynar.h
379 include/xbt/dict.h
380 include/xbt/set.h
381 include/xbt/heap.h
382 include/xbt/graph.h
383 include/xbt/fifo.h
384 include/xbt/swag.h
385 include/xbt/matrix.h
386 include/xbt/peer.h
387 include/xbt/config.h
388 include/xbt/cunit.h
389 include/xbt/graphxml_parse.h
390 include/xbt/graphxml.h
391 include/xbt/time.h
392 include/xbt/synchro.h
393 include/xbt/synchro_core.h
394 include/xbt/queue.h
395 include/xbt/setset.h
396 include/xbt/mmalloc.h
397 include/mc/modelchecker.h
398 include/msg/msg.h
399 include/msg/datatypes.h
400 include/simdag/simdag.h
401 include/simdag/datatypes.h
402 include/smpi/smpi.h
403 include/smpi/smpif.h
404 include/smpi/mpi.h
405 include/smpi/mpif.h
406 include/surf/surfxml_parse.h
407 include/surf/simgrid_dtd.h
408 include/gras/datadesc.h
409 include/gras/transport.h
410 include/gras/virtu.h
411 include/gras/emul.h
412 include/gras/process.h
413 include/gras/module.h
414 include/gras/messages.h
415 include/gras/timer.h
416 include/amok/peermanagement.h
417 include/amok/bandwidth.h
418 include/instr/instr.h
419 ${CMAKE_CURRENT_BINARY_DIR}/include/simgrid_config.h
420 include/gras.h 
421 include/xbt.h
422 )
423
424 set(TEST_UNITS
425 ${PROJECT_DIRECTORY}/src/cunit_unit.c
426 ${PROJECT_DIRECTORY}/src/ex_unit.c
427 ${PROJECT_DIRECTORY}/src/dynar_unit.c
428 ${PROJECT_DIRECTORY}/src/dict_unit.c
429 ${PROJECT_DIRECTORY}/src/set_unit.c
430 ${PROJECT_DIRECTORY}/src/swag_unit.c
431 ${PROJECT_DIRECTORY}/src/xbt_str_unit.c
432 ${PROJECT_DIRECTORY}/src/xbt_strbuff_unit.c
433 ${PROJECT_DIRECTORY}/src/xbt_sha_unit.c
434 ${PROJECT_DIRECTORY}/src/config_unit.c
435 ${PROJECT_DIRECTORY}/src/xbt_synchro_unit.c
436 )
437
438 set(TEST_CFILES
439 src/xbt/cunit.c
440 src/xbt/ex.c
441 src/xbt/dynar.c
442 src/xbt/dict.c
443 src/xbt/set.c
444 src/xbt/swag.c
445 src/xbt/xbt_str.c
446 src/xbt/xbt_strbuff.c
447 src/xbt/xbt_sha.c
448 src/xbt/config.c
449 src/xbt/xbt_synchro.c
450 )
451
452 ### depend of some variables setted upper
453 # -->CONTEXT_THREADS
454 if(${CONTEXT_THREADS}) #pthread
455         set(SURF_SRC
456                 ${SURF_SRC}
457                 src/xbt/xbt_os_thread.c
458                 src/simix/smx_context_thread.c
459         )
460         set(EXTRA_DIST
461                 ${EXTRA_DIST}
462                 src/simix/smx_context_sysv.c
463         )
464 else(${CONTEXT_THREADS}) #ucontext
465         set(SURF_SRC
466                 ${SURF_SRC}
467                 src/simix/smx_context_sysv.c
468         )
469
470         if(WIN32)
471         set(SURF_SRC
472                 ${SURF_SRC}
473                 src/xbt/xbt_os_thread.c
474                 src/simix/smx_context_thread.c)
475     else(WIN32)
476         set(EXTRA_DIST
477                 ${EXTRA_DIST}
478                 src/xbt/xbt_os_thread.c
479                 src/simix/smx_context_thread.c)
480     endif(WIN32)
481 endif(${CONTEXT_THREADS})
482
483
484
485
486 # -->HAVE_GTNETS
487 if(HAVE_GTNETS)
488         set(GTNETS_USED 
489                 ${GTNETS_SRC}
490         )
491 else(HAVE_GTNETS)
492         set(GTNETS_USED "")
493         set(EXTRA_DIST
494                 ${EXTRA_DIST}
495                 ${GTNETS_SRC}
496         )
497 endif(HAVE_GTNETS)
498
499 set(EXTRA_DIST
500         ${EXTRA_DIST}
501         ${JMSG_JAVA_SRC}
502 )
503
504 ### Simgrid Lib sources
505 set(simgrid_sources
506         ${XBT_SRC}
507         ${SURF_SRC}
508         ${GTNETS_USED}
509         ${SIMIX_SRC}
510         ${MSG_SRC}
511         ${TRACING_SRC}
512         ${SIMDAG_SRC}
513         ${GRAS_COMMON_SRC}
514         ${GRAS_SG_SRC}
515         ${AMOK_SRC}
516 )
517
518 if(HAVE_MC)
519         set(simgrid_sources
520                 ${simgrid_sources}
521                 ${MC_SRC}
522                 )
523 endif(HAVE_MC)
524
525 ### Gras Lib sources
526 set(gras_sources
527         ${XBT_SRC}
528         ${GRAS_COMMON_SRC}
529         ${GRAS_RL_SRC}
530         ${AMOK_SRC}
531 )
532
533 if(${HAVE_LUA})
534         set(simgrid_sources
535                 ${simgrid_sources}
536                 ${LUA_SRC}
537         )
538 elseif(${HAVE_LUA})
539         set(EXTRA_DIST
540                 ${EXTRA_DIST}
541                 ${LUA_SRC}
542         )
543 endif(${HAVE_LUA})
544
545 if(${HAVE_JAVA})
546         set(simgrid_sources
547                 ${simgrid_sources}
548                 ${JMSG_C_SRC} # add the binding support to the library
549         )
550 else(${HAVE_JAVA})
551         set(EXTRA_DIST
552                 ${EXTRA_DIST}
553                 ${JMSG_C_SRC}
554                 ${MSG_SRC}
555         )
556 endif(${HAVE_JAVA})
557
558 if(${HAVE_RUBY})
559         set(simgrid_sources
560                 ${simgrid_sources}
561                 ${RUBY_SRC}
562                 src/bindings/ruby/simgrid_ruby.c
563         )
564 else(${HAVE_RUBY})
565         set(EXTRA_DIST
566                 ${EXTRA_DIST}
567                 ${RUBY_SRC}
568                 src/bindings/ruby/simgrid_ruby.c
569         )
570 endif(${HAVE_RUBY})
571
572 file(GLOB_RECURSE examples_to_install_in_doc
573 "examples/*.c"
574 "examples/*.h"
575 "examples/*.cxx"
576 "examples/*.hpp"
577 "examples/*.c"
578 "examples/*.rb"
579 "examples/*.lua"
580 "examples/*.java"
581 "examples/*.xml"
582 )
583
584 foreach(file ${examples_to_install_in_doc})
585         string(REGEX REPLACE "/[^/]*$" "" file "${file}")
586         set(new_examples_to_install_in_doc "${new_examples_to_install_in_doc}${file};")
587 endforeach(file ${examples_to_install_in_doc})
588
589 set(directory_to_create "")
590
591 foreach(file ${new_examples_to_install_in_doc})
592         string(REGEX MATCH "${file};" OPERATION "${directory_to_create}")
593         if(NOT OPERATION)
594                 set(directory_to_create "${directory_to_create}${file};")
595         endif(NOT OPERATION)
596 endforeach(file ${new_examples_to_install_in_doc})
597
598 file(GLOB_RECURSE add_src_files
599 "teshsuite/*.c"
600 "teshsuite/*.cxx"
601 "testsuite/*.c"
602 "testsuite/*.cxx"
603 "tools/*.c"
604 "tools/*.cxx"
605 "examples/*.c"
606 "examples/*.cxx"
607 "examples/*.java"
608 "examples/*.lua"
609 "examples/*.rb"
610 "src/bindings/*.lua"
611 "src/bindings/*.rb"
612 "src/bindings/*.c"
613 "src/bindings/*.h"
614 "*CMakeLists.txt"
615 )
616 set(add_src_files
617         ${add_src_files}
618         src/smpi/smpicc.in
619         src/smpi/smpif2c.in
620         src/smpi/smpiff.in
621         src/smpi/smpirun.in
622         src/simix/smx_context_sysv_private.h
623         src/simgrid_units_main.c
624         src/cunit_unit.c
625         src/ex_unit.c
626         src/dynar_unit.c
627         src/dict_unit.c
628         src/set_unit.c
629         src/swag_unit.c
630         src/xbt_str_unit.c
631         src/xbt_strbuff_unit.c
632         src/xbt_sha_unit.c
633         src/config_unit.c
634         src/xbt_synchro_unit.c
635 )
636
637 file(GLOB_RECURSE include_files
638 "include/*.h"
639 "teshsuite/*.h"
640 "testsuite/*.h"
641 "tools/*.h"
642 "examples/*.h"
643 "examples/*.hpp"
644 "src/*.h.in"
645 "include/*.h.in"
646 )
647
648 file(GLOB_RECURSE xml_files
649 "examples/*.xml"
650 "include/*.xml"
651 "src/*.xml"
652 "teshsuite/*.xml"
653 "testsuite/*.xml"
654 "tools/*.xml"
655 )
656
657 file(GLOB_RECURSE tesh_files
658 "examples/*.tesh"
659 "include/*.tesh"
660 "src/*.tesh"
661 "teshsuite/*.tesh"
662 "testsuite/*.tesh"
663 "tools/*.tesh"
664 )
665
666 file(GLOB_RECURSE txt_files
667 "testsuite/surf/trace*.txt"
668 "testsuite/simdag/availability_tremblay.txt"
669 "examples/smpi/hostfile"
670 "examples/msg/*.trace"
671 "examples/msg/migration/migration.deploy"
672 "examples/java/runtest"
673 "teshsuite/gras/datadesc/datadesc.little32_4"
674 "teshsuite/gras/datadesc/datadesc.little64"
675 "teshsuite/gras/datadesc/datadesc.big32_8"
676 "teshsuite/gras/datadesc/datadesc.big32_8_4"
677 "teshsuite/gras/datadesc/datadesc.big32_2"
678 "teshsuite/gras/datadesc/mk_datadesc_structs.pl"
679 "teshsuite/gras/msg_handle/test_rl"
680 "teshsuite/gras/msg_handle/test_sg_32"
681 "teshsuite/gras/msg_handle/test_sg_64"
682 "teshsuite/gras/empty_main/test_rl"
683 "teshsuite/gras/empty_main/test_sg"
684 "teshsuite/gras/small_sleep/test_sg_32"
685 "teshsuite/gras/small_sleep/test_sg_64"
686 "teshsuite/simdag/platforms/bob.fail"
687 "teshsuite/simdag/platforms/bob.trace"
688 "teshsuite/simdag/platforms/link1.bw"
689 "teshsuite/simdag/platforms/link1.fail"
690 "teshsuite/simdag/platforms/link1.lat"
691 "examples/gras/ping/test_rl"
692 "examples/gras/rpc/test_rl"
693 "examples/gras/spawn/test_rl"
694 "examples/gras/timer/test_rl"
695 "examples/gras/chrono/test_rl"
696 "examples/gras/mutual_exclusion/simple_token/test_rl"
697 "examples/gras/mmrpc/test_rl"
698 "examples/gras/all2all/test_rl"
699 "examples/gras/pmm/test_rl"
700 "examples/gras/synchro/test_rl"
701 "examples/gras/properties/test_rl"
702 "examples/gras/ping/test_sg_32"
703 "examples/gras/rpc/test_sg_32"
704 "examples/gras/spawn/test_sg_32"
705 "examples/gras/timer/test_sg_32"
706 "examples/gras/chrono/test_sg_32"
707 "examples/gras/mutual_exclusion/simple_token/test_sg_32"
708 "examples/gras/mmrpc/test_sg_32"
709 "examples/gras/all2all/test_sg_32"
710 "examples/gras/pmm/test_sg_32"
711 "examples/gras/synchro/test_sg_32"
712 "examples/gras/ping/test_sg_64"
713 "examples/gras/rpc/test_sg_64"
714 "examples/gras/spawn/test_sg_64"
715 "examples/gras/timer/test_sg_64"
716 "examples/gras/chrono/test_sg_64"
717 "examples/gras/mutual_exclusion/simple_token/test_sg_64"
718 "examples/gras/mmrpc/test_sg_64"
719 "examples/gras/all2all/test_sg_64"
720 "examples/gras/pmm/test_sg_64"
721 "examples/gras/synchro/test_sg_64"
722 "examples/gras/properties/test_sg"
723 "examples/java/basic/BasicTest"
724 "examples/java/ping_pong/PingPongTest"
725 "examples/java/comm_time/CommTimeTest"
726 "examples/java/suspend/SuspendTest"
727 )
728 set(txt_files
729         ${txt_files}
730         AUTHORS
731         ChangeLog
732         COPYING
733         missing
734         NEWS
735         README
736         README.IEEE
737         TODO
738         examples/lua/README
739         examples/ruby/README
740 )
741
742 file(GLOB_RECURSE CMAKE_SOURCE_FILES
743 "buildtools/Cmake/test_java.sh"
744 "buildtools/Cmake/*.cmake"
745 "buildtools/Cmake/*.h.in"
746 "buildtools/Cmake/*.pl"
747 "buildtools/Cmake/*.sh"
748 "buildtools/Cmake/test_prog/*.c"
749 "buildtools/Cmake/test_prog/*.cpp"
750 )
751
752 set(bin_files
753 tools/MSG_visualization/colorize.pl
754 tools/sg_unit_extractor.pl
755 tools/simgrid_update_xml.pl
756 )
757
758 # This is the complete lise of what will be added to the source archive
759 set(source_to_pack      
760         ${XBT_RL_SRC}
761         ${EXTRA_DIST}
762         ${SMPI_SRC}
763         ${JMSG_C_SRC}
764         ${JMSG_JAVA_SRC}
765         ${GRAS_RL_SRC}
766         ${XBT_SRC}
767         ${GTNETS_SRC}
768         ${SURF_SRC}
769         ${SIMIX_SRC}
770         ${TRACING_SRC}
771         ${MSG_SRC}
772         ${SIMDAG_SRC}
773         ${GRAS_COMMON_SRC}
774         ${GRAS_SG_SRC}
775         ${AMOK_SRC}
776         ${LUA_SRC}
777         ${RUBY_SRC}
778         ${MC_SRC}
779         ${add_src_files}
780         ${include_files}
781         ${xml_files}
782         ${tesh_files}
783         ${txt_files}
784         ${TEST_CFILES}
785         ${EXTRA_DIST}
786         ${CMAKE_SOURCE_FILES}
787         ${bin_files}
788 )