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.
This commit is contained in:
Brad King 2014-08-13 11:31:14 -04:00
parent 5b0a46e1c9
commit 0374abdb18
1 changed files with 1 additions and 1 deletions

View File

@ -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)