diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2017-10-01 01:21:12 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-01 01:21:12 +0300 |
commit | 7d49d1d2d77223a4f403cf0c723aa10ac15e8c59 (patch) | |
tree | 008ffa447523d2685e6262c0f177f84c2b9da93a /manual tests | |
parent | ea5ae8ef27690fa1682b1f164cdbc96fab08e03d (diff) | |
parent | a90e47bd4f0f81c156c582f00d3cc005887547e2 (diff) | |
download | meson-7d49d1d2d77223a4f403cf0c723aa10ac15e8c59.zip meson-7d49d1d2d77223a4f403cf0c723aa10ac15e8c59.tar.gz meson-7d49d1d2d77223a4f403cf0c723aa10ac15e8c59.tar.bz2 |
Merge pull request #2373 from leiflm/svn-wraps
introduce svn wrap support
Diffstat (limited to 'manual tests')
-rw-r--r-- | manual tests/10 svn wrap/meson.build | 10 | ||||
-rw-r--r-- | manual tests/10 svn wrap/prog.c | 6 | ||||
-rw-r--r-- | manual tests/10 svn wrap/subprojects/samplesubproject.wrap | 4 |
3 files changed, 20 insertions, 0 deletions
diff --git a/manual tests/10 svn wrap/meson.build b/manual tests/10 svn wrap/meson.build new file mode 100644 index 0000000..23ef1f1 --- /dev/null +++ b/manual tests/10 svn wrap/meson.build @@ -0,0 +1,10 @@ +project('Subversion outchecker', 'c') + +sp = subproject('samplesubproject') + +exe = executable('gitprog', 'prog.c', +include_directories : sp.get_variable('subproj_inc'), +link_with : sp.get_variable('subproj_lib'), +) + +test('maintest', exe) diff --git a/manual tests/10 svn wrap/prog.c b/manual tests/10 svn wrap/prog.c new file mode 100644 index 0000000..df38000 --- /dev/null +++ b/manual tests/10 svn wrap/prog.c @@ -0,0 +1,6 @@ +#include"subproj.h" + +int main(int argc, char **argv) { + subproj_function(); + return 0; +} diff --git a/manual tests/10 svn wrap/subprojects/samplesubproject.wrap b/manual tests/10 svn wrap/subprojects/samplesubproject.wrap new file mode 100644 index 0000000..c8a687e --- /dev/null +++ b/manual tests/10 svn wrap/subprojects/samplesubproject.wrap @@ -0,0 +1,4 @@ +[wrap-svn] +directory=samplesubproject +url=https://svn.code.sf.net/p/mesonsubproject/code/trunk +revision=head |