diff options
author | Maxime Girard <lepotoman@msn.com> | 2020-11-04 20:19:34 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-11-04 20:36:47 (GMT) |
commit | 52152409c364f333ec67ec899a22eebab4d3f0ab (patch) | |
tree | e37ed915ae672c43eb0c0e1c3c21a1756ed363cc /Source/cmMakefileTargetGenerator.cxx | |
parent | 622ac065d2abeb53de3548b7e4f3d9b5980dfa8d (diff) | |
download | CMake-52152409c364f333ec67ec899a22eebab4d3f0ab.zip CMake-52152409c364f333ec67ec899a22eebab4d3f0ab.tar.gz CMake-52152409c364f333ec67ec899a22eebab4d3f0ab.tar.bz2 |
Makefiles: Honor CMAKE_EXPORT_COMPILE_COMMANDS for ASM
Generate build command for assembly file in `compile_command.json`.
Issue: #20059
Diffstat (limited to 'Source/cmMakefileTargetGenerator.cxx')
-rw-r--r-- | Source/cmMakefileTargetGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmMakefileTargetGenerator.cxx b/Source/cmMakefileTargetGenerator.cxx index b160064..1e9c1f8 100644 --- a/Source/cmMakefileTargetGenerator.cxx +++ b/Source/cmMakefileTargetGenerator.cxx @@ -795,7 +795,7 @@ void cmMakefileTargetGenerator::WriteObjectRuleFiles( bool lang_has_preprocessor = ((lang == "C") || (lang == "CXX") || (lang == "OBJC") || (lang == "OBJCXX") || (lang == "Fortran") || (lang == "CUDA") || - lang == "ISPC"); + lang == "ISPC" || lang == "ASM"); bool const lang_has_assembly = lang_has_preprocessor; bool const lang_can_export_cmds = lang_has_preprocessor; |