Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Put ns3 sources in place.
[simgrid.git] / buildtools / Cmake / DefinePackages.cmake
index 3371adb..db5d97f 100644 (file)
@@ -184,6 +184,11 @@ set(GTNETS_SRC
        src/surf/network_gtnets.c
 )
 
        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
 set(SURF_SRC 
        src/surf/surf_model.c
        src/surf/surf_action.c
@@ -478,6 +483,13 @@ if(HAVE_MC)
                )
 endif(HAVE_MC)
 
                )
 endif(HAVE_MC)
 
+if(HAVE_NS3)
+       set(simgrid_sources
+               ${simgrid_sources}
+               ${NS3_SRC}
+       )
+endif(HAVE_NS3)
+
 # WINDOWS
 if(WIN32)
        set(simgrid_sources
 # WINDOWS
 if(WIN32)
        set(simgrid_sources