Commit Graph

243 Commits

Author SHA1 Message Date
Gabriel Ferreira
d8ec5caa60 build: Disable inlining and increase stack size on ClangCL/MSVC 2025-07-03 14:03:46 -04:00
Gabriel Ferreira
bb7b22838a build: Use Python venv by default 2025-06-18 10:36:25 +02:00
André Apitzsch
bd3279cb7b build: remove unneeded cmake version switches 2025-06-08 20:22:11 +00:00
Gabriel Ferreira
c464ba6874 build: Fallback to libc++ if clang does not support tuples as map keys
Workaround to avoid issue in clang 17
https://discourse.llvm.org/t/pack-expansion-bug/64910
2025-06-05 10:16:49 +02:00
Gabriel Ferreira
1f82d8f835 build: Load clang-tidy settings via CMake 2025-06-05 10:14:19 +02:00
Gabriel Ferreira
92acde1f41 build: Remove uint128_t test code that emits error in modern compilers 2025-06-05 10:14:19 +02:00
Gabriel Ferreira
08b72c4438 build: Remove C dependency 2025-06-05 10:14:19 +02:00
Gabriel Ferreira
2fc24282e3 build, lte: Only enable emulation features when EmuNetDevice dependencies are met 2025-06-05 10:14:19 +02:00
Gabriel Ferreira
c0010702ce Replace C stdlib.h, stdint.h and math.h headers with C++ variants 2025-06-05 10:14:19 +02:00
Gabriel Ferreira
de7b73692b core: Collect and print stacktrace after fatal error 2025-06-05 10:14:19 +02:00
Gabriel Ferreira
eda1ddd699 build: Bump C++ standard from C++20 to C++23 2025-06-05 10:14:19 +02:00
Gabriel Ferreira
535bd900f1 build: Fix usage of highlighted status message 2025-05-26 19:56:39 +02:00
Gabriel Ferreira
206188d9bd build: Silence warning for unused manually-set Python_EXECUTABLE variable 2025-04-12 13:56:09 +02:00
Gabriel Ferreira
302aef3f77 build: (fixes #1197) Silence Boost find_package warning message 2025-04-12 13:24:33 +02:00
Gabriel Ferreira
96a6c119a6 ci: Force coverage processing to continue on errors and export HTML report 2025-04-08 10:30:20 +00:00
Gabriel Ferreira
4ff5c7a263 build: Disable valgrind on Clang+ARM builds 2025-03-08 18:41:55 +00:00
Gabriel Ferreira
1e21fa478b build: Remove -Wno-error=class-memaccess for ARM builds with eigen
Option is not supported by clang, and is better handled case-by-case
2025-03-08 18:13:24 +00:00
André
0176a0252d build: Fix ns-3 embedded version for out-of-tree config 2025-02-17 19:15:04 +00:00
Eduardo Almeida
d24b08391e build: Add support for clang-tidy-19 in CMake 2025-02-06 16:53:40 +00:00
Eduardo Almeida
0f6425d3a4 clang-tidy: Raise minimum clang-tidy version to 15 2025-02-06 13:45:50 +00:00
Gabriel Ferreira
fd438d142b build: Set proper output directory for export headers and fix their installation 2025-02-03 17:01:06 +00:00
Gabriel Ferreira
2733c1aae2 build: Update GENERATE_EXPORT_HEADER to automatically define module_EXPORTS 2025-01-31 20:31:50 +00:00
Gabriel Ferreira
b4cd684902 build: Avoid setting lld flags when using MSVC
This is handled by the ClangCL toolchain
2025-01-24 16:14:35 +01:00
Gabriel Ferreira
c45d150fd2 build: Make sure CMAKE_CONFIGURATION_TYPES is filled 2025-01-24 16:14:29 +01:00
Gabriel Ferreira
d46b34e18a build: Fix output paths for dlls and executables on MSVC 2025-01-24 16:14:26 +01:00
Gabriel Ferreira
f779332992 build: Use cairo Int64x64 implementation for ClangCL/MSVC 2025-01-24 16:14:23 +01:00
Gabriel Ferreira
808414c164 build: Avoid using non-initialized variable
Only shows up on MSVC
2025-01-24 08:04:05 +00:00
Ivey
cb9259803d build: Provide option to generate export header from build_lib 2025-01-24 08:04:05 +00:00
Ivey
528c9f927f build: Set MSVC build settings and make sure MSVC is defined 2025-01-24 08:04:05 +00:00
Gabriel Ferreira
83000d9a8b build: Avoid include_directories when NS3_FORCE_LOCAL_DEPENDENCIES is set 2025-01-22 13:00:22 +00:00
Gabriel Ferreira
f7e51b1a3c build: Enable clang-tidy 17 and 18 via CMake 2025-01-20 17:20:24 +01:00
Eduardo Almeida
f6e1ee4282 Convert ns-3 #include headers to quotes 2025-01-17 19:02:17 +00:00
Gabriel Ferreira
e7c52a4f4f build: Scan for modules in the external contrib directory ../ns-3-external-contrib 2024-12-21 18:45:28 +00:00
André Apitzsch
637967a73b config-store: Remove unused config-store-config.h 2024-12-10 11:01:59 +00:00
André Apitzsch
f67ff99635 build: Limit scope of MPI definition and include directory 2024-12-07 18:38:56 +01:00
Gabriel Ferreira
3192d8f936 build: Exclude external imported targets from missing libraries check 2024-12-07 18:38:56 +01:00
André Apitzsch
2045a6af58 build: (fixes #1156) Fix 'FindBoost module is removed' warning
See https://cmake.org/cmake/help/latest/policy/CMP0167.html for details.
2024-11-21 11:57:24 +01:00
Gabriel Ferreira
194624068c build: Prevent python bindings from being enabled along with MPI
MPI is not supported by cppyy
2024-11-10 20:11:29 +01:00
Gabriel Ferreira
0e98a8fd87 build: Disable class-memaccess compiler error when using eigen on ARM64 2024-11-04 20:24:24 +01:00
Gabriel Ferreira
9e33aca57f build: Check for permissions before creating new directories 2024-11-03 20:03:58 +00:00
Gabriel Ferreira
ca82a775b9 build: Allow the ns3 script to build/run netanim via the NS3_NETANIM flag 2024-11-01 14:41:06 +01:00
André Apitzsch
df54650281 build: Simplify inclusion of netanim 2024-11-01 12:39:58 +00:00
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
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