Gabriel Ferreira
6b928cdad5
build: Remove include directories propagation workaround required by CMake <= 3.12
2023-11-05 00:01:20 +00:00
Gabriel Ferreira
a13acab475
tests: fix spelling mistake
2023-10-28 15:57:04 -03:00
Gabriel Ferreira
a2250f02ce
build: add new target to check the CMake format
2023-10-28 15:52:56 -03:00
Gabriel Ferreira
c9016a50c1
build: split macros-and-definitions.cmake
2023-10-27 13:19:16 -03:00
Gabriel Ferreira
d595f91f6b
build: remove unnecessary CMake version check
2023-10-27 00:25:05 -03:00
Gabriel Ferreira
33756a9298
build: bump minimum GCC version to 9
2023-10-27 00:12:07 -03:00
André Apitzsch
41ba71b748
build, core: remove code required for cmake versions < 3.12
...
With the raise of the minimal CMake version, this is no longer needed.
2023-10-25 10:28:59 +02:00
André Apitzsch
ecd3874a24
build: remove clang 6-9 references from CMake scripts
...
As stated in the release notes, the minimum supported version of clang is 10.0.
2023-10-23 10:28:06 +02:00
Gabriel Ferreira
2622354a0b
build: bump minimum C++ version to C++20
2023-10-19 10:59:23 -03:00
Gabriel Ferreira
4e06af5256
build: disable restrict warning when using GCC 12.1-12.3
...
Prevents warning raised by a compiler bug when using GCC 12.1-12.3 with C++20
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105545
2023-10-19 10:57:02 -03:00
Gabriel Ferreira
9600693fb1
build: disable precompiled headers when using GCC >=12.2
...
Prevents out-of-bounds error bug present in GCC >=12.2 that happens when precompiled headers are used with c++20
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106799
2023-10-19 10:53:59 -03:00
Gabriel Ferreira
269a630910
build, visualizer: update feature messages
2023-09-11 18:53:20 -03:00
Gabriel Ferreira
b7cf3fb52d
build: Add support for custom failure reason for features
2023-09-11 18:53:20 -03:00
Gabriel Ferreira
5686c9279a
build: Prevent python bindings from being enabled on ARM Macs
2023-09-11 18:53:20 -03:00
Gabriel Ferreira
111814bcd3
doc: add VcPkg and CPM docs
2023-08-15 22:32:45 +00:00
Gabriel Ferreira
e7246b4e78
build,test: add support for Vcpkg and CPM package managers
2023-08-15 22:32:45 +00:00
Gabriel Ferreira
1c30d11779
build: propagate module definitions to linked targets
2023-08-02 20:10:30 +00:00
Gabriel Ferreira
2d69a05371
build: ( fixes #928 ) Fix pkgconfig generation
2023-07-14 16:15:34 -03:00
Gabriel Ferreira
c199a3d796
visualizer: fix pip packaging stubs and import statements
2023-07-03 12:55:44 -03:00
Gabriel Ferreira
84cbe1451e
build: remove pybindgen leftovers
2023-06-15 02:32:34 +00:00
Gabriel Ferreira
7473b7f428
build: rename cmake-format settings files
2023-06-15 02:32:34 +00:00
Gabriel Ferreira
ec9d26acd9
bindings: package ns-3 as a pip wheel
...
Includes:
- Python examples to test Brite, Click and Openflow
- CI jobs for manylinux packaging of pip wheel
- Support for Linux distributions with lib and lib64 directories
- Configuration of RPATH not to require setting LD_LIBRARY_PATH
Signed-off-by: Gabriel Ferreira <gabrielcarvfer@gmail.com >
2023-05-29 22:36:32 -03:00
Eduardo Almeida
42d6eea6de
Remove emacs lines from Python and C++ files
2023-05-23 16:20:52 +00:00
Gabriel Ferreira
680dc71ae6
build: add USE_MATH_DEFINES define to expose M_PI on Windows
2023-05-01 00:11:25 -03:00
Gabriel Ferreira
3c826c5922
build: do not add a prefix when parent directories contain "scratch"
2023-04-27 14:23:45 -03:00
Gabriel Ferreira
831b40ca5a
build: disable C++ compiler extensions
2023-04-27 13:47:20 -03:00
Gabriel Ferreira
4b5769439e
build: explicitly link stdc++fs on GCC 8
2023-04-15 12:04:12 -03:00
Gabriel Ferreira
71c1fba5a0
build: do not build the test object library when tests are disabled
2023-04-06 23:41:38 +00:00
Gabriel Ferreira
2b98ccb9e2
test: test-ns3.py case to check if modules from src can depend on contrib
2023-04-06 23:41:38 +00:00
Gabriel Ferreira
043199ce9d
build: prevent collision between homonymous ns-3 modules and dependencies
2023-04-01 10:05:00 -03:00
Gabriel Ferreira
d9499afc72
build: properly propagate included directories from dependencies
2023-03-31 14:32:44 -03:00
Gabriel Ferreira
8b8025e63c
build: inform that NS3_BINDINGS_INSTALL_DIR is meant for redistribution
2023-03-24 14:09:34 -03:00
André Apitzsch
69de0bc493
netanim: Add missing version updates
...
a7bdcafed9 didn't cover all.
2023-03-19 18:27:32 +00:00
Gabriel Ferreira
24459a6213
build: fix warning when python bindigns are disabled
2023-03-18 00:03:56 -03:00
Tom Henderson
9a2fd5d597
doc: Add installation guide to sphinx target
2023-03-07 21:15:34 -08:00
Biljana Bojovic
44644e4a01
build-support: Disable non MPL2 compatible Eigen features
...
Disable the features that are still under LGPL.
2023-03-03 21:15:50 +01:00
Biljana Bojovic
7f8a1dfa8a
cmake: Fix that allows FindEigen3.cmake to be executed
...
With this fix in the macros-and-definition script,
FindEigen3.cmake can be executed when needed, and hence
allows using custom Eigen 3rd-party library instead of
default installation version. I.e. it is enough to simply
place eigen in some folder, and then running export
EIGEN3_ROOT=/some/folder/eigen before compiling
will allow the FindEigen3.cmake script to find it.
2023-03-03 21:15:50 +01:00
Gabriel Ferreira
264f6d9b72
build: emit warning for the doxygen target if tests and examples are disabled
...
Signed-off-by: Gabriel Ferreira <gabrielcarvfer@gmail.com >
2023-02-15 18:19:16 +00:00
Gabriel Ferreira
472992b891
build: disable CMake formatting for FindEigen3.cmake
...
Signed-off-by: Gabriel Ferreira <gabrielcarvfer@gmail.com >
2023-02-15 14:44:45 +00:00
Gabriel Ferreira
e1d8f19320
build: fix installation of private headers
...
Signed-off-by: Gabriel Ferreira <gabrielcarvfer@gmail.com >
2023-02-15 14:44:45 +00:00
Gabriel Ferreira
7193cce35b
build: fetch dependencies for Brite, Click and Openflow
...
Signed-off-by: Gabriel Ferreira <gabrielcarvfer@gmail.com >
2023-02-15 14:44:45 +00:00
Matteo Pagin
1c0fecc69c
antenna, spectrum: GSoC-22 Add support for Eigen library
2023-02-08 14:25:30 +00:00
Gabriel Ferreira
df5fa6bc3b
build,scratch: add a nested scratch directory example
...
Signed-off-by: Gabriel Ferreira <gabrielcarvfer@gmail.com >
2023-02-01 16:46:15 +00:00
Gabriel Ferreira
edafe76036
build: add new .ns3rc message and table asserts/logs setting status
2023-01-26 23:22:46 +00:00
Eduardo Almeida
5e4dfe69a6
build: Fix warnings in auxiliary files
2023-01-03 23:52:27 +00:00
Gabriel Ferreira
c4ba542e7a
build: switch from RULE_LAUNCH_COMPILE to CXX_COMPILER_LAUNCHER
2022-12-30 02:57:42 +00:00
Peter D. Barnes, Jr
fec6a2c1d7
core: use maybe_unused instead of `(void)' cast
2022-12-06 08:34:47 +00:00
Gabriel Ferreira
1be44d8ecf
build: prevent the configuration from succeeding if headers do not exist
2022-11-30 23:25:33 -03:00
Gabriel Ferreira
5b644250c0
build: add suffix to PCH to speed up recompilation when switching build profiles
2022-11-30 15:03:13 -03:00
Gabriel Ferreira
b59565aa9b
build: add NS3_CCACHE and NS3_FAST_LINKERS switches to disable ccache and lld/mold usage
2022-11-30 15:03:13 -03:00