Am 01.04.2013 16:13, schrieb Brad King:
On 03/30/2013 02:17 PM, Ralf Habacker wrote:
Because gnu linker is not able to add manifests directly, an additional
step is required. The following approach should work for this case as
far as i can see.

- add the the mt binary to ${CMAKE_ROOT}/Binaries/ so that it is not in
the search path (to not conflict with msvc provided mt)
Yes, we can find a place to install it that is not next to "cmake.exe"
so it won't be in the PATH.  We could also build it into CMake as
"cmake -E mt" or something since we can fold in the generously
licensed implementation.

- add the macro below to ${CMAKE_ROOT}/Modules/Platform/Windows-GNU.cmake
The macro-replacement of builtin commands is a debugging feature.
We can find another way to execute this.  Basically it just needs
to be run right after the linker, right?
yes

Ralf
--

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://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to