summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/GeneratorExpression/configtest.c
blob: 94e357e3f240029615d39a9404937b1261d46b30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#ifdef EXPECT_DEBUG
#  ifndef DEBUG
#    error DEBUG should be defined
#  endif
#else
#  ifdef DEBUG
#    error DEBUG should not be defined
#  endif
#endif

#ifdef EXPECT_RELEASE
#  ifndef RELEASE
#    error RELEASE should be defined
#  endif
#else
#  ifdef RELEASE
#    error RELEASE should not be defined
#  endif
#endif

#ifdef EXPECT_TEST
#  ifndef TEST
#    error TEST should be defined
#  endif
#else
#  ifdef TEST
#    error TEST should not be defined
#  endif
#endif

int main(void)
{
  return 0;
}