diff options
author | Leif Middelschulte <leif.middelschulte@gmail.com> | 2017-09-25 21:00:02 +0200 |
---|---|---|
committer | Leif Middelschulte <leif.middelschulte@gmail.com> | 2017-09-25 22:26:42 +0200 |
commit | 667d5d2d9f6f6b4a004616595477f9ac59473525 (patch) | |
tree | 83862551d01c1fcdff953f316481058a1aa634ee /manual tests | |
parent | 876b2475dd40e47f7fef0a8f6ac85d20c527e9f6 (diff) | |
download | meson-667d5d2d9f6f6b4a004616595477f9ac59473525.zip meson-667d5d2d9f6f6b4a004616595477f9ac59473525.tar.gz meson-667d5d2d9f6f6b4a004616595477f9ac59473525.tar.bz2 |
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..2fafa8d --- /dev/null +++ b/manual tests/10 svn wrap/subprojects/samplesubproject.wrap @@ -0,0 +1,4 @@ +[wrap-svn] +directory=samplesubproject +url=https://leif.svn.beanstalkapp.com/samplesubproject/trunk +revision=head |