[CMake] Assembler flag support

Matthias Goesswein tisi at sbox.tugraz.at
Thu Apr 15 08:53:53 EDT 2010


Hello!

Is there a variable like CMAKE_C_FLAGS_INIT for the assembler available?

(e.g. CMAKE_ASM${ASM_DIALECT}_FLAGS_INIT)

Which flags are passed to <FLAGS> in the Rule variable for creating an 
object file from an assembler source:

SET(CMAKE_ASM${ASM_DIALECT}_COMPILE_OBJECT 
"<CMAKE_ASM${ASM_DIALECT}_COMPILER> <FLAGS> -o <OBJECT> <SOURCE>")

I'm using CMake 2.8.1.

Cheers,
Matthias.



More information about the CMake mailing list