Igor Gnatenko
5bf22c5678
add support for $sharedstatedir
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
8 years ago
Igor Gnatenko
2962d3a66b
add support for $infodir
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
8 years ago
Igor Gnatenko
380b362fa4
add support for $sbindir
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
8 years ago
Igor Gnatenko
c9818c02ec
add builtin support for localstatedir
...
Reported-by: Richard Hughes <richard@hughsie.com>
Closes: https://github.com/mesonbuild/meson/issues/1142
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
8 years ago
Jussi Pakkanen
e0034fd6a5
A few sysconf fixes.
8 years ago
Jussi Pakkanen
1f4cce86ad
Remove shebangs on files that are not runnable and add execute bits to those that are.
8 years ago
Elliott Sales de Andrade
4c71695e41
Use context manager for file I/O.
...
There are a few cases where a context manager cannot be used, such as
the logger.
8 years ago
Jussi Pakkanen
7694321276
Renamed compile&link args and made them accessible from get_option.
9 years ago
Hemmo Nieminen
3f3fcace3d
mconf: Include testing related options when printing build configuration.
9 years ago
Hemmo Nieminen
af6f4c9b9c
coredata: Centralize builtin option descriptions and definitions.
9 years ago
Hemmo Nieminen
336904b553
Move MesonException from coredata to mesonlib.
9 years ago
Jussi Pakkanen
a405f7a499
Grab base options from the command line.
9 years ago
Jussi Pakkanen
0c63f75aaf
Converted coverage into a base option.
9 years ago
Nirbheek Chauhan
11f63105d0
New builtin option: libexecdir for installation of helper executables
9 years ago
Jussi Pakkanen
19046fd854
Added new base options and some sample opts for gcc.
9 years ago
Martin Ejdestig
6a90d5d587
Print value of werror in mesonconf
9 years ago
Jussi Pakkanen
3abd5305c2
Default to cwd in mesonconf. Closes #400 .
9 years ago
Jussi Pakkanen
23b98cd6e6
Renamed meson package to mesonbuild so that we can have a script named meson in the same toplevel dir.
9 years ago
Jussi Pakkanen
2ee27504a8
Moved mesonconf implementation in the module.
9 years ago
Jussi Pakkanen
66c01401de
Moved scripts in the module and started work to run them via the main meson command.
9 years ago
Jussi Pakkanen
a5508d3fd3
Can run most of test suite (with hacks).
9 years ago
Jussi Pakkanen
8b1039fa30
Organise files into a module structure.
9 years ago
Yoav Alon
a4809cf632
Added support for extended command line to overcome OS command line length limitation
9 years ago
Jussi Pakkanen
56f11cf89b
Print lib type list properly.
9 years ago
Wink Saville
c49da5aa00
Enhance mesonconfig.py help
...
Added code to output the 'Possible values' and
also titles for the columns.
Added code to so 'choices' is allowed for all
UserOption's.
9 years ago
Jussi Pakkanen
cc19bf0f45
Move option validation in objects rather than doing it only in the conf script.
9 years ago
Jussi Pakkanen
e2313b85d7
Refactored builtin options to a dictionary and created a new default library target type.
9 years ago
Jussi Pakkanen
b197d9e279
Can set compiler options with mesonconf.
9 years ago
Jussi Pakkanen
4dff3f9fb3
Refactored option classes to mesonlib.
9 years ago
Jussi Pakkanen
067935ce76
Added conf option for build tree layout.
9 years ago
Jussi Pakkanen
6cca79b052
Added multiple selectable warning levels.
9 years ago
Jussi Pakkanen
0da1fbcb98
Flipped one character.
10 years ago
Igor Gnatenko
c74a72a6a1
mesonconf: fix bad-continuation
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Igor Gnatenko
f1bc1e2757
mesonconf: fix tb and parsing options
...
Traceback (most recent call last):
File "./mesonconf.py", line 202, in <module>
print(args)
NameError: name 'args' is not defined
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Jussi Pakkanen
11a9f61e51
Renamed buildtype from "type" to "buildtype" for consistency.
10 years ago
Jussi Pakkanen
ea4b9c590e
Fix mesonconf when running in the build directory without a path argument.
10 years ago
Jussi Pakkanen
ba77e0dbbd
Use argparse in mesonconf.py.
10 years ago
Jussi Pakkanen
525f0ae6d2
Harmonised copyright declarations.
10 years ago
Jussi Pakkanen
d61529caf0
One more off by one error.
11 years ago
Jussi Pakkanen
02cb18c934
Off by one error. Fixed.
11 years ago
Jussi Pakkanen
b8f6c3f39c
Standardise on prefix instead of installprefix.
11 years ago
Jussi Pakkanen
d2b5e5c7a5
The mass flags -> args renaming for consistency.
11 years ago
Jussi Pakkanen
365f529c75
Store build flags into coredata as it is persistent and needs to survive over Meson reconfigurations.
11 years ago
Jussi Pakkanen
965974c510
Validate paths.
11 years ago
Jussi Pakkanen
7bc5867178
Can print and set paths with mesonconf.
11 years ago
Jussi Pakkanen
ad6ba0cadf
Do not crash on empty arrays.
11 years ago
Jussi Pakkanen
9b790041de
Print option name as well.
11 years ago
Jussi Pakkanen
239f0696fd
Can set user options.
11 years ago
Jussi Pakkanen
abcc846de9
Some dots.
11 years ago
Jussi Pakkanen
f31bf4636a
Can set core options.
11 years ago