Add support for ASm for the HP compiler.

Alex
This commit is contained in:
Alex Neundorf 2011-02-12 10:33:39 +01:00
parent 00735d4055
commit f745220a32
3 changed files with 9 additions and 1 deletions

View File

@ -91,6 +91,10 @@ IF(NOT CMAKE_ASM${ASM_DIALECT}_COMPILER_ID)
SET(CMAKE_ASM${ASM_DIALECT}_COMPILER_ID_VENDOR_FLAGS_GNU "--version")
SET(CMAKE_ASM${ASM_DIALECT}_COMPILER_ID_VENDOR_REGEX_GNU "(GNU assembler)|(GCC)")
LIST(APPEND CMAKE_ASM${ASM_DIALECT}_COMPILER_ID_VENDORS HP )
SET(CMAKE_ASM${ASM_DIALECT}_COMPILER_ID_VENDOR_FLAGS_HP "-V")
SET(CMAKE_ASM${ASM_DIALECT}_COMPILER_ID_VENDOR_REGEX_HP "HP C")
LIST(APPEND CMAKE_ASM${ASM_DIALECT}_COMPILER_ID_VENDORS Intel )
SET(CMAKE_ASM${ASM_DIALECT}_COMPILER_ID_VENDOR_FLAGS_Intel "--version")
SET(CMAKE_ASM${ASM_DIALECT}_COMPILER_ID_VENDOR_REGEX_Intel "(ICC)")

View File

@ -0,0 +1 @@
SET(CMAKE_ASM_VERBOSE_FLAG "-v")

View File

@ -1 +1,4 @@
SET(CMAKE_C_VERBOSE_FLAG "-v")
SET(CMAKE_ASM_VERBOSE_FLAG "-v")
SET(CMAKE_ASM_SOURCE_FILE_EXTENSIONS s )
SET(CMAKE_ASM_COMPILE_OBJECT "<CMAKE_ASM_COMPILER> <DEFINES> <FLAGS> -o <OBJECT> -c <SOURCE>")