Commit Graph

14 Commits

Author SHA1 Message Date
Gabriel Ferreira
f863b4bd26 tests: force linking of ns-3 libraries to test-runner
Prevents undefined symbols when tests are restricted by NS3_FILTER_MODULE_EXAMPLES_AND_TESTS
2023-12-27 20:23:30 +00:00
Gabriel Ferreira
2e240ac40d build: allow test-runner to be built with less modules 2023-06-15 02:32:34 +00:00
Gabriel Ferreira
13a42a5a9a build: propagate module include directories to the test module
Otherwise, unknown symbols included by external dependencies won't be resolved while building traced-callback-typedef-test-suite.cc
2023-04-06 23:41:38 +00:00
Gabriel Ferreira
53f2c381dc build: (fixes #789) add examples as dependencies of example-as-test suites 2022-10-25 12:59:40 -03:00
Gabriel Ferreira
c34abb4ccc build: initial Windows support patches 2022-09-24 15:16:52 -03:00
Gabriel Ferreira
c633a1420c build: Add new build_exec macro to declare executable targets
Also adds IGNORE_PCH option to build_example macro.
2022-09-17 11:13:38 +00:00
Peter D. Barnes, Jr
1bf56b7697 utils: (merges !1000) Rename and refactor bench-simulator -> bench-scheduler
Add --all option to benchmark all schedulers.
2022-07-13 17:32:56 -07:00
Gabriel Ferreira
531b99251c build: add code to build test/perf/perf-io.cc 2022-02-08 18:40:10 -03:00
Gabriel Ferreira
ff3b511384 build: Bugfixes and refactoring of ns3 and CMake
Including:
- add missing command for introspected doxygen
- run get_version.sh before running doxygen
- use find_package(Doxygen) to get the doxygen executable
- silence python and sqlite find_package warnings
- return cmake returncode if configuration fails
- require GTK3 3.22
- link all libraries to print-introspected-doxygen
- replace shell with use_shell for variable name
- revert wrong changes to propagation of return codes and add test
- disable pch when ccache is found
- make --enable-sudo a post-build step and a runtime option
- add docs subparser
- add enable-sudo option
- refactor positional argument values
- fix --check option and add shell option
- replace --no-task-lines with --quiet
- replace --nowaf with --no-build
- replace --run --run-no-build with run (--no-build)
- replace ns3 documentation related arguments with targets
- document test-ns3.py
- export include directories used by ns3 libraries
- refactor CMake documentation dependency checking and behavior
- add --allow-run-as-root for running MPI examples on the CI
2022-01-09 02:48:53 -03:00
Gabriel Ferreira
715232ea96 build: fix dependency checks for the test module
And formatting fixes
2021-12-19 11:43:47 -03:00
Gabriel Ferreira
9d9f765ba6 build: additional CMake and ns3 bugfixes 2021-12-16 02:29:59 +00:00
Gabriel Ferreira
f6ef415392 build: CMake bugfixes
Fixes include:
- Handling of relative paths used as output directories
- Accepting comma separated lists of modules to enable/disable
- Echoing all CMake commands at the end of the execution of ns3 script
- More informative optional features summary output
- Replace absolute paths with relative paths in the printed CMake output for less verbose output
- Set debug build type on the CMake side to ensure ccmake doesn't crash
- Prefix INT64X64 with NS3 to indicate user switch
- Compiler version check
- Removal of verbose option
- Suppress empty enabled/disabled module tables

Features include:
- Test for installation/uninstallation of ns-3 as a CMake package
- Test importing ns-3 as a CMake package and use in a 3rd-party project
- Test to check VERSION usage
- ns3 option to enable/disable sanitizers
- Associate headers to libraries targets
2021-12-10 02:13:43 +00:00
Gabriel Ferreira
a893eba7e3 build: Fix CMake and ns3 script bugs, add a test suite and fix formatting 2021-12-05 21:53:49 +00:00
Gabriel Ferreira
9c876c7f5a CMake buildsystem 2021-12-01 12:29:55 -08:00