Add support for the Intel compiler used for ASM under Windows

Alex
This commit is contained in:
Alex Neundorf 2011-03-02 16:46:25 +01:00
parent 4258b24134
commit 17c658f819
2 changed files with 7 additions and 1 deletions

View File

@ -6,4 +6,8 @@ SET(CMAKE_ASM_FLAGS_MINSIZEREL_INIT "-Os -DNDEBUG")
SET(CMAKE_ASM_FLAGS_RELEASE_INIT "-O3 -DNDEBUG")
SET(CMAKE_ASM_FLAGS_RELWITHDEBINFO_INIT "-O2 -g")
set(CMAKE_ASM_SOURCE_FILE_EXTENSIONS s)
IF(UNIX)
SET(CMAKE_ASM_SOURCE_FILE_EXTENSIONS s;S)
ELSE(UNIX)
SET(CMAKE_ASM_SOURCE_FILE_EXTENSIONS asm)
ENDIF(UNIX)

View File

@ -0,0 +1,2 @@
include(Platform/Windows-Intel)
__windows_compiler_intel(ASM)