src/surf/gtnets/gtnets_simulator.h
src/surf/gtnets/gtnets_topology.h
src/surf/cpu_ti_private.h
+ src/surf/surf_routing_private.h
src/include/surf/surf_resource.h
src/include/surf/datatypes.h
src/include/surf/maxmin.h
src/xbt/setset.c
src/xbt/parmap.c
src/xbt/xbt_replay_trace_reader.c
+ src/xbt/lib.c
)
if(HAVE_MMAP)
src/surf/network_gtnets.c
)
+set(NS3_SRC
+ src/surf/network_ns3.c
+ src/surf/ns3/ns3_interface.cc
+ )
+
set(SURF_SRC
src/surf/surf_model.c
src/surf/surf_action.c
src/surf/surf_routing.c
+ src/surf/surf_routing_full.c
+ src/surf/surf_routing_floyd.c
+ src/surf/surf_routing_rulebased.c
+ src/surf/surf_routing_dijkstra.c
+ src/surf/surf_routing_none.c
src/surf/surf_config.c
src/surf/maxmin.c
src/surf/fair_bottleneck.c
src/amok/PeerManagement/peermanagement.c
)
+set(LUA_SRC
+ src/bindings/lua/simgrid_lua.c
+ src/bindings/lua/lua_stub_generator.c
+ src/bindings/lua/lua_console.c
+)
+
set(TRACING_SRC
src/instr/instr_routing.c
src/instr/instr_config.c
)
endif(HAVE_GTNETS)
-
### Simgrid Lib sources
set(simgrid_sources
${XBT_SRC}
)
endif(HAVE_MC)
+if(HAVE_NS3)
+ set(simgrid_sources
+ ${simgrid_sources}
+ ${NS3_SRC}
+ )
+endif(HAVE_NS3)
+
+# WINDOWS
+if(WIN32)
+ set(simgrid_sources
+ ${simgrid_sources}
+ src/xbt/win32_ucontext.c
+ src/xbt/xbt_os_thread.c
+ src/simix/smx_context_thread.c
+ )
+endif(WIN32)
+
### Gras Lib sources
set(gras_sources
${XBT_SRC}
${AMOK_SRC}
)
+if(${HAVE_LUA})
+ set(simgrid_sources
+ ${simgrid_sources}
+ ${LUA_SRC}
+ )
+elseif(${HAVE_LUA})
+ set(EXTRA_DIST
+ ${EXTRA_DIST}
+ ${LUA_SRC}
+ )
+endif(${HAVE_LUA})
+
file(GLOB_RECURSE examples_to_install_in_doc
"examples/*.c"
"examples/*.h"
"examples/*.cxx"
"examples/*.hpp"
+"examples/*.rb"
+"examples/*.lua"
+"examples/*.java"
"examples/*.xml"
"examples/*README"
)
set(DOC_SOURCES
doc/contrib.doc
- doc/FAQ.doc
+ doc/FAQ.doc
doc/gtut-howto-design.doc
doc/gtut-howto.doc
doc/gtut-introduction.doc
doc/gtut-main.doc
+ doc/gtut-tour-00-install.doc
doc/gtut-tour-01-bones.doc
doc/gtut-tour-02-simple.doc
doc/gtut-tour-03-args.doc
doc/gtut-tour.doc
doc/gtut-tour-recap-messages.doc
doc/history.doc
- doc/index-API.doc
+ #doc/index-API.doc
doc/index.doc
doc/module-amok.doc
doc/module-gras.doc
doc/webcruft/robots.txt
doc/webcruft/simgrid_logo.png
doc/webcruft/simgrid_logo_small.png
+ doc/triva-graph_configuration.png
+ doc/triva-graph_visualization.png
+ doc/simgrid.css
doc/Doxyfile.in
doc/footer.html.in
${CMAKE_HOME_DIRECTORY}/doc/fig/gras_comm.fig
)
+set(DOC_bib
+ ${CMAKE_HOME_DIRECTORY}/doc/all.bib
+)
+
file(GLOB_RECURSE add_src_files
"teshsuite/*.c"
"teshsuite/*.cxx"
"tools/*CMakeLists.txt"
"examples/*.c"
"examples/*.cxx"
+"examples/*.lua"
+"examples/*.rb"
"examples/*CMakeLists.txt"
+"src/bindings/*.lua"
+"src/bindings/*.rb"
"src/bindings/*.c"
"src/bindings/*.h"
"src/bindings/*CMakeLists.txt"
"teshsuite/gras/small_sleep/test_sg_64.tesh"
"teshsuite/simdag/platforms/bob.fail"
"teshsuite/simdag/platforms/bob.trace"
+"teshsuite/simdag/platforms/bob0_availability_file.trace"
"teshsuite/simdag/platforms/link1.bw"
"teshsuite/simdag/platforms/link1.fail"
"teshsuite/simdag/platforms/link1.lat"
string(REPLACE "${CMAKE_HOME_DIRECTORY}/" "" README_files "${README_files}")
file(GLOB_RECURSE CMAKE_SOURCE_FILES
+"buildtools/Cmake/Makefile.default"
"buildtools/Cmake/test_java.sh"
"buildtools/Cmake/*.cmake"
"buildtools/Cmake/*.h.in"
buildtools/Cmake/tesh.pl
)
-# This is the complete lise of what will be added to the source archive
+# This is the complete list of what will be added to the source archive
set(source_to_pack
+ ${install_HEADERS}
${XBT_RL_SRC}
${EXTRA_DIST}
${SMPI_SRC}
${GRAS_COMMON_SRC}
${GRAS_SG_SRC}
${AMOK_SRC}
+ ${LUA_SRC}
${MC_SRC}
${JEDULE_SRC}
${RNGSTREAM_SRC}
${xml_files}
${tesh_files}
${txt_files}
- ${EXTRA_DIST}
${CMAKE_SOURCE_FILES}
${bin_files}
${DOC_SOURCES}
${DOC_FIGS}
+ ${DOC_bib}
${README_files}
)