Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
7695c3c3b60d4378fed2d6a41ac5e6647e456716
[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/mmalloc/mfree.c
20         src/xbt/mmalloc/mmalloc.c
21         src/xbt/mmalloc/mmalloc.info
22         src/xbt/mmalloc/mmalloc.texi
23         src/xbt/mmalloc/mm.c
24     src/xbt/mmalloc/mm_diff.c
25         src/xbt/mmalloc/mm_legacy.c
26         src/xbt/mmalloc/mm_module.c
27         src/xbt/mmalloc/mmorecore.c
28         src/xbt/mmalloc/mmprivate.h             
29         src/xbt/mmalloc/mmtrace.awk
30         src/xbt/mmalloc/mrealloc.c      
31         src/xbt/mmalloc/test/mmalloc_test.c
32         src/xbt/datadesc/ddt_parse.yy.l
33         src/xbt/datadesc/ddt_parse.yy.h
34     src/xbt/automaton/y.tab.c
35     src/xbt/automaton/y.tab.h
36     src/xbt/automaton/automaton_parse.yy.c
37     src/xbt/automaton/parserPromela.lex
38     src/xbt/automaton/parserPromela.yacc
39         src/surf/maxmin_private.h
40         src/surf/trace_mgr_private.h
41         src/surf/surf_private.h
42         src/surf/surfxml_parse.c
43         src/surf/simgrid_dtd.c
44         src/surf/simgrid.dtd
45         src/surf/network_private.h
46         src/surf/storage_private.h
47         src/surf/network_gtnets_private.h
48         src/surf/gtnets/gtnets_interface.h
49         src/surf/gtnets/gtnets_simulator.h
50         src/surf/gtnets/gtnets_topology.h
51         src/surf/cpu_ti_private.h
52         src/surf/surf_routing_private.h
53         src/include/simgrid/platf_interface.h
54         src/include/surf/surf_resource.h
55         src/include/surf/datatypes.h
56         src/include/surf/maxmin.h
57         src/include/surf/trace_mgr.h
58         src/include/surf/surf.h
59         src/include/surf/surfxml_parse_values.h
60         src/include/surf/random_mgr.h
61         src/include/surf/surf_resource_lmm.h
62         src/include/xbt/wine_dbghelp.h
63         src/include/xbt/xbt_os_time.h
64         src/include/mc/datatypes.h
65         src/include/mc/mc.h
66         src/msg/msg_private.h
67         src/msg/msg_mailbox.h
68         src/simdag/private.h
69         src/simdag/dax.dtd
70         src/simdag/dax_dtd.h
71         src/simdag/dax_dtd.c
72         src/gras/Virtu/virtu_rl.h
73         src/gras/Virtu/virtu_sg.h
74         src/gras/Virtu/virtu_interface.h
75         src/gras/Virtu/virtu_private.h
76         src/gras/Transport/transport_interface.h
77         src/amok/Bandwidth/bandwidth_private.h
78         src/amok/amok_modinter.h
79         src/simix/smx_private.h
80         src/simix/smx_process_private.h
81         src/simix/smx_host_private.h
82         src/simix/smx_network_private.h
83         src/simix/smx_smurf_private.h
84         src/simix/smx_synchro_private.h
85         src/simix/smx_io_private.h
86         
87         src/smpi/private.h
88         src/smpi/smpi_mpi_dt_private.h
89         src/smpi/README
90         src/mk_supernovae.pl
91         
92         tools/gras/gras_stub_generator.h
93         tools/tesh/run_context.h  
94         tools/tesh/tesh.h
95         
96         src/surf/network_ns3_private.h
97         src/surf/ns3/ns3_interface.h
98         src/surf/ns3/ns3_simulator.h
99         src/surf/ns3/my-point-to-point-helper.h
100         src/surf/ns3/red-queue.h
101 )
102
103 set(XBT_RL_SRC 
104         src/xbt/xbt_rl_synchro.c
105         src/xbt/xbt_rl_time.c
106 )
107
108 set(XBT_SG_SRC 
109         src/xbt/xbt_sg_synchro.c
110         src/xbt/xbt_sg_time.c
111 )     
112
113 set(SMPI_SRC
114         src/smpi/smpi_base.c
115         src/smpi/smpi_bench.c
116         src/smpi/smpi_global.c
117         src/smpi/smpi_mpi.c
118         src/smpi/smpi_pmpi.c
119         src/smpi/smpi_c99.c
120         src/smpi/smpi_f77.c
121         src/smpi/smpi_comm.c
122         src/smpi/smpi_group.c
123         src/smpi/smpi_coll.c
124         src/smpi/smpi_mpi_dt.c
125 )
126
127
128 set(GRAS_RL_SRC
129         src/gras/rl_stubs.c
130         src/xbt/xbt_os_thread.c
131         src/gras/Transport/rl_transport.c
132         src/gras/Virtu/rl_emul.c
133         src/gras/Virtu/rl_process.c
134         src/gras/Virtu/rl_dns.c
135         src/gras/Msg/rl_msg.c
136         ${XBT_RL_SRC}
137 )
138
139 set(XBT_SRC 
140         src/xbt/snprintf.c
141         src/xbt/xbt_str.c
142         src/xbt/xbt_strbuff.c
143         src/xbt/xbt_sha.c
144         src/xbt/ex.c
145         src/xbt_modinter.h
146         src/gras_modinter.h
147         src/xbt/xbt_virtu.c
148         src/xbt/xbt_os_time.c
149         src/xbt/log.c
150         src/xbt/xbt_log_appender_file.c
151         src/xbt/xbt_log_layout_simple.c
152         src/xbt/xbt_log_layout_format.c
153         src/xbt/mallocator.c
154         src/xbt/dynar.c
155         src/xbt/dict.c
156         src/xbt/dict_elm.c
157         src/xbt/dict_cursor.c
158         src/xbt/dict_multi.c
159         src/xbt/heap.c
160         src/xbt/fifo.c
161         src/xbt/swag.c
162         src/xbt/graph.c
163         src/xbt/set.c
164         src/xbt/xbt_matrix.c
165         src/xbt/xbt_queue.c
166         src/xbt/xbt_synchro.c
167         src/xbt/xbt_peer.c
168         src/xbt/xbt_main.c
169         src/xbt/config.c
170         src/xbt/cunit.c
171         src/xbt/graphxml_parse.c
172         src/xbt/setset.c
173         src/xbt/parmap.c
174         src/xbt/xbt_replay.c
175         src/xbt/lib.c
176         src/xbt/automaton/automatonparse_promela.c
177         src/xbt/automaton/automaton.c
178         src/xbt/automaton/automaton_create.c
179         src/xbt/automaton/automaton_create.h
180         src/xbt/datadesc/ddt_create.c
181         src/xbt/datadesc/ddt_convert.c
182         src/xbt/datadesc/ddt_exchange.c
183         src/xbt/datadesc/cbps.c
184         src/xbt/datadesc/datadesc.c
185         src/xbt/datadesc/datadesc_interface.h
186         src/xbt/datadesc/datadesc_private.h
187         src/xbt/datadesc/ddt_parse.c
188         src/xbt/datadesc/ddt_parse.yy.c
189         src/xbt/xbt_socket.c
190         src/xbt/xbt_socket_private.h
191         src/xbt/xbt_trp_plugin_tcp.c
192         src/xbt/RngStream.c
193 )
194
195 if(HAVE_MMAP)
196         set(XBT_SRC
197         ${XBT_SRC}
198         src/xbt/mmalloc/mm.c    
199         )
200 endif(HAVE_MMAP)
201
202 set(GTNETS_SRC 
203         src/surf/gtnets/gtnets_simulator.cc
204         src/surf/gtnets/gtnets_topology.cc
205         src/surf/gtnets/gtnets_interface.cc
206         src/surf/network_gtnets.c
207 )
208
209 set(NS3_SRC
210         src/surf/network_ns3.c
211         src/surf/ns3/ns3_interface.cc
212         src/surf/ns3/ns3_simulator.cc
213         src/surf/ns3/red-queue.cc
214         src/surf/ns3/my-point-to-point-helper.cc
215 )
216         
217 set(SURF_SRC 
218         src/surf/surf_model.c
219         src/surf/surf_action.c
220         src/surf/surf_routing.c
221         src/surf/surf_routing_none.c
222         src/surf/surf_routing_generic.c
223         src/surf/surf_routing_full.c
224         src/surf/surf_routing_floyd.c
225         src/surf/surf_routing_rulebased.c
226         src/surf/surf_routing_dijkstra.c
227         src/surf/surf_routing_cluster.c
228         src/surf/surf_routing_vivaldi.c
229         src/surf/surf_config.c
230         src/surf/maxmin.c
231         src/surf/fair_bottleneck.c
232         src/surf/lagrange.c
233         src/surf/trace_mgr.c
234         src/surf/random_mgr.c
235         src/surf/surf.c
236         src/surf/surfxml_parse.c
237         src/surf/surfxml_parseplatf.c
238         src/surf/network.c
239         src/surf/network_constant.c
240         src/surf/workstation.c
241         src/surf/workstation_ptask_L07.c
242         src/surf/cpu_ti.c
243         src/surf/cpu_cas01.c
244         src/surf/sg_platf.c
245         src/surf/storage.c
246         src/xbt/xbt_sg_stubs.c
247 )
248
249 set(SIMIX_SRC 
250         src/simix/smx_global.c
251         src/simix/smx_deployment.c
252         src/simix/smx_environment.c
253         src/simix/smx_host.c
254         src/simix/smx_process.c
255         src/simix/smx_context.c
256         src/simix/smx_synchro.c
257         src/simix/smx_network.c
258         src/simix/smx_context_base.c
259         src/simix/smx_user.c
260         src/simix/smx_smurf.c
261         src/simix/smx_context_raw.c
262         src/simix/smx_io.c
263 )
264
265 set(MSG_SRC
266         src/msg/msg_config.c
267         src/msg/msg_task.c
268         src/msg/msg_host.c
269         src/msg/msg_io.c
270         src/msg/msg_process.c
271         src/msg/msg_gos.c
272         src/msg/msg_global.c
273         src/msg/msg_environment.c
274         src/msg/msg_deployment.c
275         src/msg/msg_mailbox.c
276         src/msg/msg_actions.c
277         src/msg/msg_vm.c
278 )
279
280 set(SIMDAG_SRC
281         src/simdag/sd_global.c
282         src/simdag/sd_link.c
283         src/simdag/sd_task.c
284         src/simdag/sd_workstation.c
285         src/simdag/sd_daxloader.c
286 )
287 if(HAVE_GRAPHVIZ)
288         set(SIMDAG_SRC 
289             ${SIMDAG_SRC} src/simdag/sd_dotloader.c
290         )
291 else(HAVE_GRAPHVIZ)
292         set(EXTRA_DIST
293             ${EXTRA_DIST} src/simdag/sd_dotloader.c
294         )
295 endif(HAVE_GRAPHVIZ)
296
297 set(GRAS_COMMON_SRC
298         src/gras/gras.c
299         src/gras/Transport/transport.c
300         src/gras/Transport/transport_private.h
301         src/gras/Transport/transport_plugin_file.c
302         src/gras/Msg/gras_msg_mod.c
303         src/gras/Msg/gras_msg_types.c
304         src/gras/Msg/gras_msg_exchange.c
305         src/gras/Msg/gras_msg_listener.c
306         src/gras/Msg/rpc.c 
307         src/gras/Msg/timer.c
308         src/gras/Msg/msg_interface.h
309         src/gras/Msg/msg_private.h
310         src/gras/Virtu/process.c
311         src/gras/Virtu/gras_module.c
312 )
313
314 set(GRAS_SG_SRC
315         src/gras/Transport/sg_transport.c
316         src/gras/Transport/transport_plugin_sg.c
317         src/gras/Virtu/sg_emul.c
318         src/gras/Virtu/sg_process.c
319         src/gras/Virtu/sg_dns.c
320         src/gras/Msg/sg_msg.c
321         ${XBT_SG_SRC}
322 )
323
324 set(AMOK_SRC
325         src/amok/amok_base.c
326         src/amok/Bandwidth/bandwidth.c
327         src/amok/Bandwidth/saturate.c
328         src/amok/PeerManagement/peermanagement.c
329 )
330
331 set(BINDINGS_SRC
332         src/bindings/bindings_global.c
333 )
334
335 set(LUA_SRC
336   src/bindings/lua/simgrid_lua.c
337   src/bindings/lua/lua_task.c
338   src/bindings/lua/lua_comm.c
339   src/bindings/lua/lua_host.c
340   src/bindings/lua/lua_process.c
341   src/bindings/lua/lua_platf.c
342   src/bindings/lua/lua_utils.c
343   src/bindings/lua/lua_state_cloner.c
344   src/bindings/lua/lua_stub_generator.c
345 )
346
347 set(BINDINGS_FILES
348   ${LUA_SRC}
349   src/bindings/lua/simgrid_lua.h
350   src/bindings/lua/lua_utils.h
351   src/bindings/lua/lua_state_cloner.h
352   src/bindings/lua/lua_private.h
353   src/bindings/bindings_global.c
354 )
355
356 set(TRACING_SRC
357         src/instr/instr_routing.c
358         src/instr/instr_config.c
359         src/instr/instr_interface.c
360         src/instr/instr_paje_trace.c
361         src/instr/instr_paje_types.c
362         src/instr/instr_paje_values.c
363         src/instr/instr_paje_containers.c
364         src/instr/instr_msg_task.c
365         src/instr/instr_msg_process.c
366         src/instr/instr_surf.c
367         src/instr/instr_smpi.c
368         src/instr/instr_resource_utilization.c
369         src/instr/instr_private.h
370 )
371
372
373 set(JEDULE_SRC
374         include/instr/jedule/jedule_events.h
375         include/instr/jedule/jedule_output.h
376         include/instr/jedule/jedule_platform.h
377         include/instr/jedule/jedule_sd_binding.h
378         src/instr/jedule/jedule_events.c
379         src/instr/jedule/jedule_output.c
380         src/instr/jedule/jedule_platform.c
381         src/instr/jedule/jedule_sd_binding.c
382 )
383
384 set(MC_SRC
385         src/mc/mc_memory.c
386         src/mc/mc_checkpoint.c
387         src/mc/mc_state.c
388         src/mc/memory_map.c
389         src/mc/mc_global.c
390         src/mc/mc_dpor.c
391         src/mc/mc_request.c
392         src/mc/mc_private.h
393         src/mc/mc_liveness.c
394 )
395
396 set(headers_to_install
397         include/xbt/misc.h
398         include/xbt/sysdep.h
399         include/xbt/virtu.h
400         include/xbt/str.h
401         include/xbt/strbuff.h
402         include/xbt/hash.h
403         include/xbt/function_types.h
404         include/xbt/asserts.h 
405         include/xbt/automaton.h
406         include/xbt/automatonparse_promela.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.h
432         include/xbt/parmap.h
433         include/xbt/datadesc.h
434         include/xbt/socket.h
435         include/xbt/file_stat.h
436         include/xbt/xbt_os_thread.h
437     include/xbt/RngStream.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 )
526
527 if(HAVE_MC)
528         set(simgrid_sources
529                 ${simgrid_sources}
530                 ${MC_SRC}
531                 )
532 endif(HAVE_MC)
533
534 if(HAVE_NS3)
535         set(simgrid_sources
536                 ${simgrid_sources}
537                 ${NS3_SRC}
538         )
539 endif(HAVE_NS3)
540
541 # WINDOWS
542 if(WIN32)
543         set(simgrid_sources
544                 ${simgrid_sources}
545                 src/xbt/win32_ucontext.c
546                 src/xbt/xbt_os_thread.c
547                 src/simix/smx_context_thread.c
548                 )
549 endif(WIN32)
550
551 ### Gras Lib sources
552 set(gras_sources
553         ${XBT_SRC}
554         ${GRAS_COMMON_SRC}
555         ${GRAS_RL_SRC}
556         ${AMOK_SRC}
557 )
558
559 if(${HAVE_LUA})
560         set(simgrid_sources
561                 ${simgrid_sources}
562                 ${LUA_SRC}
563         )
564 elseif(${HAVE_LUA})
565         set(EXTRA_DIST
566                 ${EXTRA_DIST}
567                 ${LUA_SRC}
568         )
569 endif(${HAVE_LUA})
570     
571 set(DOC_SOURCES
572         doc/install.doc
573         doc/bindings.doc
574         doc/options.doc
575         doc/use.doc
576         doc/tracing.doc
577         doc/pls.doc
578         doc/gtut-howto-design.doc
579         doc/gtut-howto.doc
580         doc/gtut-introduction.doc
581         doc/gtut-main.doc
582         doc/gtut-tour-00-install.doc
583         doc/gtut-tour-01-bones.doc
584         doc/gtut-tour-02-simple.doc
585         doc/gtut-tour-03-args.doc
586         doc/gtut-tour-04-callback.doc
587         doc/gtut-tour-05-globals.doc
588         doc/gtut-tour-06-logs.doc
589         doc/gtut-tour-07-timers.doc
590         doc/gtut-tour-08-exceptions.doc
591         doc/gtut-tour-09-simpledata.doc
592         doc/gtut-tour-10-rpc.doc
593         doc/gtut-tour-11-explicitwait.doc
594         doc/gtut-tour-12-staticstruct.doc
595         doc/gtut-tour-13-pointers.doc
596         doc/gtut-tour-14-dynar.doc
597         doc/gtut-tour-15-manualdatadef.doc
598         doc/gtut-tour-16-exchangecb.doc
599         doc/gtut-tour.doc
600         doc/gtut-tour-recap-messages.doc
601         
602         #doc/index-API.doc
603         doc/index.doc
604         ${CMAKE_HOME_DIRECTORY}/doc/logcategories.doc
605         doc/module-amok.doc
606         doc/module-gras.doc
607         doc/module-msg.doc
608         doc/module-sd.doc
609         doc/modules.doc
610         doc/module-surf.doc
611         doc/module-xbt.doc
612         
613         doc/gtut-files/01-bones.c
614         doc/gtut-files/01-bones.output
615         doc/gtut-files/02-simple.c
616         doc/gtut-files/02-simple.output
617         doc/gtut-files/03-args.c
618         doc/gtut-files/03-args.output
619         doc/gtut-files/03-args.xml
620         doc/gtut-files/04-callback.c
621         doc/gtut-files/04-callback.output
622         doc/gtut-files/05-globals.c
623         doc/gtut-files/05-globals.output
624         doc/gtut-files/06-logs.c
625         doc/gtut-files/06-logs.output
626         doc/gtut-files/06-logs.output.error
627         doc/gtut-files/06-logs.output.fmt
628         doc/gtut-files/06-logs.output.fmt-bt
629         doc/gtut-files/06-logs.output.verbose
630         doc/gtut-files/07-timers.c
631         doc/gtut-files/07-timers.output
632         doc/gtut-files/08-exceptions.c
633         doc/gtut-files/08-exceptions.output
634         doc/gtut-files/09-datatype-dump.c
635         doc/gtut-files/09-simpledata.c
636         doc/gtut-files/09-simpledata.output
637         doc/gtut-files/10-rpc.c
638         doc/gtut-files/10-rpc.output
639         doc/gtut-files/11-explicitwait.c
640         doc/gtut-files/11-explicitwait.output
641         doc/gtut-files/11-explicitwait.xml
642         doc/gtut-files/gtut-platform-3nodes.xml
643         doc/gtut-files/gtut-platform.xml
644         doc/gtut-files/Makefile
645         doc/gtut-files/README
646         doc/gtut-files/test.xml
647         
648         doc/webcruft/awstats_logo3.png
649         doc/webcruft/Paje_MSG_screenshot.jpg
650         doc/webcruft/Paje_MSG_screenshot_thn.jpg
651         doc/webcruft/poster_thumbnail.png
652         doc/webcruft/simgrid_logo_2011.png
653         doc/webcruft/simgrid_logo_small.png
654         doc/triva-graph_configuration.png
655         doc/triva-graph_visualization.png
656         doc/simgrid.css
657         
658         doc/Doxyfile.in
659         doc/footer.html.in
660         
661         tools/doxygen/doxygen_postprocesser.pl
662         tools/doxygen/index_create.pl
663         tools/doxygen/toc_create.pl
664         tools/doxygen/bibtex2html_wrapper.pl
665         tools/doxygen/fig2dev_postprocessor.pl
666         tools/doxygen/xbt_log_extract_hierarchy.pl
667 )
668
669 set(DOC_FIGS
670         ${CMAKE_HOME_DIRECTORY}/doc/fig/simgrid_modules.fig
671         ${CMAKE_HOME_DIRECTORY}/doc/fig/simgrid_modules2.fig
672         ${CMAKE_HOME_DIRECTORY}/doc/fig/amok_bw_test.fig
673         ${CMAKE_HOME_DIRECTORY}/doc/fig/amok_bw_sat.fig
674         ${CMAKE_HOME_DIRECTORY}/doc/fig/gras_comm.fig
675 )
676
677 set(bin_files
678         ${bin_files}
679         src/smpi/smpicc.in
680         src/smpi/smpif2c.in
681         src/smpi/smpiff.in
682         src/smpi/smpirun.in
683 )
684
685 set(txt_files
686 ${txt_files}
687   "testsuite/surf/trace_A_failure.txt"
688   "testsuite/surf/trace_A.txt"
689   "testsuite/surf/trace_B.txt"
690   AUTHORS
691   ChangeLog
692   COPYING
693   LICENSE-LGPL-2.1
694   NEWS
695   TODO
696   configure
697   INSTALL
698 )
699
700 set(EXAMPLES_CMAKEFILES_TXT
701 examples/smpi/CMakeLists.txt
702 examples/amok/saturate/CMakeLists.txt
703 examples/amok/bandwidth/CMakeLists.txt
704 examples/simdag/dot/CMakeLists.txt
705 examples/simdag/goal/CMakeLists.txt
706 examples/simdag/properties/CMakeLists.txt
707 examples/simdag/scheduling/CMakeLists.txt
708 examples/simdag/metaxml/CMakeLists.txt
709 examples/simdag/dax/CMakeLists.txt
710 examples/simdag/CMakeLists.txt
711 examples/msg/gpu/CMakeLists.txt
712 examples/msg/pmm/CMakeLists.txt
713 examples/msg/migration/CMakeLists.txt
714 examples/msg/properties/CMakeLists.txt
715 examples/msg/mc/CMakeLists.txt
716 examples/msg/masterslave/CMakeLists.txt
717 examples/msg/chord/CMakeLists.txt
718 examples/msg/suspend/CMakeLists.txt
719 examples/msg/actions/CMakeLists.txt
720 examples/msg/io/CMakeLists.txt
721 examples/msg/sendrecv/CMakeLists.txt
722 examples/msg/start_kill_time/CMakeLists.txt
723 examples/msg/parallel_task/CMakeLists.txt
724 examples/msg/priority/CMakeLists.txt
725 examples/msg/cloud/CMakeLists.txt
726 examples/msg/gtnets/CMakeLists.txt
727 examples/msg/icomms/CMakeLists.txt
728 examples/msg/tracing/CMakeLists.txt
729 examples/msg/ns3/CMakeLists.txt
730 examples/msg/token_ring/CMakeLists.txt
731 examples/gras/mutual_exclusion/simple_token/CMakeLists.txt
732 examples/gras/ping/CMakeLists.txt
733 examples/gras/pmm/CMakeLists.txt
734 examples/gras/properties/CMakeLists.txt
735 examples/gras/rpc/CMakeLists.txt
736 examples/gras/chrono/CMakeLists.txt
737 examples/gras/timer/CMakeLists.txt
738 examples/gras/mmrpc/CMakeLists.txt
739 examples/gras/all2all/CMakeLists.txt
740 examples/gras/synchro/CMakeLists.txt
741 examples/gras/console/CMakeLists.txt
742 examples/gras/spawn/CMakeLists.txt
743 examples/lua/CMakeLists.txt
744 examples/msg/CMakeLists.txt
745 examples/xbt/CMakeLists.txt
746 )
747
748 set(TESHSUITE_CMAKEFILES_TXT
749 teshsuite/xbt/CMakeLists.txt
750 teshsuite/simdag/network/p2p/CMakeLists.txt
751 teshsuite/simdag/network/mxn/CMakeLists.txt
752 teshsuite/simdag/network/CMakeLists.txt
753 teshsuite/simdag/platforms/CMakeLists.txt
754 teshsuite/simdag/partask/CMakeLists.txt
755 teshsuite/simdag/CMakeLists.txt
756 teshsuite/msg/trace/CMakeLists.txt
757 teshsuite/msg/CMakeLists.txt
758 teshsuite/gras/small_sleep/CMakeLists.txt
759 teshsuite/gras/empty_main/CMakeLists.txt
760 teshsuite/gras/msg_handle/CMakeLists.txt
761 teshsuite/gras/datadesc/CMakeLists.txt
762 teshsuite/CMakeLists.txt
763 teshsuite/gras/CMakeLists.txt
764 )
765
766 set(TOOLS_CMAKEFILES_TXT
767 tools/tesh/CMakeLists.txt
768 tools/graphicator/CMakeLists.txt
769 tools/CMakeLists.txt
770 tools/gras/CMakeLists.txt
771 )
772
773 set(TESTSUITE_CMAKEFILES_TXT
774 testsuite/surf/CMakeLists.txt
775 testsuite/xbt/CMakeLists.txt
776 )
777
778 set(CMAKE_SOURCE_FILES
779 buildtools/Cmake/CTestConfig.cmake
780 buildtools/Cmake/UnitTesting.cmake
781 buildtools/Cmake/AddTests.cmake
782 buildtools/Cmake/Option.cmake
783 buildtools/Cmake/memcheck_tests.cmake
784 buildtools/Cmake/MakeLibWin.cmake
785 buildtools/Cmake/Flags.cmake
786 buildtools/Cmake/DefinePackages.cmake
787 buildtools/Cmake/CompleteInFiles.cmake
788 buildtools/Cmake/Scripts/SimGrid.packproj
789 buildtools/Cmake/Scripts/update_tesh.pl
790 buildtools/Cmake/Scripts/test_java.sh
791 buildtools/Cmake/Scripts/my_valgrind.pl
792 buildtools/Cmake/Scripts/tesh.pl
793 buildtools/Cmake/Scripts/Makefile.default
794 buildtools/Cmake/Scripts/preinstall.sh
795 buildtools/Cmake/Scripts/Diff.pm
796 buildtools/Cmake/Scripts/generate_new_tests.pl
797 buildtools/Cmake/Scripts/postinstall.sh
798 buildtools/Cmake/Scripts/generate_memcheck_tests.pl
799 buildtools/Cmake/MaintainerMode.cmake
800 buildtools/Cmake/Supernovae.cmake
801 buildtools/Cmake/Pipol.cmake
802 buildtools/Cmake/GenerateDoc.cmake
803 buildtools/Cmake/test_prog/prog_getline.c
804 buildtools/Cmake/test_prog/prog_mutex_timedlock.c
805 buildtools/Cmake/test_prog/prog_gtnets.cpp
806 buildtools/Cmake/test_prog/prog_GRAS_ARCH.c
807 buildtools/Cmake/test_prog/prog_printf_null.c
808 buildtools/Cmake/test_prog/prog_sem_timedwait.c
809 buildtools/Cmake/test_prog/prog_va_copy.c
810 buildtools/Cmake/test_prog/prog_thread_storage.c
811 buildtools/Cmake/test_prog/prog_AC_CHECK_MCSC.c
812 buildtools/Cmake/test_prog/prog_stacksetup.c
813 buildtools/Cmake/test_prog/prog_snprintf.c
814 buildtools/Cmake/test_prog/prog_GRAS_CHECK_STRUCT_COMPACTION.c
815 buildtools/Cmake/test_prog/prog_sem_init.c
816 buildtools/Cmake/test_prog/prog_sem_open.c
817 buildtools/Cmake/test_prog/prog_stackgrowth.c
818 buildtools/Cmake/test_prog/prog_max_size.c
819 buildtools/Cmake/test_prog/prog_vsnprintf.c
820 buildtools/Cmake/Modules/FindRubySimgrid.cmake
821 buildtools/Cmake/Modules/FindF2c.cmake
822 buildtools/Cmake/Modules/FindPCRE.cmake
823 buildtools/Cmake/Modules/FindPcreWin.cmake
824 buildtools/Cmake/Modules/FindGTnets.cmake
825 buildtools/Cmake/Modules/FindNS3.cmake
826 buildtools/Cmake/Modules/FindSimGrid.cmake
827 buildtools/Cmake/Modules/FindLua51Simgrid.cmake
828 buildtools/Cmake/Modules/FindGraphviz.cmake
829 buildtools/Cmake/Modules/FindValgrind.cmake
830 buildtools/Cmake/Modules/FindRngStream.cmake
831 buildtools/Cmake/GenerateDocWin.cmake
832 buildtools/Cmake/MakeExe.cmake
833 buildtools/Cmake/PrintArgs.cmake
834 buildtools/Cmake/MakeLib.cmake
835 buildtools/Cmake/Distrib.cmake
836 buildtools/Cmake/src/gras_config.h.in
837 buildtools/Cmake/src/simgrid.nsi.in
838 CMakeLists.txt
839 )
840
841 set(PLATFORMS_EXAMPLES
842 examples/platforms/bypassASroute.xml
843 examples/platforms/bypassRoute.xml
844 examples/platforms/cloud.xml
845 examples/platforms/cluster_and_one_host.xml
846 examples/platforms/cluster_no_backbone.xml
847 examples/platforms/cluster_routing_rulebased.xml
848 examples/platforms/clusters_routing_full.xml
849 examples/platforms/cluster.xml
850 examples/platforms/config.xml
851 examples/platforms/data_center.xml
852 examples/platforms/g5k.xml
853 examples/platforms/griffon.xml
854 examples/platforms/multicore_machine.xml
855 examples/platforms/prop.xml
856 examples/platforms/storage.xml
857 examples/platforms/vivaldi.xml
858 examples/platforms/conf/gridpp_grid_2004.conf
859 examples/platforms/conf/gridpp_grid_2004.xml
860 examples/platforms/conf/lcg_sept2004_grid.conf
861 examples/platforms/conf/lcg_sept2004_grid.xml
862 examples/platforms/conf/transform_optorsim_platform.pl
863 examples/platforms/content/storage_content.txt
864 examples/platforms/generation_scripts/create_hierarchical_clusters.pl
865 examples/platforms/generation_scripts/enhancedDTDwithHierarchicalCluster.pl
866 examples/platforms/generation_scripts/generate_g5k_platform_cabinets.pl
867 examples/platforms/generation_scripts/generate_g5k_platform.pl
868 examples/platforms/syscoord/generate_peer_platform.pl
869 examples/platforms/syscoord/median_harvard.syscoord
870 examples/platforms/syscoord/median_harvard.xml
871 examples/platforms/syscoord/median_meridian.syscoord
872 examples/platforms/syscoord/median_meridian.xml
873 examples/platforms/syscoord/median_p2psim.syscoord
874 examples/platforms/syscoord/median_p2psim.xml
875 )
876
877 set(generated_src_files
878 src/xbt/datadesc/ddt_parse.yy.c
879 src/xbt/automaton/y.tab.c
880 src/xbt/automaton/y.tab.h
881 src/xbt/automaton/automaton_parse.yy.c
882 )
883
884 foreach(file ${generated_src_files})
885   set_source_files_properties(${file} PROPERTIES GENERATED true)
886 endforeach(file ${generated_src_files})