add support for cups dependencies (#2255)
* add support for cups dependencies libcups has its own cups-config tool rather than using pkg-config. This adds support for cups-config, based on pcap-config and sdl2-config implementations. This change also includes the unit test case and documentation for cups dependency object implementation, and libcups2 dep to CI image.pull/2220/head
parent
5f0a91baa5
commit
35ef236c43
7 changed files with 78 additions and 2 deletions
@ -0,0 +1,8 @@ |
|||||||
|
#include <cups/cups.h> |
||||||
|
|
||||||
|
int |
||||||
|
main() |
||||||
|
{ |
||||||
|
cupsGetDefault(); |
||||||
|
return 0; |
||||||
|
} |
@ -0,0 +1,7 @@ |
|||||||
|
project('cups test', 'c') |
||||||
|
|
||||||
|
cups_dep = dependency('cups', version : '>=1.4') |
||||||
|
|
||||||
|
e = executable('cups_prog', 'cups_prog.c', dependencies : cups_dep) |
||||||
|
|
||||||
|
test('cupstest', e) |
Loading…
Reference in new issue