build: CMake and ns3 fixes

Includes:
- print error message instead of forwarding posix signals in ns3
- supress printing of "Finished executing commands..." for ./ns3 run
- fix ns3 typos and formatting issues
- add verbose options and make doxygen/doxygen-no-build verbose
- re-enable printing of build messages in ./ns3 run
- refactor ns3 dry_run, quiet, jobs and verbose arguments
- check if examples subdirectories have a CMakeLists.txt
This commit is contained in:
Gabriel Ferreira
2022-03-19 12:19:50 -03:00
parent 1a76009b69
commit 72e6105195
4 changed files with 166 additions and 103 deletions

View File

@@ -3,6 +3,9 @@ if(${ENABLE_EXAMPLES})
# Process subdirectories
foreach(examplefolder ${examples_to_build})
if(NOT (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${examplefolder}/CMakeLists.txt))
continue()
endif()
add_subdirectory(${examplefolder})
set(ns3-example-folders