diff options
author | Alexander Neundorf <neundorf@kde.org> | 2008-11-05 22:27:41 (GMT) |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2008-11-05 22:27:41 (GMT) |
commit | 19046aa98c863c8ed2e957f0ddd404b60577be85 (patch) | |
tree | 9a5c5b48a25a261fcfff24ef396e3046c445a531 /Modules/CMakeASM_MASMInformation.cmake | |
parent | 49db4e53a1e351278bc8e93bf004510e71804486 (diff) | |
download | CMake-19046aa98c863c8ed2e957f0ddd404b60577be85.zip CMake-19046aa98c863c8ed2e957f0ddd404b60577be85.tar.gz CMake-19046aa98c863c8ed2e957f0ddd404b60577be85.tar.bz2 |
ENH: add support for the MS masm and masm64 assemblers, works with nmake,
not (yet) with the Visual Studio generators
Alex
Diffstat (limited to 'Modules/CMakeASM_MASMInformation.cmake')
-rw-r--r-- | Modules/CMakeASM_MASMInformation.cmake | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Modules/CMakeASM_MASMInformation.cmake b/Modules/CMakeASM_MASMInformation.cmake new file mode 100644 index 0000000..05366b9 --- /dev/null +++ b/Modules/CMakeASM_MASMInformation.cmake @@ -0,0 +1,10 @@ +# 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> <FLAGS> /c /Fo <OBJECT> <SOURCE>") + +INCLUDE(CMakeASMInformation) +SET(ASM_DIALECT) |