parent
d7235c5905
commit
f8cfb74e9b
7 changed files with 69 additions and 0 deletions
@ -0,0 +1,3 @@ |
||||
project('global-rpath', 'cpp') |
||||
yonder_dep = dependency('yonder') |
||||
executable('rpathified', 'rpathified.cpp', dependencies: [yonder_dep], install: true) |
@ -0,0 +1,6 @@ |
||||
#include <yonder.h> |
||||
#include <string.h> |
||||
int main(int argc, char **argv) |
||||
{ |
||||
return strcmp(yonder(), "AB54 6BR"); |
||||
} |
@ -0,0 +1,5 @@ |
||||
project('yonder', 'cpp') |
||||
yonder = shared_library('yonder', 'yonder.cpp', install: true) |
||||
install_headers('yonder.h') |
||||
pkgconfig = import('pkgconfig') |
||||
pkgconfig.generate(yonder) |
@ -0,0 +1,3 @@ |
||||
#include "yonder.h" |
||||
|
||||
char *yonder(void) { return "AB54 6BR"; } |
@ -0,0 +1 @@ |
||||
char *yonder(void); |
Loading…
Reference in new issue