Commit Graph

85 Commits

Author SHA1 Message Date
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
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
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
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
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
Gabriel Ferreira
f2f9a4ef4d build: (fixes #815) Configure find_program to search for AppBundles last in MacOS 2022-11-26 00:27:26 -03:00
Gabriel Ferreira
1ccd8ed0b6 test: add NS3_CLANG_TIMETRACE test case in test-ns3.py 2022-11-13 21:17:39 +00:00
Gabriel Ferreira
0e7a8ebb31 build: check ccache version before enabling precompiled headers 2022-11-13 21:17:39 +00:00
Gabriel Ferreira
87c85c8156 build: add Ninjatracing support 2022-11-13 21:17:39 +00:00
Gabriel Ferreira
5473752af8 build: skip full python checks unless bindings are enabled 2022-11-13 21:17:39 +00:00
Gabriel Ferreira
52bb99f81f build: replace find_package(Doxygen) with the result from check_deps 2022-11-13 21:17:39 +00:00
Gabriel Ferreira
bd23250108 build: remove Gnuplot check 2022-11-01 01:09:20 -03:00
Gabriel Ferreira
53f2c381dc build: (fixes #789) add examples as dependencies of example-as-test suites 2022-10-25 12:59:40 -03:00
Gabriel Ferreira
c5e48cf251 build: use CMAKE_CXX_COMPILER_LAUNCHER instead of RULE_LAUNCH_COMPILE 2022-10-17 23:01:30 -03:00
Eduardo Almeida
8ceacee338 Trim trailing whitespace in CHANGES.md, macros-and-definitions.cmake and lr-wpan.rst 2022-10-15 21:13:54 +01:00
Gabriel Ferreira
9e0c6b281d build: widen the dependencies search to streamline Bake use 2022-10-13 23:54:47 -03:00
Gabriel Ferreira
aee234645a build: remove bindings dependency on the lock, add opt-in installation 2022-10-12 13:13:11 -03:00
Gabriel Ferreira
23872428f0 build: update NS3_CLANG_FORMAT and NS3_CLANG_TIDY messages to throw error when not found 2022-10-10 23:31:12 -03:00
Gabriel Ferreira
f8846d22ed build: add STANDALONE option to build_exec and fix static builds 2022-09-24 15:04:53 -03:00
Gabriel Ferreira
8d96d482b6 build: use lld or mold linkers in supported platforms 2022-09-21 21:45:35 -03:00
Gabriel Ferreira
ab7334a287 build: use only header stubs and expose additional options in the ns3 script
Includes:
- Expose --enable/disable-clang-tidy in the ns3 script;
- Expose --enable/disable-precompiled-headers in the ns3 script;
- Disable PCH on Windows.
2022-09-21 21:45:35 -03:00
Gabriel Ferreira
81155c18c7 build, docs: Add option to limit build and testing to specified modules 2022-09-19 21:55:26 +00:00
Gabriel Ferreira
3e43ef1742 build, docs: Replace python-based with cmake-based .ns3rc files 2022-09-19 21:55:26 +00:00
Gabriel Ferreira
c633a1420c build: Add new build_exec macro to declare executable targets
Also adds IGNORE_PCH option to build_example macro.
2022-09-17 11:13:38 +00:00
Gabriel Ferreira
3bb39bd746 build, core: check for experimental std::filesystem and link the additional library if needed 2022-09-11 17:17:02 -03:00
Heun
406343084b build: Fix static build with Clang on macOS 2022-09-05 02:19:30 +00:00
Gabriel Ferreira
5334c1e460 build: Add quotes to prevent parsing errors in the WSLv1 check
Fixes #732
2022-09-01 18:42:57 -03:00
Tommaso Pecorella
57347ec7e6 doc: ci: check for trailing white space in generated introspected-x.h 2022-08-30 20:30:42 +00:00
Gabriel Ferreira
2dd6f858c0 build: (fixes #730) add compiler workaround for ostream& operator<<(ostream&, nullptr_t) 2022-08-30 20:30:07 +00:00
Gabriel Ferreira
a25e553fa2 build, bindings: check if cppyy is available at runtime and format cmake 2022-08-05 01:17:00 -03:00
Tommaso Pecorella
5e551a2180 core: (fixes #416) remove librt checks 2022-08-05 01:42:12 +00:00
Gabriel Ferreira
36df81be90 bindings: replace pybindgen bindings support with cppyy bindings 2022-08-01 21:24:02 +00:00
Gabriel Ferreira
ddf49b31ef build: reduce scope of NS3_ENABLE_EXAMPLES flag
Prevents recompilation of modules when tests are enabled
2022-07-27 20:20:28 -03:00
Gabriel Ferreira
63f03d5e15 build: re-enable PCH with CCache
Includes:
 - disable PCH validation when using XCode
 - disable Clang's PCH timestamping
 - add ostream header to the PCH
2022-07-01 22:07:40 -03:00
Gabriel Ferreira
08d2d6cb00 build: widen find_external_library header search scope 2022-06-18 17:57:13 -03:00
Gabriel Ferreira
89d992af47 build: cmake-format 2022-06-18 17:57:06 -03:00