Process generator expressions in the COMPILE_DEFINITIONS target property.

This commit is contained in:
Stephen Kelly
2012-09-20 23:28:09 +02:00
committed by Brad King
parent 08cb4fa4c0
commit 083de7ed35
10 changed files with 67 additions and 1 deletions

View File

@@ -27,6 +27,15 @@ enum {
#endif
};
#ifdef TEST_GENERATOR_EXPRESSIONS
#ifndef CMAKE_IS_DECLARATIVE
#error Expect declarative definition
#endif
#ifdef GE_NOT_DEFINED
#error Expect not defined generator expression
#endif
#endif
int main(int argc, char **argv)
{
return 0;