[CMake] ASM support
Phil Smith
phil at voltage.com
Thu Jan 29 15:14:53 EST 2009
Ok, I found http://www.cmake.org/Wiki/CMake/Assembler -- not sure how I missed it before. "Never mind" (at least for now). Sorry 'bout that.
-----Original Message-----
From: cmake-bounces at cmake.org [mailto:cmake-bounces at cmake.org] On Behalf Of Phil Smith
Sent: Thursday, January 29, 2009 3:12 PM
To: cmake at cmake.org
Subject: [CMake] ASM support
Alexander Neundorf wrote, long ago, re using ASM:
>If you are using an embedded toolchain, the generic "ASM" language should work
>for you. Preset CMAKE_ASM_COMPILER to your compiler (following the
>instructions at http://www.cmake.org/Wiki/CMake_Cross_Compiling ) and create
>a Generic-<basename_of_the_assembler>.cmake in the Platform directory where
>you set up the rules variables (CMAKE_ASM_COMPILE_OBJECT etc.).
What is the "<basename_of_the_assembler>"? I am indeed using a toolchain; not sure what "embedded" means in this context. Here's what I've tried.
I added "ASM" to the PROJECT statement:
project(myproj C ASM)
My zosport.cmake contains:
SET(CMAKE_ASM_COMPILER "rexx" "cc.rex dcxx.exe")
I added a .asm file to the list of .c files to compile.
CMAKE reports "-- Loaded CMakeASMInformation - ASM support is still experimental, please report issues" but never tries to assemble the .asm file.
So I tried creating Generic-rexx.cmake, as well as Generic-asm.cmake. Still no go.
I'm missing something(s)!
--
...phsiii
Phil Smith III
phil at voltage.com
Voltage Security, Inc.
www.voltage.com
(703) 476-4511 (home office)
(703) 568-6662 (cell)
_______________________________________________
CMake mailing list
CMake at cmake.org
http://www.cmake.org/mailman/listinfo/cmake
More information about the CMake
mailing list