diff options
author | Alex Neundorf <neundorf@kde.org> | 2011-10-05 19:51:35 (GMT) |
---|---|---|
committer | Alex Neundorf <neundorf@kde.org> | 2011-10-05 19:51:35 (GMT) |
commit | e36a1be46694796277b68e61d7312475babb4e0c (patch) | |
tree | 616f1658ae2523565e26e67970772671f1684b61 /Source/cmLocalUnixMakefileGenerator3.cxx | |
parent | 3105dc3de60a7b1fa29c7720e0cebb71e747ee6f (diff) | |
download | CMake-e36a1be46694796277b68e61d7312475babb4e0c.zip CMake-e36a1be46694796277b68e61d7312475babb4e0c.tar.gz CMake-e36a1be46694796277b68e61d7312475babb4e0c.tar.bz2 |
fix #12262: use the C dependency scanner also for ASM files
Files for the ASM language are those assembler files which are processed
by the C/CXX compiler, and they may contain preprocessor directives, so
run the C dependency scanner also on them.
Alex
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator3.cxx')
-rw-r--r-- | Source/cmLocalUnixMakefileGenerator3.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx index 2eae9d0..da6a1c6 100644 --- a/Source/cmLocalUnixMakefileGenerator3.cxx +++ b/Source/cmLocalUnixMakefileGenerator3.cxx @@ -1559,7 +1559,7 @@ cmLocalUnixMakefileGenerator3 // Create the scanner for this language cmDepends *scanner = 0; - if(lang == "C" || lang == "CXX" || lang == "RC") + if(lang == "C" || lang == "CXX" || lang == "RC" || lang == "ASM") { // TODO: Handle RC (resource files) dependencies correctly. scanner = new cmDependsC(this, targetDir, lang.c_str(), &validDeps); |