Hemmo Nieminen
336904b553
Move MesonException from coredata to mesonlib.
9 years ago
Jussi Pakkanen
12a4e7d7e7
Moved gettext into i18n module.
9 years ago
Jussi Pakkanen
8b619420f9
Open Meson and option files explicitly as utf-8. Closes #467 .
9 years ago
Jussi Pakkanen
a405f7a499
Grab base options from the command line.
9 years ago
Tim-Philipp Müller
3eea1703ff
Add bool to_string() and to_int() methods
...
bool to_int() will return 0 or 1, useful if one wants to set
a define to 0 or 1 based on a boolean result instead of having
it just defined or undefined.
bool to_string() will return 'true' or 'false' by default same
as when using it to format a string, but with the additional
possibility to specify two extra string arguments to be returned
as true/false values, e.g. to_string('yes', 'no'). This can be
useful when outputting messages to be shown to the user.
9 years ago
Tim-Philipp Müller
fcbd60c291
Add += support for strings and integers
9 years ago
Jussi Pakkanen
8b6848ebc3
Add dir support for find_library and remove deprecated standalone version. Closes #450 .
9 years ago
Jussi Pakkanen
19046fd854
Added new base options and some sample opts for gcc.
9 years ago
Jussi Pakkanen
6b548a1c75
Added find_library method and deprecated the standalone version. Closes #396 .
9 years ago
Tim-Philipp Müller
3c8468cd4d
Add string underscorify() function
...
So we can easily construct the defines for include headers and
struct checks and such.
9 years ago
Tim-Philipp Müller
02e84df010
Add more string functions: contains(), to_upper() and to_lower()
9 years ago
Nicolas Schneider
5e1fdb8b97
use positional instead of keyword args for add_postconf_script
9 years ago
Nicolas Schneider
9f9f73fa52
add args support for add_postconf_script
9 years ago
Nicolas Schneider
92187501ed
Can add postconfigure script.
9 years ago
Jussi Pakkanen
52b66edb6c
Can specify compile and link args for internal deps.
9 years ago
Jussi Pakkanen
d88223bd61
Do delayed argument setting properly this time.
9 years ago
Nirbheek Chauhan
601ff91622
interpreter: Add path() method to ExternalProgramHolder types
...
In practice, this means we can do
flex = find_program('flex')
flex.path() # Gives the full path to the flex binary
9 years ago
Jussi Pakkanen
bbe4656c51
Guard against subdir segments in output files.
9 years ago
Jussi Pakkanen
fc08f60b9f
Do not cache found programs because it is unreliable. Closes #374 .
9 years ago
Jussi Pakkanen
8cd3c8124a
Can add languages only if they are available. Closes #365 .
9 years ago
Jussi Pakkanen
4cd671e69e
More comparison operators. Closes #363 .
9 years ago
Jussi Pakkanen
0c96dbff3a
String to int conversion. Closes #362 .
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
ec44795f8a
Moved all wrap related things to their own submodule.
9 years ago
Jussi Pakkanen
4c31e7774d
Finalize moduleification so that full test suite runs.
9 years ago
Jussi Pakkanen
61cb4ae9ca
Can compile full test suite.
9 years ago
Jussi Pakkanen
8b1039fa30
Organise files into a module structure.
9 years ago
Jussi Pakkanen
65bd9a2f69
Can use external libs as dependencies of dependencies. Closes #321 .
9 years ago
Jussi Pakkanen
4c041e2aec
Can tag include directories as system dirs to reduce compiler warning noise. Closes #345 .
9 years ago
Martin Ejdestig
cd5121c0ec
Fix vcs_tag missing fallback error string
9 years ago
Jussi Pakkanen
d71f51d220
Use set_value to preserve option invariants.
9 years ago
Jussi Pakkanen
d64211f570
Moved pkg-config to a module so we no longer need special case code in core for it.
9 years ago
Jussi Pakkanen
fcf6643507
Use period as the separator because colon causes problems on Windows.
9 years ago
Jussi Pakkanen
b3d61beb2d
A test can be part of multiple suites.
9 years ago
Jussi Pakkanen
70695bead4
Added possibility to have multiple test suites so you can run only a subset of tests. Closes #325 .
9 years ago
Jussi Pakkanen
23c6de3461
Can specify a working directory for tests. Closes #326 .
9 years ago
Jussi Pakkanen
d92504797f
Can build simple Swift executables.
9 years ago
Thibault Saunier
33b2a414e9
Make it working on python 3.3
9 years ago
Jussi Pakkanen
913963d608
Can specify extra arguments to generator commands. Closes #315 .
9 years ago
Jussi Pakkanen
2024d9d237
Clarify error message when trying to compile Vala without C.
9 years ago
Jussi Pakkanen
278339855d
Projects can specify a license which is written to the dep manifest.
9 years ago
Jussi Pakkanen
26873801bc
Can define benchmarks and run them.
9 years ago
Jussi Pakkanen
06c7cef26e
Do not cache paths of found external libraries. Closes #312 .
9 years ago
Jussi Pakkanen
851526f828
Add has method to cdata.
9 years ago
Jussi Pakkanen
d7ad8c601b
Use the correct one.
9 years ago
Jussi Pakkanen
7b45e6f5f5
Can store ext deps to internal deps. Closes #304 .
9 years ago
Jussi Pakkanen
fa9799a96a
Renamed default_library to library.
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
0962909120
Can specify a subproject fallback for dependencies.
9 years ago
Jussi Pakkanen
062512a0f1
Use project default settings in compile tests unless told not to. Closes #296 .
9 years ago