Add note about armasm64 workaround

This commit is contained in:
Marek Roszko 2024-05-07 21:16:50 -04:00
parent 72eee002aa
commit 25ebf99b9a
1 changed files with 3 additions and 0 deletions

View File

@ -53,6 +53,9 @@ if( MSVC )
# This is a workaround borrowed from https://github.com/dotnet/runtime/blob/main/eng/native/configurecompiler.cmake # This is a workaround borrowed from https://github.com/dotnet/runtime/blob/main/eng/native/configurecompiler.cmake
# CMake currently cannot handle the fact that "armasm" is used in combination with standard MSVC "cl" for ARM targets # CMake currently cannot handle the fact that "armasm" is used in combination with standard MSVC "cl" for ARM targets
# So this is basically a hack (incombination with the MSVCAssemblyHelper.cmake) to make this all work # So this is basically a hack (incombination with the MSVCAssemblyHelper.cmake) to make this all work
# This workaround can be removed when https://gitlab.kitware.com/cmake/cmake/-/merge_requests/9326 is finally part of a
# cmake release AND when MSVC ships said cmake release
if(KICAD_BUILD_ARCH_ARM) if(KICAD_BUILD_ARCH_ARM)
message( "Configuring ARM assembler" ) message( "Configuring ARM assembler" )
# Explicitly specify the assembler to be used for Arm32 compile # Explicitly specify the assembler to be used for Arm32 compile