Re: [CMake] CPACK and cmake install(targets

2013-01-18 Thread Eric Noulard
2013/1/18 Totte Karlsson : > Hi, > I try to package a built shared library on windows. In the CMAKE file for > where the dll and import lib is created I have > > install(TARGETS ${target} > RUNTIME DESTINATION bin > LIBRARY DESTINATION lib > ARCHIVE DESTINATION lib >

[CMake] CPACK and cmake install(targets

2013-01-18 Thread Totte Karlsson
Hi, I try to package a built shared library on windows. In the CMAKE file for where the dll and import lib is created I have install(TARGETS ${target} RUNTIME DESTINATION bin LIBRARY DESTINATION lib ARCHIVE DESTINATION lib COMPONENT rr_core ) When executing the

Re: [CMake] Using Qt5 with cmake

2013-01-18 Thread Alexander Neundorf
On Friday 18 January 2013, Bogdan Cristea wrote: > Le vendredi 18 janvier 2013 à 15:22 +, Laszlo Papp a écrit : > > What is wrong about Stephen's post? It has been working for me in > > several projects. > > A line like this > > find_package(Qt5Declarative) > > generates a warning about miss

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 t

Re: [CMake] Using Qt5 with cmake

2013-01-18 Thread Bogdan Cristea
Le vendredi 18 janvier 2013 à 16:36 +0100, Stephen Kelly a écrit : > > I'm afraid the post is a little but outdated. > > Qt5Declarative was renamed to QtQuick1 before the Qt 5 release, so try > to > find that instead. > > I'll see about updating the blog post. Hi I think that what is missi

Re: [CMake] Implicit toolchain file usage

2013-01-18 Thread Laszlo Papp
On Thu, Jan 17, 2013 at 8:43 PM, Alexander Neundorf wrote: > On Thursday 17 January 2013, Laszlo Papp wrote: > > On Thu, Jan 17, 2013 at 8:31 PM, Alexander Neundorf > > > > > > wrote: > > > > > > do you mean using -DCMAKE_SYSTEM_NAME=qnx should trigger something ? > > > Don't know, my experience

Re: [CMake] Using Qt5 with cmake

2013-01-18 Thread Bogdan Cristea
Le vendredi 18 janvier 2013 à 15:31 +, Laszlo Papp a écrit : > There is also this: > http://qt-project.org/doc/qt-5.0/qtdoc/cmake-manual.html > > Either way, check if your Qt installation ships the cmake files. Qt5 > has builtin support for third-party projects from cmake point of > view. Ye

Re: [CMake] Using Qt5 with cmake

2013-01-18 Thread Stephen Kelly
Bogdan Cristea wrote: > Le vendredi 18 janvier 2013 à 15:22 +, Laszlo Papp a écrit : >> What is wrong about Stephen's post? It has been working for me in >> several projects. > > A line like this > > find_package(Qt5Declarative) > > generates a warning about missing FindQt5Declarative.cmake

Re: [CMake] Using Qt5 with cmake

2013-01-18 Thread Laszlo Papp
There is also this: http://qt-project.org/doc/qt-5.0/qtdoc/cmake-manual.html Either way, check if your Qt installation ships the cmake files. Qt5 has builtin support for third-party projects from cmake point of view. On Fri, Jan 18, 2013 at 3:29 PM, Bogdan Cristea wrote: > Le vendredi 18 janvie

Re: [CMake] Using Qt5 with cmake

2013-01-18 Thread Bogdan Cristea
Le vendredi 18 janvier 2013 à 15:22 +, Laszlo Papp a écrit : > What is wrong about Stephen's post? It has been working for me in > several projects. A line like this find_package(Qt5Declarative) generates a warning about missing FindQt5Declarative.cmake which is not provided by Qt5 nor cmake

Re: [CMake] Using Qt5 with cmake

2013-01-18 Thread Laszlo Papp
What is wrong about Stephen's post? It has been working for me in several projects. On Fri, Jan 18, 2013 at 3:19 PM, Bogdan Cristea wrote: > Hi > > Qt5 provides configuration files for cmake, but I haven't yet found a > way to detect Qt5 as recommended in this post (I am using qt5 on Windows > w

[CMake] Using Qt5 with cmake

2013-01-18 Thread Bogdan Cristea
Hi Qt5 provides configuration files for cmake, but I haven't yet found a way to detect Qt5 as recommended in this post (I am using qt5 on Windows with Visual Studio 2010): http://www.kdab.com/using-cmake-with-qt-5/ As far as I understand cmake does not yet provide support for qt5 (at least not i

[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 RELEAS