diff options
Diffstat (limited to '')
-rw-r--r-- | test cases/linuxlike/13 cmake dependency/testFlagSet.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/test cases/linuxlike/13 cmake dependency/testFlagSet.c b/test cases/linuxlike/13 cmake dependency/testFlagSet.c new file mode 100644 index 0000000..1f93ea3 --- /dev/null +++ b/test cases/linuxlike/13 cmake dependency/testFlagSet.c @@ -0,0 +1,18 @@ +#include<stdio.h> +#include<zlib.h> + +#ifndef REQUIRED_MESON_FLAG1 +#error "REQUIRED_MESON_FLAG1 not set" +#endif + +#ifndef REQUIRED_MESON_FLAG2 +#error "REQUIRED_MESON_FLAG2 not set" +#endif + +int main(void) { + printf("Hello World\n"); + void * something = deflate; + if(something != 0) + return 0; + return 1; +} |