Re: [CMake] Unicode path wrecks havoc with VS2013 generator

2013-11-08 Thread clinton
- Original Message - > On 11/8/2013 4:48 AM, Nagy-Egri Máté Ferenc wrote: > > Hi! > > > > I have the following issue, which I do not know whether it is an issue > > of CMake or Visual Studio. When I try to generate a Visual Studio > > project under a path that contains unicode characters,

[CMake] CMake 2.8.12.1 Released

2013-11-08 Thread Robert Maynard
Some serious problems were reported with the 2.8.12 release. Thanks to the swift work of Brad King, Stephen Kelly, Modestas Vainius and Vladislav Vinogradov, those problems have been fixed. We've prepared a 2.8.12.1 bug fix release to address those issues. Some of the notable changes in this patch

Re: [CMake] Elegant solution for preprocessing a linker script?

2013-11-08 Thread Robert Maynard
add_dependencies works only on targets not files. You will need to use add_custom_target whose DEPENDS is set to ${CMAKE_CURRENT_BINARY_DIR}/api.lds. You can than specify that cmake_test depends on the custom target. On Fri, Nov 8, 2013 at 5:15 AM, Michael Weise wrote: > On Thu, 7 Nov 2013 19:56:

Re: [CMake] Unicode path wrecks havoc with VS2013 generator

2013-11-08 Thread Bill Hoffman
On 11/8/2013 4:48 AM, Nagy-Egri Máté Ferenc wrote: Hi! I have the following issue, which I do not know whether it is an issue of CMake or Visual Studio. When I try to generate a Visual Studio project under a path that contains unicode characters, VS fails to compile the simple test file and thus

[CMake] Unicode path wrecks havoc with VS2013 generator

2013-11-08 Thread Nagy-Egri Máté Ferenc
Hi! I have the following issue, which I do not know whether it is an issue of CMake or Visual Studio. When I try to generate a Visual Studio project under a path that contains unicode characters, VS fails to compile the simple test file and thus CMake terminates project generation. Visual Stud

Re: [CMake] Elegant solution for preprocessing a linker script?

2013-11-08 Thread Michael Weise
On Thu, 7 Nov 2013 19:56:29 + "Williams, Norman K" wrote: > Why doesn't this work? > add_custom_command( > ... Good point, that's the core of my question. I did implement the "add_custom_command" as you suggested, including "dependencies". Unfortunatly, the custom command is not executed.

Re: [CMake] CPack, Wix using util:XmlFile

2013-11-08 Thread Nils Gladitz
On 11/08/2013 09:09 AM, Lars Lars wrote: Using CPack to generate a msi using a custom wix template. I would like to add an util:XmlFile element to the template but this require candle and light to be executed with the option "-ext WixUtilExtension". Does anyone know of a way to add this opti

[CMake] CPack, Wix using util:XmlFile

2013-11-08 Thread Lars Lars
Hello, Using CMake 2.8.11 and Wix 3.7 on Windows 7. Using CPack to generate a msi using a custom wix template. I would like to add an util:XmlFile element to the template but this require candle and light to be executed with the option "-ext WixUtilExtension". Does anyone know of a way to a