Jussi Pakkanen
b382abdd2c
Forbid nested ternary operations.
8 years ago
Nirbheek Chauhan
d8b9b12adb
Ninja now supports backslash in command args, so we can too
...
At the same time, this also adds a bunch of tests that document and keep
track of how we expect quoting to pass through via Ninja to the
compiler.
We need at least Ninja 1.6.0 for this.
This fixes https://github.com/mesonbuild/meson/issues/489
8 years ago
Jussi Pakkanen
c0057da133
Can get arbitrary data from cross file properties.
9 years ago
Jussi Pakkanen
de73d85ad8
Removed vs nomod test because it fails at compile time but the framework needs it to fail at configure time.
9 years ago
Nirbheek Chauhan
1713fa0297
Add shared_library argument for a Visual Studio module definitions file
...
On MSVC, shared libraries only export symbols that have been explicitly exported
either as part of the symbol prototype or via a module definitions file.
On compilers other than MSVC, all symbols are exported in the shared library by
default and the format for the list of symbols to export is different, so this
is only used with the VisualStudio compiler.
The module defs file path can either be relative to the current source directory
or an absolute path using meson.source_root() + '/some/path'
9 years ago
Jussi Pakkanen
317a735b07
Error out if using a not found binary in the build. Closes #469 .
9 years ago
Jussi Pakkanen
bbe4656c51
Guard against subdir segments in output files.
9 years ago
Jussi Pakkanen
8cd3c8124a
Can add languages only if they are available. Closes #365 .
9 years ago
Jussi Pakkanen
0c96dbff3a
String to int conversion. Closes #362 .
9 years ago
Jussi Pakkanen
6830f3e147
Forbid backslashes on compiler command lines. It is unfortunately the only reliable way.
9 years ago
Jussi Pakkanen
23c6de3461
Can specify a working directory for tests. Closes #326 .
9 years ago
Jussi Pakkanen
910dcbf290
Projects can specify default values for options.
9 years ago
Jussi Pakkanen
e4ff4b7c8c
Can specify version requirements to subprojects.
9 years ago
Jussi Pakkanen
c5788548d2
Can check for Meson version in project definition.
9 years ago
Jussi Pakkanen
2e585856be
Prevent generation of Ninja files with target ambiguities.
9 years ago
Jussi Pakkanen
ee4e785b1e
Add support for subscripting array objects with [].
9 years ago
Jussi Pakkanen
a5abcf1fe2
Created the += operator.
9 years ago
Jussi Pakkanen
833cb56f5c
Can create top level targets that have the same name but different type.
10 years ago
Jussi Pakkanen
8f27cd399e
Fixed broken subdir object extraction and moved tests.
10 years ago
Jussi Pakkanen
ec74616bbd
Prevent extraction of objects from subprojects.
10 years ago
Jussi Pakkanen
cdbfed21bc
Test for posargs being before kwargs.
10 years ago
Jussi Pakkanen
3630febe1e
Verify that option names do not have invalid characters.
10 years ago
Jussi Pakkanen
e37424c9e1
More strict type checking for arithmetic operations.
10 years ago
Robin McCorkell
702148aea5
Add number, string and array arithmetic
...
Addition (+), subtraction (-), multiplication (*) and division (/) for numbers
follows the BIDMAS rules.
Strings and arrays can be concatenated with the addition operator
Strings can be concatenated with numbers with the addition operator
10 years ago
Jussi Pakkanen
b44ca46e92
Implement a foreach loop construct. Closes #17 .
10 years ago
Jussi Pakkanen
77e9a24589
Can specify extra files that show up in IDEs as parts of a target.
11 years ago
Jussi Pakkanen
e0c4447666
Test for recursive instantiations of subprojects.
11 years ago
Jussi Pakkanen
2444eb357e
Added failing test.
11 years ago
Jussi Pakkanen
ab0cc277d1
After an actual, factual bug report from a user, fixed include_directories so that it checks that the specified directories exist.
11 years ago
Jussi Pakkanen
0da4537b69
Preserve option function for option files.
11 years ago
Jussi Pakkanen
4bacfa6a8c
Check that missing subdirs cause an error.
11 years ago
Jussi Pakkanen
619b37bff9
Check that non-existing source files cause errors.
11 years ago
Jussi Pakkanen
d02e4ce1c9
Created new suite of tests that should fail when executed.
11 years ago