[CMake] ASM on the Mac

Alexander Neundorf a.neundorf-work at gmx.net
Mon Nov 5 12:37:09 EST 2012


On Monday 05 November 2012, Mike Krus wrote:
> Hi again
> 
> 
> Using ASM_NASM works better except the nasm call seems to get all the CXX
> flags, some of them (-F) being invalid.


This is what is being set in Modules/CMakeASM_NASMInformation.cmake, which 
should be used:

set(CMAKE_ASM_NASM_COMPILE_OBJECT "<CMAKE_ASM_NASM_COMPILER> <FLAGS> -f
                   ${CMAKE_ASM_NASM_OBJECT_FORMAT} -o <OBJECT> <SOURCE>")

This should be ok, shouldn't it ?

Alex


More information about the CMake mailing list