diff options
Diffstat (limited to 'Modules/CMakeASM_MASMInformation.cmake')
-rw-r--r-- | Modules/CMakeASM_MASMInformation.cmake | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Modules/CMakeASM_MASMInformation.cmake b/Modules/CMakeASM_MASMInformation.cmake new file mode 100644 index 0000000..a38c114 --- /dev/null +++ b/Modules/CMakeASM_MASMInformation.cmake @@ -0,0 +1,14 @@ +# Distributed under the OSI-approved BSD 3-Clause License. See accompanying +# file Copyright.txt or https://cmake.org/licensing for details. + + +# support for the MS assembler, masm and masm64 + +set(ASM_DIALECT "_MASM") + +set(CMAKE_ASM${ASM_DIALECT}_SOURCE_FILE_EXTENSIONS asm) + +set(CMAKE_ASM${ASM_DIALECT}_COMPILE_OBJECT "<CMAKE_ASM${ASM_DIALECT}_COMPILER> <DEFINES> <INCLUDES> <FLAGS> /c /Fo <OBJECT> <SOURCE>") + +include(CMakeASMInformation) +set(ASM_DIALECT) |