CMake buildsystem
This commit is contained in:
committed by
Tom Henderson
parent
a4b86694f8
commit
9c876c7f5a
10
examples/CMakeLists.txt
Normal file
10
examples/CMakeLists.txt
Normal 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()
|
||||
Reference in New Issue
Block a user