Add support for yasm, a nasm compatible assembler

Alex
This commit is contained in:
Alex Neundorf 2010-10-21 20:51:46 +02:00
parent 79dd9becad
commit e614e9b3d7
2 changed files with 3 additions and 3 deletions

View File

@ -14,7 +14,7 @@
# support for the nasm assembler # support for the nasm assembler
set(CMAKE_ASM_NASM_SOURCE_FILE_EXTENSIONS nasm) set(CMAKE_ASM_NASM_SOURCE_FILE_EXTENSIONS nasm asm)
if(WIN32) if(WIN32)
if(CMAKE_C_SIZEOF_DATA_PTR EQUAL 8) if(CMAKE_C_SIZEOF_DATA_PTR EQUAL 8)

View File

@ -12,9 +12,9 @@
# (To distribute this file outside of CMake, substitute the full # (To distribute this file outside of CMake, substitute the full
# License text for the above reference.) # License text for the above reference.)
# Find the nasm assembler # Find the nasm assembler. yasm (http://www.tortall.net/projects/yasm/) is nasm compatible
SET(CMAKE_ASM_NASM_COMPILER_INIT nasm) SET(CMAKE_ASM_NASM_COMPILER_INIT nasm yasm)
IF(NOT CMAKE_ASM_NASM_COMPILER) IF(NOT CMAKE_ASM_NASM_COMPILER)
FIND_PROGRAM(CMAKE_ASM_NASM_COMPILER nasm FIND_PROGRAM(CMAKE_ASM_NASM_COMPILER nasm