CMake buildsystem

This commit is contained in:
Gabriel Ferreira
2021-11-10 22:28:44 -03:00
committed by Tom Henderson
parent a4b86694f8
commit 9c876c7f5a
135 changed files with 8925 additions and 68 deletions

10
examples/CMakeLists.txt Normal file
View File

@@ -0,0 +1,10 @@
if(${NS3_EXAMPLES})
subdirlist(examples_to_build ${CMAKE_CURRENT_SOURCE_DIR})
# Process subdirectories
foreach(examplefolder ${examples_to_build})
add_subdirectory(${examplefolder})
set(ns3-example-folders "${examplefolder};${ns3-example-folders}" CACHE INTERNAL "list of example folders")
endforeach()
endif()