mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-17 15:32:10 +08:00

The Ninja and Makefile generators honor `target_compile_options` and friends for ASM_NASM `.asm` sources. Teach the VS generator to honor them too for consistency. Issue: #24289
12 lines
217 B
NASM
12 lines
217 B
NASM
%ifndef DEF_FOO
|
|
%error "DEF_FOO incorrectly not defined"
|
|
%endif
|
|
section .text
|
|
%ifdef TEST2x64
|
|
global foo
|
|
%else
|
|
global _foo
|
|
%endif
|
|
;TASM compatibility mode allows 'include' instead of '%include'
|
|
include "foo-proc.asm"
|