1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-10-17 15:32:10 +08:00
Files
CMake/Tests/VSNASM/foo.asm
Brad King 24bcad5bac VS: Honor compile options for ASM_NASM
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
2023-01-26 13:51:49 -05:00

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"