mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-22 15:10:20 -06:00
Process generator expressions in the COMPILE_DEFINITIONS target property.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user