2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-11-22 18:07:12 +01:00
Commit Graph

51 Commits

Author SHA1 Message Date
bba5047716 Options: set argparse conflict_handler in constructor 2024-05-26 07:55:05 +00:00
Waf Project
327471474f Options on the command-line should not raise conflicts by default 2024-05-19 12:44:53 +02:00
Waf Project
149102f11f Argparse updates 2024-05-14 00:26:16 +02:00
Waf Project
4d0edd113a Print waf version 2024-05-12 02:20:25 +02:00
Waf Project
bd5c22d484 Move from optparse to argparse 2024-04-28 00:35:28 +02:00
Björn Lindqvist
8b140fd541 Pass the args parameter through to parse_cmd_args 2023-10-21 10:05:03 +02:00
Thomas Nagy
4f8099fbdc Improve custom option processing #2280 2020-03-27 20:20:22 +01:00
Adriano Scoditti
e3c275a96a Make distclean target 'no_lock_in_top/run' modifiers compatible with env vars 2019-12-10 07:32:16 +01:00
Thomas Nagy
fbee1a19d2
Tune the application name on --help #2254 2019-10-14 07:59:40 +02:00
Thomas Nagy
2758fb3f7c Silently ignore negative values for -j 2019-09-26 21:50:18 +02:00
Thomas Nagy
d21446ff71
Update docs for 2018 2018-01-01 20:53:49 +01:00
Thomas Nagy
3d64c32c2c
Do not expose the pdb option by default 2017-09-30 21:31:07 +02:00
Roland Puntaier
314240fec9 --pdb option to start pdb on exception 2017-09-30 21:28:55 +02:00
Calle Rosenquist
1354a37255 Set Logs.verbose from options (regression from be05b6ee8b) 2017-09-19 15:29:29 +02:00
Thomas Nagy
dcefc468bb
Python3 fixes 2017-09-10 20:59:59 +02:00
Thomas Nagy
be05b6ee8b
Accept relative prefix/bindir/libdir paths from launch_dir
Additionally:
- Scripting.parse_options is back for compatibility reasons
- The help message should only be displayed when this is intended
- OptionsContext is responsible for the full initialization, so
  the framework should be usable without requiring Scripting.py
- Make it clear that Options.options is an optparse.Values object
- Get rid of the state in Options.options
2017-09-10 20:59:29 +02:00
Adriano Scoditti
3cea04e829 Improve options management 2017-09-10 19:11:27 +02:00
Matt Selsky
b247ab1c83 Typos 2017-03-27 19:33:16 +02:00
Jan Niklas Hasse
6ce33c7e53 Support CLICOLOR(_FORCE) to control colored output 2017-03-25 10:44:57 +01:00
Thomas Nagy
b7d93c3c4d
Update the year in headers to 2017 2017-02-11 16:13:37 +01:00
Thomas Nagy
ef6525c0bf
Api docs 2016-06-25 14:49:27 +02:00
Thomas Nagy
a2ca4b6dab
Remove Options.platform and Options.cmds 2016-06-25 13:55:13 +02:00
Thomas Nagy
26b370f440
Remove a few more 'Exception:' lines 2016-05-14 12:15:15 +02:00
Thomas Nagy
51b68cf13b
New --profile command-line option 2016-03-25 14:20:57 +01:00
Thomas Nagy
220ac6de5e
Pre-fork processes for Python2 2016-02-28 00:12:50 +01:00
Thomas Nagy
78403e3fbc
Enable relative paths to be processed in the --top and --out options 2015-10-10 17:05:13 +02:00
Thomas Nagy
9fdfec763d
provide --no-lock-in-top and --no-lock-in-run for packagers 2015-05-02 17:13:00 +02:00
Thomas Nagy
823b4cd2dc
Issue 1536 - default 64 suffix for Redhat systems 2015-02-19 13:46:18 +01:00
Thomas Nagy
bea70e4e91
Issue 1495 - Option group names from waf 1.7 2014-10-07 18:43:44 +02:00
Thomas Nagy
a3b59a5c02
Obtain the default prefix from the wscript file if provided 2014-10-01 01:11:05 +02:00
Thomas Nagy
c427ab45af
Issue 1392 - extras/use_config.py 2014-09-21 20:50:43 +02:00
Thomas Nagy
679b2850d7
print_usage is useless - override with print_help 2014-08-10 21:38:08 +02:00
Thomas Nagy
5f95323ecb
Added a note for -kk in 'waf --help' 2014-04-12 18:16:44 +02:00
Krzysztof Kosiński
1986a6a80b Interpret leftover arguments containing an equals sign
as environment variable definitions rather than commands
2014-01-25 22:28:07 +01:00
Krzysztof Kosiński
cffbb89cb4 Move the initialization of default options from opt_parser
to OptionsContext, so that tools can add options to the default
option groups without using black magic.
2014-01-25 18:28:14 +01:00
Thomas Nagy
12b1212f4d
command-line options override environment variables, and not the other way around 2014-01-06 15:00:45 +01:00
Jérôme Carretero
33a60e79e7 treecleaner: 'in [...]' replaced by 'in (...)' where appropriate 2014-01-05 16:27:06 -05:00
Thomas Nagy
f8b24e70a9
Forgot to change always/never by yes/no in Options.py 2014-01-05 10:54:18 +01:00
Thomas Nagy
85bfd3eded
Minor changes in the logging system 2014-01-05 10:51:24 +01:00
Thomas Nagy
4107a0e29d
New option --color to control the coloring, and split the coloring from the output synchronization code 2014-01-05 01:39:32 +01:00
Thomas Nagy
4953daf3d4 Issue 1376: Hide commands starting by _ 2013-11-12 21:25:09 +01:00
Thomas Nagy
5c6d626048 removed the cache from the task level, it usually degrades performance and is better implemented on the compiler level 2013-05-26 10:14:49 +02:00
Thomas Nagy
cf773b89de return the value of opt.add_option() 2012-05-17 14:57:58 +02:00
Thomas Nagy
37854f57a2 Issue 1144 2012-04-12 19:55:08 +02:00
alexrp
3368341313 Allow passing args through to 'waf configure' in 'waf distcheck'.
This adds a new option, --distcheck-args, which can be set to
specify the args that will be passed to 'waf configure' when
running 'waf distcheck'. If the option is not set, all arguments
starting with '-' passed to 'waf distcheck' are passed instead.
2012-02-11 21:24:41 +01:00
Thomas Nagy
adf2225f76 remove as many bare 'except:' statements as possible 2012-02-11 13:43:47 +01:00
Thomas Nagy
3e98ef102c remove the annoying syctl output from the console (mac osx) 2011-10-10 18:56:10 +02:00
Thomas Nagy
664116ab1f fix the cpu detection on HPUX 2011-10-09 22:34:01 +02:00
Thomas Nagy
5b38195885 fix the regression made by changing the lock file name 2011-10-01 19:04:26 +02:00
ita
a29880d753 Processor detection improvement 2011-09-30 16:45:11 +02:00