[CMake] ASM problem with cmake-2.6
Hendrik Sattler
post at hendrik-sattler.de
Fri Apr 18 06:08:16 EDT 2008
Hi,
there are two small problem with Assembler support in cmake-2.6. Both
are easily fixable:
1.
in Modules/CMakeDetermineASMCompiler.cmake, an IF statement does not
match its endif statement (line 33):
IF(NOT _CMAKE_USER_ASM_COMPILER_PATH)
should be
IF(NOT _CMAKE_USER_ASM${ASM_DIALECT}_COMPILER_PATH)
2.
When using gcc, the compile flag "-c" is missing when creating a .S.o
object file, thus it always fails.
3.
Currently, the best documentation for ASM support was
http://www.cmake.org/pipermail/cmake/2007-July/014929.html
That information should somehow make it into the documentation.
I hope it's not too late for 2.6.0.
HS
More information about the CMake
mailing list