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.
11 lines
391 B
11 lines
391 B
project('sub', 'c') |
|
|
|
if get_option('broken_dist_script') |
|
# Make sure we can add a dist script in a subproject, but it won't be run |
|
# if not using --include-subprojects. |
|
meson.add_dist_script('dist-script.py', 'broken') |
|
else |
|
# The dist script replace prog.c with something that actually build. |
|
meson.add_dist_script('dist-script.py', 'success') |
|
executable('prog', 'prog.c') |
|
endif
|
|
|