vendored-meson/meson/test cases/linuxlike/13 cmake dependency/testFlagSet.c
raw| 1 | #include<stdio.h> |
| 2 | #include<zlib.h> |
| 3 | |
| 4 | #ifndef REQUIRED_MESON_FLAG1 |
| 5 | #error "REQUIRED_MESON_FLAG1 not set" |
| 6 | #endif |
| 7 | |
| 8 | #ifndef REQUIRED_MESON_FLAG2 |
| 9 | #error "REQUIRED_MESON_FLAG2 not set" |
| 10 | #endif |
| 11 | |
| 12 | int main(void) { |
| 13 | printf("Hello World\n"); |
| 14 | void * something = deflate; |
| 15 | if(something != 0) |
| 16 | return 0; |
| 17 | return 1; |
| 18 | } |