Logo AND Algorithmique Numérique Distribuée

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