add support of mercurial repo for wrap,… (#937)
* add support for wrap of mercurial repo, and a test with a clone of the sample subproject used for the git test into a mercuriel repo. * Added myself to author list, and switched the URL of the sample subproject in the wrap file to one under the control of the project's maintainers.pull/920/head
parent
e908910187
commit
263cb6a5f0
5 changed files with 46 additions and 1 deletions
@ -0,0 +1,10 @@ |
||||
project('Mercurial outcheckker', '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-hg] |
||||
directory=samplesubproject |
||||
url=https://bitbucket.org/jpakkane/samplesubproject |
||||
revision=tip |
Loading…
Reference in new issue