mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-18 17:31:57 +08:00

The Ninja and Makefile generators honor `target_compile_options` and friends for MASM `.asm` sources. Teach the VS generator to honor them too for consistency. Fixes: #24289
14 lines
194 B
NASM
14 lines
194 B
NASM
ifndef DEF_FOO
|
|
.err <DEF_FOO incorrectly not defined>
|
|
endif
|
|
ifndef DEF_BAR
|
|
.err <DEF_BAR incorrectly not defined>
|
|
endif
|
|
ifndef TESTx64
|
|
.386
|
|
.model flat, c
|
|
endif
|
|
.code
|
|
include <foo-proc.asm>
|
|
end
|