summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeDetermineASM_MASMCompiler.cmake
blob: 3b72e072b8efe34f8f156794316675ba8a7161fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# Find the MS assembler (masm or masm64)

SET(ASM_DIALECT "_MASM")

# if we are using the 64bit cl compiler, assume we also want the 64bit assembler
IF(CMAKE_CL_64)
   SET(CMAKE_ASM${ASM_DIALECT}_COMPILER_INIT ml64)
ELSE(CMAKE_CL_64)
   SET(CMAKE_ASM${ASM_DIALECT}_COMPILER_INIT ml)
ENDIF(CMAKE_CL_64)

INCLUDE(CMakeDetermineASMCompiler)
SET(ASM_DIALECT)