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
319 B
16 lines
319 B
project('277 custom target private dir') |
|
|
|
python = find_program('python3') |
|
|
|
custom_target( |
|
'check-private-dir', |
|
command: [ |
|
python, |
|
'-c', |
|
'import os, sys; os.chdir(sys.argv[1]); open(sys.argv[2], "w")', |
|
'@PRIVATE_DIR@', |
|
'@OUTPUT@', |
|
], |
|
output: 'check-private-dir', |
|
build_by_default: true, |
|
)
|
|
|