mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-16 03:32:18 -06:00
Makefiles: Honor CMAKE_EXPORT_COMPILE_COMMANDS for ASM
Generate build command for assembly file in `compile_command.json`. Issue: #20059
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user