diff options
author | Brad King <brad.king@kitware.com> | 2014-08-13 15:31:14 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-08-13 18:47:52 (GMT) |
commit | 0374abdb18135bfb9f1b88c8f6be17c160fb8b4a (patch) | |
tree | 1cb435ba044e8093dcbfe08afa04435ea9f9bf31 /Modules/CMakeASM_MASMInformation.cmake | |
parent | 5b0a46e1c93f99c8ba5fadbc3224a3721d95aa64 (diff) | |
download | CMake-0374abdb18135bfb9f1b88c8f6be17c160fb8b4a.zip CMake-0374abdb18135bfb9f1b88c8f6be17c160fb8b4a.tar.gz CMake-0374abdb18135bfb9f1b88c8f6be17c160fb8b4a.tar.bz2 |
ASM_MASM: Add preprocessor definitions to compile lines
The MASM tools (ml, ml64) support -D preprocessor definition flags.
Update our compilation rule variable to pass them.
Diffstat (limited to 'Modules/CMakeASM_MASMInformation.cmake')
-rw-r--r-- | Modules/CMakeASM_MASMInformation.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CMakeASM_MASMInformation.cmake b/Modules/CMakeASM_MASMInformation.cmake index eb105ab..972883c 100644 --- a/Modules/CMakeASM_MASMInformation.cmake +++ b/Modules/CMakeASM_MASMInformation.cmake @@ -18,7 +18,7 @@ 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> <FLAGS> /c /Fo <OBJECT> <SOURCE>") +set(CMAKE_ASM${ASM_DIALECT}_COMPILE_OBJECT "<CMAKE_ASM${ASM_DIALECT}_COMPILER> <DEFINES> <FLAGS> /c /Fo <OBJECT> <SOURCE>") include(CMakeASMInformation) set(ASM_DIALECT) |