Re: [CMake] How to handle RelWithDebInfo and MinSizeRel when not built?

2013-01-21 Thread Stephen Kelly
John Drescher wrote: The suggestion in the bug report looks somewhat reasonable to me, but then again, we don't actually create separate debug info, and the 'Release' configuration would be no different to the 'RelWithDebInfo' configuration, so it's sort of a 'lie'. The real need for it

[CMake] How to handle RelWithDebInfo and MinSizeRel when not built?

2013-01-18 Thread Stephen Kelly
Hi, In Qt 5, we create CMake Config files and ship them with the Qt installation to make it possible to use Qt 5 with CMake. Qt on Windows and Mac is packaged with both a debug configuration and a release configuration, so an IMPORTED library is created with both a DEBUG location and a

Re: [CMake] How to handle RelWithDebInfo and MinSizeRel when not built?

2013-01-18 Thread John Drescher
The suggestion in the bug report looks somewhat reasonable to me, but then again, we don't actually create separate debug info, and the 'Release' configuration would be no different to the 'RelWithDebInfo' configuration, so it's sort of a 'lie'. The real need for it though is probably that