diff options
author | Angelos Mouzakitis <a.mouzakitis@virtualopensystems.com> | 2023-10-10 14:33:42 +0000 |
---|---|---|
committer | Angelos Mouzakitis <a.mouzakitis@virtualopensystems.com> | 2023-10-10 14:33:42 +0000 |
commit | af1a266670d040d2f4083ff309d732d648afba2a (patch) | |
tree | 2fc46203448ddcc6f81546d379abfaeb323575e9 /meson/test cases/common/106 multiple dir configure file | |
parent | e02cda008591317b1625707ff8e115a4841aa889 (diff) |
Change-Id: Iaf8d18082d3991dec7c0ebbea540f092188eb4ec
Diffstat (limited to 'meson/test cases/common/106 multiple dir configure file')
4 files changed, 22 insertions, 0 deletions
diff --git a/meson/test cases/common/106 multiple dir configure file/meson.build b/meson/test cases/common/106 multiple dir configure file/meson.build new file mode 100644 index 000000000..a4615fae8 --- /dev/null +++ b/meson/test cases/common/106 multiple dir configure file/meson.build @@ -0,0 +1,11 @@ +project('multiple dir configure file', 'c') + +subdir('subdir') + +configure_file(input : 'subdir/someinput.in', + output : 'outputhere', + copy: true) + +configure_file(input : cfile1, + output : '@BASENAME@', + copy: true) diff --git a/meson/test cases/common/106 multiple dir configure file/subdir/foo.txt b/meson/test cases/common/106 multiple dir configure file/subdir/foo.txt new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/meson/test cases/common/106 multiple dir configure file/subdir/foo.txt diff --git a/meson/test cases/common/106 multiple dir configure file/subdir/meson.build b/meson/test cases/common/106 multiple dir configure file/subdir/meson.build new file mode 100644 index 000000000..503df964a --- /dev/null +++ b/meson/test cases/common/106 multiple dir configure file/subdir/meson.build @@ -0,0 +1,11 @@ +configure_file(input : 'someinput.in', + output : 'outputsubdir', + install : false, + copy: true) + +py3 = import('python3').find_python() + +cfile1 = configure_file(input : 'foo.txt', + output : 'foo.h.in', + capture : true, + command : [py3, '-c', 'print("#mesondefine FOO_BAR")']) diff --git a/meson/test cases/common/106 multiple dir configure file/subdir/someinput.in b/meson/test cases/common/106 multiple dir configure file/subdir/someinput.in new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/meson/test cases/common/106 multiple dir configure file/subdir/someinput.in |