Add $<LINK_LANGUAGE> generator expression

They can't be used when evaluating link libraries, but they can be
used for include directories and compile definitions. Later they can
be used for compile options.
This commit is contained in:
Stephen Kelly
2013-05-16 15:52:25 +02:00
committed by Brad King
parent a7ba4520c7
commit 32410140a7
13 changed files with 200 additions and 8 deletions

View File

@@ -56,6 +56,21 @@ enum {
#error Expect PREFIX_DEF2
#endif
#ifndef LINK_CXX_DEFINE
#error Expected LINK_CXX_DEFINE
#endif
#ifndef LINK_LANGUAGE_IS_CXX
#error Expected LINK_LANGUAGE_IS_CXX
#endif
#ifdef LINK_C_DEFINE
#error Unexpected LINK_C_DEFINE
#endif
#ifdef LINK_LANGUAGE_IS_C
#error Unexpected LINK_LANGUAGE_IS_C
#endif
// TEST_GENERATOR_EXPRESSIONS
#endif