262 Commits

Author SHA1 Message Date
André Apitzsch
55c2fe7253 build, core, doc, vis: Add license information to third-party files 2024-10-27 13:34:42 +00:00
André Apitzsch
4bf311da47 build: Add SPDX license 2024-10-27 13:34:42 +00:00
Gabriel Ferreira
209fca0939 build: Disambiguate visualizer module and executable 2024-10-23 20:22:13 +02:00
F5
a1d007d173 Merge tag 'ns-3.43' into unison
ns-3.43 release
2024-10-20 15:23:35 +08:00
Gabriel Ferreira
d0b08186b5 build: Specify project source directory for configured header templates 2024-10-11 18:20:41 +00:00
Eduardo Almeida
7c39050169 build, wifi: Replace GPL blob with SPDX license 2024-10-07 16:51:03 +01:00
Eduardo Almeida
54c1f24909 build, core: Move formatting guards to include copyrights 2024-10-07 16:50:58 +01:00
Gabriel Ferreira
626e19da43 build: Fix examples filtering 2024-09-15 14:05:12 +00:00
Gabriel Ferreira
498a832e87 ci: Add code coverage job for GitLab 2024-09-07 21:08:06 +02:00
Gabriel Ferreira
59ae0231ed build: Add target to convert lcov coverage report to the cobertura format 2024-09-07 21:08:06 +02:00
F5
a43bb999d8 Merge tag 'ns-3.42' into unison
ns-3.42 release
2024-09-07 16:01:00 +08:00
André Apitzsch
8bc94a1cc3 Use SPDX license identifiers 2024-09-06 19:32:31 +00:00
Gabriel Ferreira
8e7eb707fc build: Prevent empty list from causing REMOVE_ITEM to fail 2024-09-05 11:38:40 +02:00
Gabriel Ferreira
2ed1ac1e24 build: Remove lib prefix from test module 2024-08-31 19:56:56 +02:00
Gabriel Ferreira
4f5b356517 build: Remove NS3_ENABLE_EXAMPLES flag
examples_as_tests_dependencies macro adds examples called by tests as CMake target dependencies
2024-08-30 23:57:28 +00:00
Gabriel Ferreira
c3236a29fc build: Refactor build_lib and static/monolib target setups 2024-08-30 23:57:28 +00:00
Gabriel Ferreira
744c0fade4 build: Fix examples filtering 2024-08-30 23:57:28 +00:00
Gabriel Ferreira
b98b408f72 build: Add NS3_FORCE_LOCAL_DEPENDENCIES option to ignore system directories 2024-08-30 23:57:28 +00:00
Gabriel Ferreira
55abe1f10a build: Limit recursion to speed up configuration in slow filesystems with many files 2024-08-30 23:57:28 +00:00
Gabriel Ferreira
0d051e6705 build: Drop lib prefix from module targets 2024-08-30 23:57:28 +00:00
Gabriel Ferreira
ddc8795a05 build: Add instructions on how to disable Windows path injection for WSL 2024-07-26 18:01:57 +02:00
Gabriel Ferreira
ae248726dc build: Remove cppyy guard for ARM-based Macs 2024-06-04 14:58:11 +00:00
Nakayama Kenjiro
3c4019304a build: Enable BSD support 2024-06-02 07:46:55 +00:00
Rui Chen
06a0874647 build: Prevent the redefinition of stdlib_pch target in release builds
```
  -- Precompiled headers were enabled
  CMake Error at build-support/macros-and-definitions.cmake:1272 (add_library):
    add_library cannot create ALIAS target "stdlib_pch" because another target
    with the same name already exists.
  Call Stack (most recent call first):
    CMakeLists.txt:149 (process_options)
```

Signed-off-by: Rui Chen <rui@chenrui.dev>
2024-05-26 21:48:38 +00:00
Gabriel Ferreira
f1251f81e0 build: Unset GCC_WORKING_PEDANTIC_SEMICOLON before actual compiler check 2024-05-21 20:45:07 -03:00
Gabriel Ferreira
02e5494695 build: (fixes #1086) Initialize GCC_WORKING_PEDANTIC_SEMICOLON 2024-05-20 14:14:11 +00:00
Gabriel Ferreira
8ce6c6f8f7 build: Add dia as a Sphinx dependency
It is required by the manual
2024-05-03 18:21:11 +00:00
Gabriel Ferreira
f008b0c9ab build: Lower optimization of GCC 9 default builds from -Os to -O2
A bug in GCC can result in crashes due to excessive memory usage (>10GB)
2024-04-29 14:30:25 +02:00
Gabriel Ferreira
53e653b262 build: Fix trailing semicolon check for GCC pedantic warnings 2024-04-27 11:57:04 +02:00
Gabriel Ferreira
d1fb6b4046 build: Stricter sanitizer checks 2024-04-21 22:26:02 +02:00
Gabriel Ferreira
4ce1982082 build: Disable pedantic checks in GCC9 due to extra semicolon check 2024-04-21 17:02:07 +00:00
Gabriel Ferreira
150fb0e1ce Enable pedantic checks for C++ conformance 2024-04-21 17:02:07 +00:00
Gabriel Ferreira
ce15778490 build: Include additional headers to the PCH
Including: deque, functional, queue, tuple, typeinfo, type_traits and utility
2024-04-21 17:02:07 +00:00
Gabriel Ferreira
4441280a16 build: (fixes #1048) Link non-module libraries in static and monolib builds 2024-04-18 19:13:47 +00:00
Gabriel Ferreira
03a2015483 build: Set LIBXML2_FOUND to prevent uninitialized variable use in static build 2024-04-18 19:13:47 +00:00
Gabriel Ferreira
c4261cd815 build: (fixes #1065) Avoid lld issue by reverting -Os to -O2 builds on MacOS 2024-04-18 19:13:47 +00:00
F5
08db4ac6d7 Merge tag 'ns-3.41' into unison
ns-3.41 release
2024-03-26 10:54:49 +08:00
André Apitzsch
7c18be6fb7 brite: update version to fix unknown-pragmas warnings 2024-03-22 15:42:13 +00:00
Gabriel Ferreira
9b62087072 build: Change default build from -O2 -g to -Os -g 2024-02-27 15:37:32 +01:00
Gabriel Ferreira
2209a5abd1 build: bump minimum GCC version to 9.1 and remove libfs compiler workaround 2024-02-13 21:47:54 +01:00
Eduardo Almeida
82153c2964 build, core: (fixes #790) Remove experimental filesystem 2024-02-13 21:47:22 +01:00
Gabriel Ferreira
7d46a38513 build: silence MacOS warning in case of nonexistent library directory 2024-01-04 23:19:04 +01:00
Gabriel Ferreira
cdc82656c7 openflow: update fetching of openflow after porting to CMake 2023-12-27 20:23:30 +00:00
Gabriel Ferreira
e6ebbb58b3 brite: update fetching of brite after porting to CMake 2023-12-27 20:23:30 +00:00
Gabriel Ferreira
1f1c351156 build: refactor handling of lib/lib64 install directories 2023-12-27 20:23:30 +00:00
Gabriel Ferreira
638eb02f97 build: initialize message colours with empty strings 2023-11-22 18:21:14 -03:00
Gabriel Ferreira
ed66e04b0b build: reset LIB_AS_NEEDED_PRE in Windows when using lld 2023-11-22 18:17:27 -03:00
Gabriel Ferreira
643255e749 build: set ENABLE_FDNETDEV to FALSE on unsupported platforms 2023-11-22 18:10:36 -03:00
Gabriel Ferreira
277631f95e build: initialize LIB_AS_NEEDED_PRE/_POST on MacOS 2023-11-22 18:02:37 -03:00
Gabriel Ferreira
8f6a3413a4 style: apply black and isort 2023-11-20 21:30:01 -03:00