summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-03-06 20:14:23 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2006-03-06 20:14:23 (GMT)
commit3f532f54897d300e17d35630d3d6ba15a719bd27 (patch)
tree56b3bf4cc8a4b505a2a5c2460574d5d458962ef6 /Source/cmLocalGenerator.cxx
parent36080b04bbf07fdecdfaf516949f722a65aa9361 (diff)
downloadCMake-3f532f54897d300e17d35630d3d6ba15a719bd27.zip
CMake-3f532f54897d300e17d35630d3d6ba15a719bd27.tar.gz
CMake-3f532f54897d300e17d35630d3d6ba15a719bd27.tar.bz2
ENH: add support for language flags at rule expansion time
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r--Source/cmLocalGenerator.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx
index 032e57d..107404c 100644
--- a/Source/cmLocalGenerator.cxx
+++ b/Source/cmLocalGenerator.cxx
@@ -604,6 +604,10 @@ cmLocalGenerator::ExpandRuleVariable(std::string const& variable,
return targetQuoted;
}
}
+ if(variable == "LANGUAGE_COMPILE_FLAGS")
+ {
+ return replaceValues.LanguageCompileFlags;
+ }
if(variable == "TARGET")
{
return replaceValues.Target;