Commit Graph

71 Commits

Author SHA1 Message Date
F5
ec09348f8b Merge commit 'ebb5969' into unison 2023-11-11 21:16:15 +08:00
F5
cce2a28a0a build: Add --enable-mtp option 2023-09-15 16:04:12 +08: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
Gabriel Ferreira
d616b77129 build: call NS3_VERBOSE block earlier to catch early library checks 2022-06-09 17:07:41 -03:00
Tom Henderson
b6a5ee8151 Run utils/trim-trailing-whitespace.py on codebase 2022-06-05 21:01:11 -07:00
Gabriel Ferreira
0b76f161ce build: fix IGNORE_PCH option for modules and sort the PCH header list 2022-06-03 17:59:30 -03:00
Gabriel Ferreira
bae1e40ceb build: fix netanim build and program output path 2022-05-29 15:34:53 +00:00
Gabriel Ferreira
20a0fb2e8d build: Use check_include_file when checking for C headers
The cxx variant fails on MinGW
2022-05-29 15:34:53 +00:00
André Apitzsch
84d5b81fb3 build: Fix and improve generated pkgconfig files
Includes:
- ignore '-l' option for absolute paths
- remove duplicate include directories
2022-05-21 11:29:19 +00:00
Gabriel Ferreira
cc68be51b3 build: Allow module examples in subdirectories other than "examples"
Fixes https://gitlab.com/nsnam/ns-3-dev/-/issues/655
2022-05-13 19:09:33 -03:00
Gabriel Ferreira
6473b7ec98 build: rollback linking to globally searched libraries 2022-05-13 18:50:55 -03:00
Gabriel Ferreira
f1e9d9c842 build: config table fixes
Includes:
- consistent ns-3 naming
- updated sqlite3 entry
- added entries for libxml2 and pybindgen scanning
2022-05-13 15:34:49 -03:00
Gabriel Ferreira
ea7ca9b690 build: include and link to globally searched libraries 2022-05-12 19:15:48 -03:00
Gabriel Ferreira
8afef2b89d build: Fix typo in find_external_library macro 2022-05-11 16:02:55 -03:00
Gabriel Ferreira
bf6effc920 build: Improve ns3rc parsing to support multiline list/skip comments 2022-05-11 16:01:48 -03:00
Gabriel Ferreira
15eeed5f1c build: Restore debug build profile flags 2022-05-11 13:54:55 -03:00
Eduardo Almeida
e5e58ebdbc build: Update CMake to use system threads
With the help of Gabriel Ferreira and Tommaso Pecorella.
2022-05-04 19:47:39 +01:00
Eduardo Almeida
9d9dfc71a5 stats: Replace POSIX semaphore with STL 2022-05-04 19:04:31 +01:00
Gabriel Ferreira
98eaf7a746 build: Do not recreate header symlinks during CMake refreshes 2022-05-02 16:11:19 -03:00
Tom Henderson
7cd842486e build: Disable warning from Python bindings under clang++ 2022-04-29 16:10:45 -07:00
Gabriel Ferreira
9ea73461c0 build: Add python framework RPATHs when building on Macs 2022-04-27 19:04:29 -03:00
Gabriel Ferreira
983725f449 build: Rephrase check-version message when build version is disabled 2022-04-23 20:14:38 -03:00