Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
[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.c
12         src/xbt/graphxml.dtd
13         src/xbt/log_private.h
14         src/xbt/ex_interface.h
15         src/xbt/backtrace_linux.c
16         src/xbt/backtrace_windows.c
17         src/xbt/backtrace_dummy.c
18         src/xbt/setset_private.h
19         src/xbt/automatonparse_promela.c
20         src/xbt/mmalloc/mfree.c
21         src/xbt/mmalloc/mmalloc.c
22         src/xbt/mmalloc/mmalloc.info
23         src/xbt/mmalloc/mmalloc.texi
24         src/xbt/mmalloc/mm.c
25     src/xbt/mmalloc/mm_diff.c
26         src/xbt/mmalloc/mm_legacy.c
27         src/xbt/mmalloc/mm_module.c
28         src/xbt/mmalloc/mmorecore.c
29         src/xbt/mmalloc/mmprivate.h             
30         src/xbt/mmalloc/mmtrace.awk
31         src/xbt/mmalloc/mrealloc.c      
32         src/xbt/mmalloc/test/mmalloc_test.c
33         src/xbt/datadesc/ddt_parse.yy.l
34         src/xbt/datadesc/ddt_parse.yy.h
35         src/surf/maxmin_private.h
36         src/surf/trace_mgr_private.h
37         src/surf/surf_private.h
38         src/surf/surfxml_parse.c
39         src/surf/simgrid_dtd.c
40         src/surf/simgrid.dtd
41         src/surf/network_private.h
42         src/surf/storage_private.h
43         src/surf/network_gtnets_private.h
44         src/surf/gtnets/gtnets_interface.h
45         src/surf/gtnets/gtnets_simulator.h
46         src/surf/gtnets/gtnets_topology.h
47         src/surf/cpu_ti_private.h
48         src/surf/surf_routing_private.h
49         src/include/simgrid/platf_interface.h
50         src/include/surf/surf_resource.h
51         src/include/surf/datatypes.h
52         src/include/surf/maxmin.h
53         src/include/surf/trace_mgr.h
54         src/include/surf/surf.h
55         src/include/surf/surfxml_parse_values.h
56         src/include/surf/random_mgr.h
57         src/include/surf/surf_resource_lmm.h
58         src/include/xbt/wine_dbghelp.h
59         src/include/xbt/xbt_os_time.h
60         src/include/mc/datatypes.h
61         src/include/mc/mc.h
62         src/include/simix/context.h
63         src/msg/msg_private.h
64         src/msg/msg_mailbox.h
65         src/simdag/private.h
66         src/simdag/dax.dtd
67         src/simdag/dax_dtd.h
68         src/simdag/dax_dtd.c
69         src/gras/Virtu/virtu_rl.h
70         src/gras/Virtu/virtu_sg.h
71         src/gras/Virtu/virtu_interface.h
72         src/gras/Virtu/virtu_private.h
73         src/gras/Transport/transport_interface.h
74         src/amok/Bandwidth/bandwidth_private.h
75         src/amok/amok_modinter.h
76         src/simix/smx_private.h
77         src/simix/smx_process_private.h
78         src/simix/smx_host_private.h
79         src/simix/smx_network_private.h
80         src/simix/smx_smurf_private.h
81         src/simix/smx_synchro_private.h
82         src/simix/smx_io_private.h
83         
84         src/smpi/private.h
85         src/smpi/smpi_mpi_dt_private.h
86         src/smpi/README
87         src/mk_supernovae.pl
88         
89         examples/gras/ping/ping.h
90         examples/gras/console/ping.h
91         examples/gras/mmrpc/mmrpc.h
92         
93     examples/msg/mc/parserPromela.yacc
94     examples/msg/mc/parserPromela.lex
95     examples/msg/mc/automaton.h
96     examples/msg/mc/bugged1_liveness.h
97     examples/msg/mc/centralized_liveness.h
98     examples/msg/mc/automatonparse_promela.h
99     examples/msg/mc/bugged2_liveness.h
100     examples/msg/mc/y.tab.h
101
102         tools/gras/gras_stub_generator.h
103         tools/tesh/run_context.h  
104         tools/tesh/tesh.h
105         
106         src/surf/network_ns3_private.h
107         src/surf/ns3/ns3_interface.h
108         src/surf/ns3/ns3_simulator.h
109         src/surf/ns3/my-point-to-point-helper.h
110         src/surf/ns3/red-queue.h
111 )
112
113 set(XBT_RL_SRC 
114         src/xbt/xbt_rl_synchro.c
115         src/xbt/xbt_rl_time.c
116 )
117
118 set(XBT_SG_SRC 
119         src/xbt/xbt_sg_synchro.c
120         src/xbt/xbt_sg_time.c
121 )     
122
123 set(SMPI_SRC
124         src/smpi/smpi_base.c
125         src/smpi/smpi_bench.c
126         src/smpi/smpi_global.c
127         src/smpi/smpi_mpi.c
128         src/smpi/smpi_pmpi.c
129         src/smpi/smpi_c99.c
130         src/smpi/smpi_f77.c
131         src/smpi/smpi_comm.c
132         src/smpi/smpi_group.c
133         src/smpi/smpi_coll.c
134         src/smpi/smpi_mpi_dt.c
135 )
136
137
138 set(GRAS_RL_SRC
139         src/gras/rl_stubs.c
140         src/xbt/xbt_os_thread.c
141         src/gras/Transport/rl_transport.c
142         src/gras/Virtu/rl_emul.c
143         src/gras/Virtu/rl_process.c
144         src/gras/Virtu/rl_dns.c
145         src/gras/Msg/rl_msg.c
146         ${XBT_RL_SRC}
147 )
148
149 set(XBT_SRC 
150         src/xbt/snprintf.c
151         src/xbt/xbt_str.c
152         src/xbt/xbt_strbuff.c
153         src/xbt/xbt_sha.c
154         src/xbt/ex.c
155         src/xbt_modinter.h
156         src/gras_modinter.h
157         src/xbt/xbt_virtu.c
158         src/xbt/xbt_os_time.c
159         src/xbt/log.c
160         src/xbt/xbt_log_appender_file.c
161         src/xbt/xbt_log_layout_simple.c
162         src/xbt/xbt_log_layout_format.c
163         src/xbt/mallocator.c
164         src/xbt/dynar.c
165         src/xbt/dict.c
166         src/xbt/dict_elm.c
167         src/xbt/dict_cursor.c
168         src/xbt/dict_multi.c
169         src/xbt/heap.c
170         src/xbt/fifo.c
171         src/xbt/swag.c
172         src/xbt/graph.c
173         src/xbt/set.c
174         src/xbt/xbt_matrix.c
175         src/xbt/xbt_queue.c
176         src/xbt/xbt_synchro.c
177         src/xbt/xbt_peer.c
178         src/xbt/xbt_main.c
179         src/xbt/config.c
180         src/xbt/cunit.c
181         src/xbt/graphxml_parse.c
182         src/xbt/setset.c
183         src/xbt/parmap.c
184         src/xbt/xbt_replay_trace_reader.c
185         src/xbt/lib.c
186         src/xbt/automaton.c
187         src/xbt/datadesc/ddt_create.c
188         src/xbt/datadesc/ddt_convert.c
189         src/xbt/datadesc/ddt_exchange.c
190         src/xbt/datadesc/cbps.c
191         src/xbt/datadesc/datadesc.c
192         src/xbt/datadesc/datadesc_interface.h
193         src/xbt/datadesc/datadesc_private.h
194         src/xbt/datadesc/ddt_parse.c
195         src/xbt/datadesc/ddt_parse.yy.c
196         src/xbt/xbt_socket.c
197         src/xbt/xbt_socket_private.h
198         src/xbt/xbt_trp_plugin_tcp.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(NS3_SRC
216         src/surf/network_ns3.c
217         src/surf/ns3/ns3_interface.cc
218         src/surf/ns3/ns3_simulator.cc
219         src/surf/ns3/red-queue.cc
220         src/surf/ns3/my-point-to-point-helper.cc
221 )
222         
223 set(SURF_SRC 
224         src/surf/surf_model.c
225         src/surf/surf_action.c
226         src/surf/surf_routing.c
227         src/surf/surf_routing_none.c
228         src/surf/surf_routing_generic.c
229         src/surf/surf_routing_full.c
230         src/surf/surf_routing_floyd.c
231         src/surf/surf_routing_rulebased.c
232         src/surf/surf_routing_dijkstra.c
233         src/surf/surf_routing_cluster.c
234         src/surf/surf_routing_vivaldi.c
235         src/surf/surf_config.c
236         src/surf/maxmin.c
237         src/surf/fair_bottleneck.c
238         src/surf/lagrange.c
239         src/surf/trace_mgr.c
240         src/surf/random_mgr.c
241         src/surf/surf.c
242         src/surf/surfxml_parse.c
243         src/surf/surfxml_parseplatf.c
244         src/surf/network.c
245         src/surf/network_constant.c
246         src/surf/workstation.c
247         src/surf/workstation_ptask_L07.c
248         src/surf/cpu_ti.c
249         src/surf/cpu_cas01.c
250         src/surf/sg_platf.c
251         src/surf/storage.c
252         src/xbt/xbt_sg_stubs.c
253 )
254
255 set(SIMIX_SRC 
256         src/simix/smx_global.c
257         src/simix/smx_deployment.c
258         src/simix/smx_environment.c
259         src/simix/smx_host.c
260         src/simix/smx_process.c
261         src/simix/smx_context.c
262         src/simix/smx_synchro.c
263         src/simix/smx_network.c
264         src/simix/smx_context_base.c
265         src/simix/smx_user.c
266         src/simix/smx_smurf.c
267         src/simix/smx_context_raw.c
268         src/simix/smx_io.c
269 )
270
271 set(MSG_SRC
272         src/msg/msg_config.c
273         src/msg/msg_task.c
274         src/msg/msg_host.c
275         src/msg/msg_io.c
276         src/msg/msg_process.c
277         src/msg/msg_gos.c
278         src/msg/msg_global.c
279         src/msg/msg_environment.c
280         src/msg/msg_deployment.c
281         src/msg/msg_mailbox.c
282         src/msg/msg_actions.c
283 )
284
285 set(SIMDAG_SRC
286         src/simdag/sd_global.c
287         src/simdag/sd_link.c
288         src/simdag/sd_task.c
289         src/simdag/sd_workstation.c
290         src/simdag/sd_daxloader.c
291 )
292 if(HAVE_GRAPHVIZ)
293         set(SIMDAG_SRC 
294             ${SIMDAG_SRC} src/simdag/sd_dotloader.c
295         )
296 else(HAVE_GRAPHVIZ)
297         set(EXTRA_DIST
298             ${EXTRA_DIST} src/simdag/sd_dotloader.c
299         )
300 endif(HAVE_GRAPHVIZ)
301
302 set(GRAS_COMMON_SRC
303         src/gras/gras.c
304         src/gras/Transport/transport.c
305         src/gras/Transport/transport_private.h
306         src/gras/Transport/transport_plugin_file.c
307         src/gras/Msg/gras_msg_mod.c
308         src/gras/Msg/gras_msg_types.c
309         src/gras/Msg/gras_msg_exchange.c
310         src/gras/Msg/gras_msg_listener.c
311         src/gras/Msg/rpc.c 
312         src/gras/Msg/timer.c
313         src/gras/Msg/msg_interface.h
314         src/gras/Msg/msg_private.h
315         src/gras/Virtu/process.c
316         src/gras/Virtu/gras_module.c
317 )
318
319 set(GRAS_SG_SRC
320         src/gras/Transport/sg_transport.c
321         src/gras/Transport/transport_plugin_sg.c
322         src/gras/Virtu/sg_emul.c
323         src/gras/Virtu/sg_process.c
324         src/gras/Virtu/sg_dns.c
325         src/gras/Msg/sg_msg.c
326         ${XBT_SG_SRC}
327 )
328
329 set(AMOK_SRC
330         src/amok/amok_base.c
331         src/amok/Bandwidth/bandwidth.c
332         src/amok/Bandwidth/saturate.c
333         src/amok/PeerManagement/peermanagement.c
334 )
335
336 set(BINDINGS_SRC
337         src/bindings/bindings_global.c
338 )
339
340 set(LUA_SRC
341         src/bindings/lua/simgrid_lua.c
342         src/bindings/lua/lua_task.c
343         src/bindings/lua/lua_comm.c
344         src/bindings/lua/lua_host.c
345         src/bindings/lua/lua_process.c
346         src/bindings/lua/lua_platf.c
347         src/bindings/lua/lua_utils.c
348         src/bindings/lua/lua_state_cloner.c
349         src/bindings/lua/lua_stub_generator.c
350 )
351
352 set(TRACING_SRC
353         src/instr/instr_routing.c
354         src/instr/instr_config.c
355         src/instr/instr_interface.c
356         src/instr/instr_paje_trace.c
357         src/instr/instr_paje_types.c
358         src/instr/instr_paje_values.c
359         src/instr/instr_paje_containers.c
360         src/instr/instr_msg_task.c
361         src/instr/instr_msg_process.c
362         src/instr/instr_surf.c
363         src/instr/instr_smpi.c
364         src/instr/instr_resource_utilization.c
365         src/instr/instr_private.h
366 )
367
368
369 set(JEDULE_SRC
370         include/instr/jedule/jedule_events.h
371         include/instr/jedule/jedule_output.h
372         include/instr/jedule/jedule_platform.h
373         include/instr/jedule/jedule_sd_binding.h
374         src/instr/jedule/jedule_events.c
375         src/instr/jedule/jedule_output.c
376         src/instr/jedule/jedule_platform.c
377         src/instr/jedule/jedule_sd_binding.c
378 )
379
380 set(MC_SRC
381         src/mc/mc_memory.c
382         src/mc/mc_checkpoint.c
383         src/mc/mc_state.c
384         src/mc/memory_map.c
385         src/mc/mc_global.c
386         src/mc/mc_dpor.c
387         src/mc/mc_request.c
388         src/mc/mc_private.h
389         src/mc/mc_liveness.c
390 )
391
392 set(RNGSTREAM_SRC
393         src/rngstreams/RngStream.h
394         src/rngstreams/RngStream.c
395 )
396
397 set(headers_to_install
398         include/xbt/misc.h
399         include/xbt/sysdep.h
400         include/xbt/virtu.h
401         include/xbt/str.h
402         include/xbt/strbuff.h
403         include/xbt/hash.h
404         include/xbt/function_types.h
405         include/xbt/asserts.h 
406         include/xbt/ex.h
407         include/xbt/log.h
408         include/xbt/module.h
409         include/xbt/mallocator.h
410         include/xbt/dynar.h
411         include/xbt/dict.h
412         include/xbt/set.h
413         include/xbt/heap.h
414         include/xbt/graph.h
415         include/xbt/fifo.h
416         include/xbt/swag.h
417         include/xbt/lib.h
418         include/xbt/matrix.h
419         include/xbt/peer.h
420         include/xbt/config.h
421         include/xbt/cunit.h
422         include/xbt/graphxml_parse.h
423         include/xbt/graphxml.h
424         include/xbt/time.h
425         include/xbt/synchro.h
426         include/xbt/synchro_core.h
427         include/xbt/queue.h
428         include/xbt/setset.h
429         include/xbt/mmalloc.h
430         include/xbt/replay_trace_reader.h
431         include/xbt/parmap.h
432         include/xbt/automaton.h
433         include/xbt/automatonparse_promela.h
434         include/xbt/datadesc.h
435         include/xbt/socket.h
436         include/xbt/file_stat.h
437         include/xbt/xbt_os_thread.h
438         include/simgrid/platf.h
439         include/simgrid/modelchecker.h
440         include/simgrid/simix.h
441         include/msg/msg.h
442         include/msg/datatypes.h
443         include/simdag/simdag.h
444         include/simdag/datatypes.h
445         include/smpi/smpi.h
446         include/smpi/mpi.h
447         include/smpi/mpif.h
448         include/smpi/smpi_cocci.h
449         include/surf/surfxml_parse.h
450         include/surf/simgrid_dtd.h
451         include/surf/surf_routing.h
452         include/gras/transport.h
453         include/gras/virtu.h
454         include/gras/emul.h
455         include/gras/process.h
456         include/gras/module.h
457         include/gras/messages.h
458         include/gras/timer.h
459         include/amok/peermanagement.h
460         include/amok/bandwidth.h
461         include/instr/instr.h
462         include/gras.h 
463         include/xbt.h
464 )
465 set(source_of_generated_headers
466         include/simgrid_config.h.in
467         include/smpi/smpif.h.in
468         src/context_sysv_config.h.in)
469
470 ### depend of some variables setted upper
471 # -->CONTEXT_THREADS CONTEXT_UCONTEXT
472 if(${CONTEXT_THREADS}) #pthread
473         set(SURF_SRC
474                 ${SURF_SRC}
475                 src/xbt/xbt_os_thread.c
476                 src/simix/smx_context_thread.c
477                 )
478 else(${CONTEXT_THREADS}) # NOT pthread
479         set(EXTRA_DIST
480                 ${EXTRA_DIST}
481                 src/xbt/xbt_os_thread.c
482                 src/simix/smx_context_thread.c
483                 )
484 endif(${CONTEXT_THREADS})
485
486 if(${CONTEXT_UCONTEXT}) #ucontext
487         set(SURF_SRC
488                 ${SURF_SRC}
489                 src/simix/smx_context_sysv.c
490         )
491 else(${CONTEXT_UCONTEXT}) # NOT ucontext
492         set(EXTRA_DIST
493                 ${EXTRA_DIST}
494                 src/simix/smx_context_sysv.c
495         )
496 endif(${CONTEXT_UCONTEXT})
497
498 # -->HAVE_GTNETS
499 if(HAVE_GTNETS)
500         set(GTNETS_USED 
501                 ${GTNETS_SRC}
502         )
503 else(HAVE_GTNETS)
504         set(GTNETS_USED "")
505         set(EXTRA_DIST
506                 ${EXTRA_DIST}
507                 ${GTNETS_SRC}
508         )
509 endif(HAVE_GTNETS)
510
511 ### Simgrid Lib sources
512 set(simgrid_sources
513         ${XBT_SRC}
514         ${SURF_SRC}
515         ${GTNETS_USED}
516         ${SIMIX_SRC}
517         ${MSG_SRC}
518         ${TRACING_SRC}
519         ${SIMDAG_SRC}
520         ${GRAS_COMMON_SRC}
521         ${GRAS_SG_SRC}
522         ${AMOK_SRC}
523         ${BINDINGS_SRC}
524         ${JEDULE_SRC}
525         ${RNGSTREAM_SRC}
526 )
527
528 if(HAVE_MC)
529         set(simgrid_sources
530                 ${simgrid_sources}
531                 ${MC_SRC}
532                 )
533 endif(HAVE_MC)
534
535 if(HAVE_NS3)
536         set(simgrid_sources
537                 ${simgrid_sources}
538                 ${NS3_SRC}
539         )
540 endif(HAVE_NS3)
541
542 # WINDOWS
543 if(WIN32)
544         set(simgrid_sources
545                 ${simgrid_sources}
546                 src/xbt/win32_ucontext.c
547                 src/xbt/xbt_os_thread.c
548                 src/simix/smx_context_thread.c
549                 )
550 endif(WIN32)
551
552 ### Gras Lib sources
553 set(gras_sources
554         ${XBT_SRC}
555         ${GRAS_COMMON_SRC}
556         ${GRAS_RL_SRC}
557         ${AMOK_SRC}
558 )
559
560 if(${HAVE_LUA})
561         set(simgrid_sources
562                 ${simgrid_sources}
563                 ${LUA_SRC}
564         )
565 elseif(${HAVE_LUA})
566         set(EXTRA_DIST
567                 ${EXTRA_DIST}
568                 ${LUA_SRC}
569         )
570 endif(${HAVE_LUA})
571
572 file(GLOB_RECURSE examples_to_install_in_doc
573 "examples/*.c"
574 "examples/*.h"
575 "examples/*yacc"
576 "examples/*lex"
577 "examples/*.cxx"
578 "examples/*.hpp"
579 "examples/*.rb"
580 "examples/*.lua"
581 "examples/*.java"
582 "examples/*.xml"
583 "examples/*README"
584 )
585     
586 set(DOC_SOURCES
587         doc/install.doc
588         doc/bindings.doc
589         doc/options.doc
590         doc/use.doc
591         doc/tracing.doc
592         doc/pls.doc
593         doc/gtut-howto-design.doc
594         doc/gtut-howto.doc
595         doc/gtut-introduction.doc
596         doc/gtut-main.doc
597         doc/gtut-tour-00-install.doc
598         doc/gtut-tour-01-bones.doc
599         doc/gtut-tour-02-simple.doc
600         doc/gtut-tour-03-args.doc
601         doc/gtut-tour-04-callback.doc
602         doc/gtut-tour-05-globals.doc
603         doc/gtut-tour-06-logs.doc
604         doc/gtut-tour-07-timers.doc
605         doc/gtut-tour-08-exceptions.doc
606         doc/gtut-tour-09-simpledata.doc
607         doc/gtut-tour-10-rpc.doc
608         doc/gtut-tour-11-explicitwait.doc
609         doc/gtut-tour-12-staticstruct.doc
610         doc/gtut-tour-13-pointers.doc
611         doc/gtut-tour-14-dynar.doc
612         doc/gtut-tour-15-manualdatadef.doc
613         doc/gtut-tour-16-exchangecb.doc
614         doc/gtut-tour.doc
615         doc/gtut-tour-recap-messages.doc
616         
617         #doc/index-API.doc
618         doc/index.doc
619         ${CMAKE_HOME_DIRECTORY}/doc/logcategories.doc
620         doc/module-amok.doc
621         doc/module-gras.doc
622         doc/module-msg.doc
623         doc/module-sd.doc
624         doc/modules.doc
625         doc/module-surf.doc
626         doc/module-xbt.doc
627         
628         doc/gtut-files/01-bones.c
629         doc/gtut-files/01-bones.output
630         doc/gtut-files/02-simple.c
631         doc/gtut-files/02-simple.output
632         doc/gtut-files/03-args.c
633         doc/gtut-files/03-args.output
634         doc/gtut-files/03-args.xml
635         doc/gtut-files/04-callback.c
636         doc/gtut-files/04-callback.output
637         doc/gtut-files/05-globals.c
638         doc/gtut-files/05-globals.output
639         doc/gtut-files/06-logs.c
640         doc/gtut-files/06-logs.output
641         doc/gtut-files/06-logs.output.error
642         doc/gtut-files/06-logs.output.fmt
643         doc/gtut-files/06-logs.output.fmt-bt
644         doc/gtut-files/06-logs.output.verbose
645         doc/gtut-files/07-timers.c
646         doc/gtut-files/07-timers.output
647         doc/gtut-files/08-exceptions.c
648         doc/gtut-files/08-exceptions.output
649         doc/gtut-files/09-datatype-dump.c
650         doc/gtut-files/09-simpledata.c
651         doc/gtut-files/09-simpledata.output
652         doc/gtut-files/10-rpc.c
653         doc/gtut-files/10-rpc.output
654         doc/gtut-files/11-explicitwait.c
655         doc/gtut-files/11-explicitwait.output
656         doc/gtut-files/11-explicitwait.xml
657         doc/gtut-files/gtut-platform-3nodes.xml
658         doc/gtut-files/gtut-platform.xml
659         doc/gtut-files/Makefile
660         doc/gtut-files/README
661         doc/gtut-files/test.xml
662         
663         doc/webcruft/awstats_logo3.png
664         doc/webcruft/Paje_MSG_screenshot.jpg
665         doc/webcruft/Paje_MSG_screenshot_thn.jpg
666         doc/webcruft/poster_thumbnail.png
667         doc/webcruft/simgrid_logo_2011.png
668         doc/webcruft/simgrid_logo_small.png
669         doc/triva-graph_configuration.png
670         doc/triva-graph_visualization.png
671         doc/simgrid.css
672         
673         doc/Doxyfile.in
674         doc/footer.html.in
675         
676         tools/doxygen/doxygen_postprocesser.pl
677         tools/doxygen/index_create.pl
678         tools/doxygen/toc_create.pl
679         tools/doxygen/bibtex2html_wrapper.pl
680         tools/doxygen/fig2dev_postprocessor.pl
681         tools/doxygen/xbt_log_extract_hierarchy.pl
682 )
683
684 set(DOC_FIGS
685         ${CMAKE_HOME_DIRECTORY}/doc/fig/simgrid_modules.fig
686         ${CMAKE_HOME_DIRECTORY}/doc/fig/simgrid_modules2.fig
687         ${CMAKE_HOME_DIRECTORY}/doc/fig/amok_bw_test.fig
688         ${CMAKE_HOME_DIRECTORY}/doc/fig/amok_bw_sat.fig
689         ${CMAKE_HOME_DIRECTORY}/doc/fig/gras_comm.fig
690 )
691
692 file(GLOB_RECURSE add_src_files
693 "teshsuite/*.c"
694 "teshsuite/*.cxx"
695 "teshsuite/*CMakeLists.txt"
696 "testsuite/*.c"
697 "testsuite/*.cxx"
698 "testsuite/*CMakeLists.txt"
699 "tools/*.c"
700 "tools/*.cxx"
701 "tools/*CMakeLists.txt"
702 "examples/*.c"
703 "examples/*.cxx"
704 "examples/*.lua"
705 "examples/*.rb"
706 "examples/*CMakeLists.txt"
707 "src/bindings/*.lua"
708 "src/bindings/*.rb"
709 "src/bindings/*.c"
710 "src/bindings/*.h"
711 "src/bindings/*CMakeLists.txt"
712 )
713 set(add_src_files
714         ${add_src_files}
715         CMakeLists.txt
716         src/smpi/smpicc.in
717         src/smpi/smpif2c.in
718         src/smpi/smpiff.in
719         src/smpi/smpirun.in
720 )
721
722 file(GLOB_RECURSE xml_files
723 "examples/*.xml"
724 "include/*.xml"
725 "src/*.xml"
726 "teshsuite/*.xml"
727 "testsuite/*.xml"
728 "tools/*.xml"
729 )
730
731 file(GLOB_RECURSE tesh_files
732 "examples/*.tesh"
733 "include/*.tesh"
734 "src/*.tesh"
735 "teshsuite/*.tesh"
736 "testsuite/*.tesh"
737 "tools/*.tesh"
738 )
739
740 set(txt_files
741 "testsuite/surf/trace_A_failure.txt"
742 "testsuite/surf/trace_A.txt"
743 "testsuite/surf/trace_B.txt"
744 "examples/smpi/hostfile"
745 "examples/msg/link5_state.trace"
746 "examples/msg/fafard_state.trace"
747 "examples/msg/jupiter_state.trace"
748 "examples/msg/actions/actions_allReduce.txt"
749 "examples/msg/actions/actions_reduce.txt"
750 "examples/msg/actions/actions.txt"
751 "examples/msg/actions/actions_barrier.txt"
752 "examples/msg/actions/actions_split_p0.txt"
753 "examples/msg/actions/actions_with_isend.txt"
754 "examples/msg/actions/actions_bcast.txt"
755 "examples/msg/actions/actions_split_p1.txt"
756 "examples/msg/actions/CMakeLists.txt"
757 "examples/msg/migration/migration.deploy"
758 "teshsuite/gras/datadesc/datadesc.little32_4"
759 "teshsuite/gras/datadesc/datadesc.little64"
760 "teshsuite/gras/datadesc/datadesc.big32_8_4"
761 "teshsuite/gras/datadesc/mk_datadesc_structs.pl"
762 "teshsuite/gras/msg_handle/test_rl.tesh"
763 "teshsuite/gras/msg_handle/test_sg_32.tesh"
764 "teshsuite/gras/msg_handle/test_sg_64.tesh"
765 "teshsuite/gras/empty_main/test_rl.tesh"
766 "teshsuite/gras/empty_main/test_sg.tesh"
767 "teshsuite/gras/small_sleep/test_sg_32.tesh"
768 "teshsuite/gras/small_sleep/test_sg_64.tesh"
769 "teshsuite/msg/trace/file.trace"
770 "teshsuite/simdag/platforms/bob.fail"
771 "teshsuite/simdag/platforms/bob.trace"
772 "teshsuite/simdag/platforms/bob0_availability_file.trace"
773 "teshsuite/simdag/platforms/bob0_state_file.trace"
774 "teshsuite/simdag/platforms/bob2_availability_file.trace"
775 "teshsuite/simdag/platforms/bob2_state_file.trace"
776 "teshsuite/simdag/platforms/link1.bw"
777 "teshsuite/simdag/platforms/link1.fail"
778 "teshsuite/simdag/platforms/link1.lat"
779 "examples/gras/ping/test_rl.tesh"
780 "examples/gras/rpc/test_rl.tesh"
781 "examples/gras/spawn/test_rl.tesh"
782 "examples/gras/timer/test_rl.tesh"
783 "examples/gras/chrono/test_rl.tesh"
784 "examples/gras/mutual_exclusion/simple_token/test_rl.tesh"
785 "examples/gras/mmrpc/test_rl.tesh"
786 "examples/gras/all2all/test_rl.tesh"
787 "examples/gras/pmm/test_rl.tesh"
788 "examples/gras/synchro/test_rl.tesh"
789 "examples/gras/properties/test_rl.tesh"
790 "examples/gras/ping/test_sg_32.tesh"
791 "examples/gras/rpc/test_sg_32.tesh"
792 "examples/gras/spawn/test_sg_32.tesh"
793 "examples/gras/timer/test_sg_32.tesh"
794 "examples/gras/chrono/test_sg_32.tesh"
795 "examples/gras/mutual_exclusion/simple_token/test_sg_32.tesh"
796 "examples/gras/mmrpc/test_sg_32.tesh"
797 "examples/gras/all2all/test_sg_32.tesh"
798 "examples/gras/pmm/test_sg_32.tesh"
799 "examples/gras/synchro/test_sg_32.tesh"
800 "examples/gras/ping/test_sg_64.tesh"
801 "examples/gras/rpc/test_sg_64.tesh"
802 "examples/gras/spawn/test_sg_64.tesh"
803 "examples/gras/timer/test_sg_64.tesh"
804 "examples/gras/chrono/test_sg_64.tesh"
805 "examples/gras/mutual_exclusion/simple_token/test_sg_64.tesh"
806 "examples/gras/mmrpc/test_sg_64.tesh"
807 "examples/gras/all2all/test_sg_64.tesh"
808 "examples/gras/pmm/test_sg_64.tesh"
809 "examples/gras/synchro/test_sg_64.tesh"
810 "examples/gras/properties/test_sg.tesh"
811 )
812
813 set(txt_files
814         ${txt_files}
815         AUTHORS
816         ChangeLog
817         COPYING
818         LICENSE-LGPL-2.1
819         NEWS
820         TODO
821         configure
822         INSTALL
823 )
824
825 file(GLOB_RECURSE README_files
826 "*README"
827 )
828         
829 string(REPLACE "${CMAKE_HOME_DIRECTORY}/" "" README_files "${README_files}")
830
831 file(GLOB_RECURSE CMAKE_SOURCE_FILES
832 "buildtools/Cmake/Makefile.default"
833 "buildtools/Cmake/test_java.sh"
834 "buildtools/Cmake/*.cmake"
835 "buildtools/Cmake/*.h.in"
836 "buildtools/Cmake/*.pl"
837 "buildtools/Cmake/*.sh"
838 "buildtools/Cmake/test_prog/*.c"
839 "buildtools/Cmake/test_prog/*.cpp"
840 )
841
842 set(bin_files
843 tools/MSG_visualization/colorize.pl
844 tools/sg_unit_extractor.pl
845 tools/simgrid_update_xml.pl
846 buildtools/Cmake/tesh.pl
847 )
848
849 # This is the complete list of what will be added to the source archive
850 set(source_to_pack      
851         ${headers_to_install}
852         ${source_of_generated_headers}
853         ${XBT_RL_SRC}
854         ${EXTRA_DIST}
855         ${SMPI_SRC}
856         ${GRAS_RL_SRC}
857         ${XBT_SRC}
858         ${GTNETS_SRC}
859         ${NS3_SRC}
860         ${SURF_SRC}
861         ${SIMIX_SRC}
862         ${TRACING_SRC}
863         ${MSG_SRC}
864         ${SIMDAG_SRC}
865         ${GRAS_COMMON_SRC}
866         ${GRAS_SG_SRC}
867         ${AMOK_SRC}
868         ${LUA_SRC}
869         ${MC_SRC}
870         ${JEDULE_SRC}
871         ${RNGSTREAM_SRC}
872         ${add_src_files}
873         ${xml_files}
874         ${tesh_files}
875         ${txt_files}
876         ${CMAKE_SOURCE_FILES}
877         ${bin_files}
878         ${DOC_SOURCES}
879         ${DOC_FIGS}
880         ${README_files}
881         buildtools/Cmake/simgrid.nsi.in 
882 )