parent
876b2475dd
commit
667d5d2d9f
5 changed files with 50 additions and 0 deletions
@ -0,0 +1,4 @@ |
||||
# wrap-svn |
||||
|
||||
The [Wrap dependency system](Wrap-dependency-system-manual.md) now supports [Subversion](https://subversion.apache.org/) (svn). |
||||
This support is rudimentary. The repository url has to point to a specific (sub)directory containing the `meson.build` file (typically `trunk/`). However, providing a `revision` is supported. |
@ -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) |
@ -0,0 +1,6 @@ |
||||
#include"subproj.h" |
||||
|
||||
int main(int argc, char **argv) { |
||||
subproj_function(); |
||||
return 0; |
||||
} |
@ -0,0 +1,4 @@ |
||||
[wrap-svn] |
||||
directory=samplesubproject |
||||
url=https://leif.svn.beanstalkapp.com/samplesubproject/trunk |
||||
revision=head |
Loading…
Reference in new issue