Am 01.08.2012 12:34, schrieb João Pinto:
I need to use a variable X when setting CMAKE_C_LINK_EXECUTABLE. The
problem is that X is defined after the definition of
CMAKE_C_LINK_EXECUTABLE, and if I simply use ${X} (when defining
CMAKE_C_LINK_EXECUTABLE ), the expansion of X will be empty. So my
question
is if there is any option of delaying the expansion X so that when
CMAKE_C_LINK_EXECUTABLE is used in linking process, the variable X
doesn't
appear empty.
No. But it sounds as if you want to use a toolchain file.
Eike
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake