Commit Graph

240 Commits

Author SHA1 Message Date
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
Eduardo Almeida
fe15c39d52 Remove Emacs line from version-defines-template.h 2022-11-11 13:01:31 +00:00
Gabriel Ferreira
bd23250108 build: remove Gnuplot check 2022-11-01 01:09:20 -03:00
Gabriel Ferreira
f4fe064832 build: reorder version arguments to align with version.cache 2022-10-31 18:19:11 -03:00
Gabriel Ferreira
b857ca3732 build: (fixes #798) ignore the version.cache build profile 2022-10-31 10:24:12 -03:00
Gabriel Ferreira
4185406a42 build: (fixes #799) export ns-3 build profile names in version.cache 2022-10-31 10:18:58 -03:00
Eduardo Almeida
f50b180a1f core, build: Fix filesystem library support detection 2022-10-25 20:36:05 +01: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
881f64017f build: support "private" headers (unlisted in module headers) 2022-10-10 20:09:59 -03:00
Eduardo Almeida
e25ff966fe Apply clang-format to codebase 2022-10-07 20:08:35 +00:00
Eduardo Almeida
3e39cb0724 Fix formatting of some files before clang-format application 2022-10-06 20:41:07 +00:00
Eduardo Almeida
fcb90b1ef6 Add clang-format guards to protect code formatting 2022-10-06 20:38:36 +00:00
Gabriel Ferreira
c34abb4ccc build: initial Windows support patches 2022-09-24 15:16:52 -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
d4cf96cfd0 build: handle Windows paths during the creation of the lock 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
0ebda15dca build: Fix uninstallation of pkg-config files 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
ca421d6447 build: fix reading of "0" values from version.cache
Fixes https://gitlab.com/nsnam/ns-3-dev/-/issues/712
2022-08-08 13:42:54 -03:00
Gabriel Ferreira
da221e41f6 build: remove git dependency when using version.cache and add a test 2022-08-07 21:18:59 +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
5306b926dc build: add 'ns3 show (all)' options 2022-07-21 22:32:14 -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
0219e55c46 build: replace cmakedefine with define for integers in version-defines.h
Fixes https://gitlab.com/nsnam/ns-3-dev/-/issues/676
2022-06-18 19:04:16 -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
André Apitzsch
b33c0646a4 build: fix out-of-tree netanim build 2022-06-16 14:01:04 +00:00
Gabriel Ferreira
6db83e54bf build: split environment variables used to search for libraries
Fixes https://gitlab.com/nsnam/ns-3-dev/-/issues/673
2022-06-09 19:24:55 -03:00