summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-08-08 03:25:21 (GMT)
committerBrad King <brad.king@kitware.com>2006-08-08 03:25:21 (GMT)
commit5cfa1b02ab48abe10f323846d9b8886946ac1954 (patch)
tree8d0e5946700af682216cbea3fb6e4538589598dc /Source/cmLocalGenerator.cxx
parentaccf93fc12071b603de40a00d059a2bbbe7f2fe2 (diff)
downloadCMake-5cfa1b02ab48abe10f323846d9b8886946ac1954.zip
CMake-5cfa1b02ab48abe10f323846d9b8886946ac1954.tar.gz
CMake-5cfa1b02ab48abe10f323846d9b8886946ac1954.tar.bz2
ENH: Added generation of rules to manually request preprocessed or generated assembly sources.
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r--Source/cmLocalGenerator.cxx14
1 files changed, 14 insertions, 0 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx
index fdeed5b..8447cb9 100644
--- a/Source/cmLocalGenerator.cxx
+++ b/Source/cmLocalGenerator.cxx
@@ -749,6 +749,20 @@ cmLocalGenerator::ExpandRuleVariable(std::string const& variable,
return replaceValues.Source;
}
}
+ if(replaceValues.PreprocessedSource)
+ {
+ if(variable == "PREPROCESSED_SOURCE")
+ {
+ return replaceValues.PreprocessedSource;
+ }
+ }
+ if(replaceValues.AssemblySource)
+ {
+ if(variable == "ASSEMBLY_SOURCE")
+ {
+ return replaceValues.AssemblySource;
+ }
+ }
if(replaceValues.Object)
{
if(variable == "OBJECT")