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
Gabriel Ferreira
59ae0231ed
build: Add target to convert lcov coverage report to the cobertura format
2024-09-07 21:08:06 +02: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