1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-10-18 17:31:57 +08:00
Files
CMake/Tests/VSMASM/foo.asm
Brad King 81f670fa83 VS: Honor compile options for MASM
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
2023-01-12 14:35:38 -05:00

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