diff options
author | Jeremy Koritzinsky <jekoritz@microsoft.com> | 2024-06-11 22:08:57 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2024-06-20 14:14:59 (GMT) |
commit | faadb864748219152f9a026be5ef08d135f18173 (patch) | |
tree | eaad48b7989a208b08c00383b1119de5b9ef2f23 /Tests/VSMASM | |
parent | 0b56684f739ed7e17eaa98fb9ec275fad572cca7 (diff) | |
download | CMake-faadb864748219152f9a026be5ef08d135f18173.zip CMake-faadb864748219152f9a026be5ef08d135f18173.tar.gz CMake-faadb864748219152f9a026be5ef08d135f18173.tar.bz2 |
ASM_MASM: Add support for masm-only static libraries
Set correct command to create a static library for Microsoft assembly
dialects.
Fixes: #18889
Diffstat (limited to 'Tests/VSMASM')
-rw-r--r-- | Tests/VSMASM/CMakeLists.txt | 1 | ||||
-rw-r--r-- | Tests/VSMASM/empty.asm | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/Tests/VSMASM/CMakeLists.txt b/Tests/VSMASM/CMakeLists.txt index 49bd24a..bf9a4b8 100644 --- a/Tests/VSMASM/CMakeLists.txt +++ b/Tests/VSMASM/CMakeLists.txt @@ -10,3 +10,4 @@ include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include) add_executable(VSMASM main.c foo.asm) target_compile_definitions(VSMASM PUBLIC DEF_FOO) target_compile_options(VSMASM PUBLIC -DDEF_BAR) +add_library(empty STATIC empty.asm) diff --git a/Tests/VSMASM/empty.asm b/Tests/VSMASM/empty.asm new file mode 100644 index 0000000..a6a9baf --- /dev/null +++ b/Tests/VSMASM/empty.asm @@ -0,0 +1 @@ +end |