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
This commit is contained in:
parent
3105dc3de6
commit
e36a1be466
|
@ -1559,7 +1559,7 @@ cmLocalUnixMakefileGenerator3
|
||||||
|
|
||||||
// Create the scanner for this language
|
// Create the scanner for this language
|
||||||
cmDepends *scanner = 0;
|
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.
|
// TODO: Handle RC (resource files) dependencies correctly.
|
||||||
scanner = new cmDependsC(this, targetDir, lang.c_str(), &validDeps);
|
scanner = new cmDependsC(this, targetDir, lang.c_str(), &validDeps);
|
||||||
|
|
Loading…
Reference in New Issue