Files
unison/examples/CMakeLists.txt
Gabriel Ferreira 9c876c7f5a CMake buildsystem
2021-12-01 12:29:55 -08:00

11 lines
329 B
CMake

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()