The Meson Build System
http://mesonbuild.com/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
410 B
16 lines
410 B
project('test', 'c') |
|
|
|
python = find_program('python3') |
|
|
|
lib = library('foo', 'foo.c') |
|
|
|
# The library does not yet exist but we can already use its path during |
|
# configuration. This should not trigger a reconfigure when the library is |
|
# rebuilt. |
|
configure_file( |
|
output: 'out.txt', |
|
capture: true, |
|
command: [python, '-c', 'import sys; print(sys.argv[1])', lib.full_path()], |
|
) |
|
|
|
message('Project configured')
|
|
|