[CMake] Assembly code

Nathan A. Smith nasa01 at comcast.net
Sat Sep 16 18:26:37 EDT 2006


Hi,

I was wondering if it's possible to have cmake assemble assembly code
(*.s) -- and if so how?  I tried something like this:

FILE(GLOB x86i_src    src/x86//*.s       src/x86/*.c
src/x86/*.cpp )

    SET_SOURCE_FILES_PROPERTIES(
      ${windows_src} ${Linux_src} ${debugtools_src}
      ${x86-32_src} ${Rdebug_src} ${x86i_src}
      ${zlib_src} ${Main_src} ${x86-64_src}
      COMPILE_FLAGS -DDEBUG)

viewing MESSAGE output in ccmake, shows the *.s files included.
However, when I do a make -- the *.s files aren't shown/acted
on/referenced -- nothing.

Any help would be appreciated.

Nasa



More information about the CMake mailing list