summaryrefslogtreecommitdiff
path: root/Tests/VSMASM/foo.asm
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-01-12 14:35:38 -0500
committerBrad King <brad.king@kitware.com>2023-01-12 14:35:38 -0500
commit81f670fa833e54a91b1b17eabade3162f31582f0 (patch)
treecd2eeb252d8e1a9a6b7361bda70d9696c79ef81d /Tests/VSMASM/foo.asm
parente4c281e45196b3c3fa2f327476838ac77b76e838 (diff)
downloadcmake-81f670fa833e54a91b1b17eabade3162f31582f0.tar.gz
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
Diffstat (limited to 'Tests/VSMASM/foo.asm')
-rw-r--r--Tests/VSMASM/foo.asm6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/VSMASM/foo.asm b/Tests/VSMASM/foo.asm
index 51cb969314..97bdd1ad71 100644
--- a/Tests/VSMASM/foo.asm
+++ b/Tests/VSMASM/foo.asm
@@ -1,3 +1,9 @@
+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