Commit Graph

165 Commits

Author SHA1 Message Date
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
Gabriel Ferreira
3602894c8e build: add include/library directories from VcPkg to the default search paths
Enables zero-effort usage of third-party libraries (goal B of #856)
2023-11-19 15:43:44 -03:00
Gabriel Ferreira
a7ca50cd44 build: use DEFINED to test the existence of the MSVC variable 2023-11-19 15:39:12 -03:00
Gabriel Ferreira
dcad34924f build: (fixes #498) explain why features failed to be enabled 2023-11-19 12:35:50 -03:00
Gabriel Ferreira
7140134900 build: add optional OUTPUT_VARIABLE field to find_external_library 2023-11-19 12:35:38 -03:00
Gabriel Ferreira
dc94f93adc build: remove single value parsed argument in check_deps 2023-11-19 12:30:11 -03:00
Gabriel Ferreira
1bc7211e49 build: use DEFINED to test if CMAKE_CXX_STANDARD is defined 2023-11-19 12:30:11 -03:00
Gabriel Ferreira
4368a29a2f build: raise error when build_lib is incorrectly used by modules 2023-11-19 12:30:11 -03:00
Gabriel Ferreira
0f45fcd005 build: initialize previously uninitialized variables 2023-11-19 12:30:11 -03:00
Gabriel Ferreira
7acd800e9a build: removed unused code and variables 2023-11-18 19:22:35 -03:00
Gabriel Ferreira
acd344483a build: fix IGNORE_PCH forwarding in example macros 2023-11-18 19:22:06 -03:00
Gabriel Ferreira
8a2f4b642c build: rename optional_visualizer_lib to ns3-optional-visualizer-lib 2023-11-18 19:21:01 -03:00
Gabriel Ferreira
9a3b1ffb68 build: make optional_visualizer_lib into a cache variable 2023-11-18 19:19:04 -03:00
Gabriel Ferreira
008d6abb41 build: set cache variables instead of unsetting them 2023-11-18 19:19:04 -03:00
Gabriel Ferreira
d320f557c0 build: disable warnings on platform specific environment variables 2023-11-18 19:19:03 -03:00
Gabriel Ferreira
9a8fe0b657 build: add macros to disable and enable CMake developer warnings 2023-11-18 19:09:28 -03:00
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