Gabriel Ferreira
8f6a3413a4
style: apply black and isort
2023-11-20 21:30:01 -03:00
Gabriel Ferreira
c1a03d9777
build: enable CMake's --warn-uninitialized by default
2023-11-19 12:30:12 -03:00
Gabriel Ferreira
f2c00ceb3b
build: fix a test-ns3.py test-case and the bug introduced by a1a6d559
2023-11-19 12:30:11 -03:00
Alexander Krotov
a1a6d55949
build: Use cmake options -S and -B to avoid changing working directory
2023-11-05 00:01:20 +00:00
Gabriel Ferreira
3a356f4680
build: bump minimum CMake version to CMake 3.13
2023-11-05 00:01:20 +00:00
Gabriel Ferreira
a2250f02ce
build: add new target to check the CMake format
2023-10-28 15:52:56 -03:00
André Apitzsch
daab1d6afe
build: remove unnecessary comment
...
Leftover from d595f91f6b ("build: remove unnecessary CMake version check")
2023-10-27 10:01:16 +02:00
Gabriel Ferreira
d595f91f6b
build: remove unnecessary CMake version check
2023-10-27 00:25:05 -03:00
Gabriel Ferreira
75f557869f
build: bump minimum CMake version to 3.12
2023-10-19 10:58:39 -03:00
Gabriel Ferreira
4cd4b75309
build: reformat the ns3 script
2023-10-13 20:46:44 -03:00
Gabriel Ferreira
2875810a61
build: ensure build and cmake-cache directories are removed on clean
2023-10-13 20:45:59 -03:00
Gabriel Ferreira
816ebce2a5
build: refactor path forming
2023-10-13 20:43:34 -03:00
Gabriel Ferreira
781e37e40c
build: prevent data loss when a CMakeCache.txt is in the root directory
2023-08-26 23:42:03 -03:00
Gabriel Ferreira
7ffbde57a1
docs: document example and test filtering per module feature
2023-08-25 19:06:30 -03:00
Gabriel Ferreira
e7246b4e78
build,test: add support for Vcpkg and CPM package managers
2023-08-15 22:32:45 +00:00
Gabriel Ferreira
e8317e44cd
build: trim cmake executable extension on Windows
2023-06-15 02:32:34 +00:00
André Apitzsch
9e652e463f
build: fix help message of '--output-directory'
2023-05-25 09:33:20 +02:00
Gabriel Ferreira
af1a66514a
build: pass Python information to CMake via the ns3 script
...
Allows use of different python installations on the same system.
2023-03-24 13:48:26 -03:00
Gabriel Ferreira
fa477e061e
build: remove code intended for waf compatibility from the ns3 script
2023-03-17 23:58:33 -03:00
Gabriel Ferreira
cb736ec3eb
build: expose the installation docs option in the ns3 script
2023-03-17 23:58:33 -03: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
0fa92ccf5e
build: remove pip packaging artifacts with ns3 distclean
...
Signed-off-by: Gabriel Ferreira <gabrielcarvfer@gmail.com >
2023-02-15 14:44:45 +00:00
Eduardo Almeida
e4837c4c86
build: Add flag to ./ns3 to enable/disable Eigen3
2023-02-08 14:25:30 +00:00
Gabriel Ferreira
6ed1378d1a
build: limit perf to target and remove context-switch events
2023-01-22 15:14:42 +00:00
Gabriel Ferreira
1b71af65b3
test: disable command line colouring during test-ns3.py tests
2023-01-22 15:14:42 +00:00
Gabriel Ferreira
3a0bd53c7a
build: add distclean option to the ns3 script
2023-01-22 15:14:42 +00:00
Gabriel Ferreira
a861b65dc8
build: accept ./ns3 help in addition to ./ns3 --help
2023-01-22 15:14:42 +00:00
Gabriel Ferreira
05fac415d2
build: check for "cmake3" first then fallback to "cmake"
2022-12-01 22:01:21 -03:00
Gabriel Ferreira
87c85c8156
build: add Ninjatracing support
2022-11-13 21:17:39 +00:00
Gabriel Ferreira
77a583ef08
build: ( fixes #808 ) handle profile setting changes in the first ns3 run
2022-11-13 21:17:39 +00:00
Gabriel Ferreira
24bf406041
build: fix build profile configuration in ns3
2022-11-01 10:06:37 -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
Gabriel Ferreira
973463da5e
build: fix mpiexec check in the ns3 script
2022-10-23 20:48:11 -03:00
Gabriel Ferreira
f382439edb
build: ( fixes #779 ) prevent ./ns3 clean from deleting the ns-3 directory
...
This could happen if either the output directory or the cmake cache path were set to the ns-3 root path.
2022-10-19 16:48:54 -03:00
Gabriel Ferreira
89dbb78ba4
build: expose the coverage_gcc target in the ns3 script
2022-10-17 23:04:49 -03:00
Gabriel Ferreira
642ffe8361
build, doc: add options to run with Heaptrack, Memray or Perf profilers
2022-10-17 23:04:49 -03:00
Gabriel Ferreira
6e8642d294
build: check if a dependency exists before calling it in ns3
2022-10-17 23:04:49 -03:00
Gabriel Ferreira
c34abb4ccc
build: initial Windows support patches
2022-09-24 15:16:52 -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
Tommaso Pecorella
57347ec7e6
doc: ci: check for trailing white space in generated introspected-x.h
2022-08-30 20:30:42 +00:00
Alexander Krotov
f151a6e449
build: remove binding scanning related variables from the ns3 script
...
They are unused since switch to cppyy
2022-08-16 20:03:59 -03:00
Gabriel Ferreira
0b2c62bf93
build: fix typos and formatting
2022-08-07 21:18:59 +00:00
Gabriel Ferreira
d731bda35d
build: show valgrind leaks when running with ns3
2022-08-04 02:08:05 -03:00
Gabriel Ferreira
5306b926dc
build: add 'ns3 show (all)' options
2022-07-21 22:32:14 -03:00
Gabriel Ferreira
2247130fb1
build: accept 'ns3 -h' in addition to 'ns3 --help'
...
Fix #699
2022-07-08 19:30:58 +00:00
Gabriel Ferreira
9ff4236d5a
build: fix ns3 argument splitting on -- separator
2022-07-08 14:40:26 +00:00
Gabriel Ferreira
e435de3692
build: complement "ns3 build --help" and "ns3 run --help"
...
Includes:
- replace "ns3 --list" with "ns3 show targets"
- rename 'ns3 build' and 'ns3 run' target names
2022-07-08 14:40:26 +00:00
Gabriel Ferreira
0424c9a09c
build: add to ns3 a --list option to print targets to build and run
2022-06-18 18:10:50 -03:00
Gabriel Ferreira
557e37f668
build: Let ns3 change the configured build profile and C++ standard
2022-05-21 04:17:34 +00:00