Commit Graph

28 Commits

Author SHA1 Message Date
Gabriel Ferreira
41aacec626 build: CMake refactoring
Includes:
- refactor build_lib and build_lib_example macros
    - unify src and contrib macros
    - replace macro with function not to leak definitions
    - parse list of arguments
- different cmake-format file for modules to list one item per line
2022-01-28 10:20:18 -03:00
Gabriel Ferreira
bbe2128abe build: more ns3 and CMake fixes
Includes:
- inform ns3 user cmake was not found, or an unsupported version was found
- replace open-mpi environment variables with command-line arguments
- mark more variables as advanced
- add -v and --verbose option to run and only output the programs output by default
- fix scratch subdir prefixes and add tests
- prevent cmake crash when scratch sources do not have a main function
- disable MPI module by default
- wrap cmakelists_content in quotes to prevent failure of filter_libraries
- install pkgconfig files and add tests
- pkg-config generation (still missing installation)
- forward PYTHONPATH to modulegen
- fix dependency search for brite, click and openflow
2022-01-23 17:30:08 -03:00
Gabriel Ferreira
33f2ee841b doc: update ns3 API 2022-01-19 16:25:03 -03:00
Gabriel Ferreira
a893eba7e3 build: Fix CMake and ns3 script bugs, add a test suite and fix formatting 2021-12-05 21:53:49 +00:00
Gabriel Ferreira
3c604d5b2e Update docs with CMake and ns3 wrapper 2021-12-01 12:29:56 -08:00
Gabriel Ferreira
9c876c7f5a CMake buildsystem 2021-12-01 12:29:55 -08:00
Ameya Deshpande
a80d4c95e0 nix-vector-routing: template-based Nix-Vector Routing - IPv4 and IPv6 compliant. 2021-08-13 23:31:35 +00:00
Tommaso Pecorella
cd8414e0e3 click, brite: avoid defining "DL" as compilation param 2021-01-30 20:11:06 +01:00
Steven Smith
dded72e02e build: (fixes #217) Guard compilation of example used as a test
* Added documentation to ExampleAsTestSuite on the need for this guarding
* Updated with Peter's patch for examples-as-test placeholders in wscripts
2020-06-08 09:35:50 -07:00
Peter D. Barnes, Jr
b23be18b3b Use CommandLine cmd (__FILE__) instead of COMMANDLINE macro.
This in effect replaces commit 5e624d550
2020-05-01 14:42:53 -07:00
Peter D. Barnes, Jr
5e624d5504 doc: Use the new COMMANDLINE macro in every example 2020-04-27 16:20:09 -07:00
Tommaso Pecorella
aa5306af2c Remove test-related artifacts 2020-04-05 01:38:02 +02:00
Tom Henderson
0258405cc6 build: Upgrade scripts to Python 3 (many changes due to Ankit Deepak) 2019-08-12 16:55:34 -07:00
Alexander Krotov
8d1b7b1391 Spellcheck the rest of ns-3 2018-06-28 12:51:39 +03:00
Tommaso Pecorella
65056f8897 nix-vector-routing: (fixes #2252) Nix needs StaticRouting to work.
NixVectorRouting doesn't need anymore to be used along with StaticRouting.
2016-02-03 21:35:37 +01:00
Tom Henderson
c0ab716d67 fix brite wscript, which broke due to waf-1.7.16 upgrade 2014-11-10 12:27:57 -08:00
Peter D. Barnes, Jr.
ee641c723b [Doxygen] Remove inappropriate uses of @internal 2014-11-03 12:33:13 -08:00
Peter D. Barnes, Jr.
bfdb6ef10a [Bug 1551] Redux: NS_LOG_COMPONENT_DEFINE inside or outside of ns3 namespace? 2014-09-26 15:51:00 -07:00
Chris Hood
23a3e5f751 Bug 1915 - BRITE channel delay is rounded to an integer 2014-05-19 21:34:20 +02:00
Tom Henderson
2661df4606 make waf smarter about finding BRITE automatically 2014-05-03 10:12:46 -07:00
Vedran Miletić
6acf41814e Move tests outside ns3 namespace 2014-01-02 18:34:30 +01:00
Peter D. Barnes, Jr.
cce3b82113 Remove extra ':'s 2013-11-14 16:57:49 -08:00
Peter D. Barnes, Jr.
1c3e6149ab Models source highlighting 2013-11-14 16:57:21 -08:00
Peter D. Barnes, Jr.
578f3a1f04 Fix doxygen module references 2013-11-14 16:52:11 -08:00
Vedran Miletić
bbdb4231b3 Upgrade waf to 1.7.10 and fix included wscripts
This is a massive upgrade removing almost all pre-waf 1.6 script code. In addition, this does away with custom pkgconfig.py script for making .pc files and replaces it with waf's builtin mechanism.

Massive thanks to Alex Afanasyev for ideas and bugfixing, to Alina Quereilhac for bugfixing and testing, and to Tom Henderson for thorough testing.
2013-04-01 22:33:46 +02:00
Nicola Baldo
b69928a648 bug 1563: get rid of default argument value in AddTestCase 2013-03-22 13:14:38 +01:00
Tom Henderson
b6ce4627d4 fix static build 2012-12-16 22:37:14 -08:00
Brian Swenson
ae21650756 Brite Integration 2012-12-04 11:53:47 -05:00