Nirbheek Chauhan
cb0aa6a83a
configure_file: Substitute @INPUT@/@OUTPUT@/etc in command
...
The same substitutions and rules as custom_target().
Also generally fix it to actually work when run in a subdir and with
anything other than absolute paths for input and output files.
We now also log a message when configuring files.
Includes tests for all this.
8 years ago
Jussi Pakkanen
0a2daf84eb
No longer require a binary called python3 on Windows. The default name is "python".
8 years ago
Jussi Pakkanen
00f62d0755
Can get values in ConfigurationData objects.
8 years ago
Jussi Pakkanen
841380acfe
Search for headers in build dir before source dir. Closes #984 .
8 years ago
Tim-Philipp Müller
3aebdb717a
configuration_data: can pass descriptions to setters ( #783 )
...
Add support for passing a description to configuration data
setter methods via a 'description' kwarg. The description
string will be used when meson generates the entire configure
file without a template, autoconf-style.
8 years ago
Tim-Philipp Müller
09fdc7f815
configuration_data: add .set_quoted() convenience method to set quoted string
...
Quotes in the string will be escaped C-string style with \", but
nothing else will be escaped.
8 years ago
Jussi Pakkanen
c8213aaf1e
Better file existance checks.
8 years ago
Elliott Sales de Andrade
aec1e88c21
Use context manager in test cases.
8 years ago
Jussi Pakkanen
177e286b3c
Can generate config headers without an input file. Closes #549 .
9 years ago
Jussi Pakkanen
2e93295c2e
Generate configure files immediately when they are declared. Closes #88 .
10 years ago
Jussi Pakkanen
52b69b8939
Make sure that build and source subdirectories are always in search
...
path.
10 years ago
Jussi Pakkanen
87ea869f02
Can install files created with configure_file.
10 years ago
Jussi Pakkanen
cf6a395014
Spell out include_directories.
11 years ago
Jussi Pakkanen
eeaa5d0684
Some windows fixes.
11 years ago
Jussi Pakkanen
d9d70372b4
Can generate configuration files with custom scripts.
11 years ago
Jussi Pakkanen
d4284aae89
Renamed add_test to test.
12 years ago
Jussi Pakkanen
6ff098bea6
Store configuration values in an object rather than global variables.
12 years ago
Jussi Pakkanen
cadc873000
Added missing file.
12 years ago
Jussi Pakkanen
5c37665e5d
Support for easier #define declarations.
12 years ago
Jussi Pakkanen
b0b171f2b9
Test application for config file.
12 years ago
Jussi Pakkanen
9262fe600a
Split test suite into common and platform dependent parts.
12 years ago