mirror of
https://github.com/boostorg/context.git
synced 2026-01-19 04:02:17 +00:00
[cmake] don't apply assembler options to armasm
MSVC armasm doesn't support /nologo, /quiet etc. so let's just not apply any options period. Signed-off-by: crueter <crueter@eden-emu.dev>
This commit is contained in:
@@ -190,7 +190,8 @@ if(BOOST_CONTEXT_IMPLEMENTATION STREQUAL "fcontext")
|
||||
set_property(SOURCE ${ASM_SOURCES} APPEND PROPERTY COMPILE_OPTIONS "/safeseh")
|
||||
endif()
|
||||
|
||||
else() # masm
|
||||
# armasm doesn't support most of these options
|
||||
elseif(NOT BOOST_CONTEXT_ASSEMBLER STREQUAL armasm) # masm
|
||||
if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
|
||||
set_property(SOURCE ${ASM_SOURCES} APPEND PROPERTY COMPILE_OPTIONS "-x" "assembler-with-cpp")
|
||||
elseif(CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
|
||||
|
||||
Reference in New Issue
Block a user