[Cmake] CMAKE_OBJECT_FILE_SUFFIX problem
Brad King
brad.king at kitware.com
Fri Jun 18 11:12:12 EDT 2004
Likhachev Igor wrote:
> Hello all,
>
> I am writing configuration file for toolchain used in our project, ARM
> C/Cpp and MS-NMake we're working under Windows.
> Now I am able to build the project using CMake, but one problem is still
> exists.
> Formally the object file extension should be "o" and I thought
> setting CMAKE_OBJECT_FILE_SUFFIX to ".o" can help me but really this
> command does nothing .
> Searching in CMake sources gave me zero result, so this variable is
> never being used.
> I don't know is it bug of the CMake or I got something wrong? Anyway how
> can I change object's extension?
You're correct. CMake totally ignores this variable. Currently there
is no way to change the object file suffix. Either the variable should
be removed or the generators modified to use it. Please submit this as
a bug report here:
http://www.cmake.org/Bug
Thanks,
-Brad
More information about the Cmake
mailing list