[CMake] Linker error with sub project's static libs

2014-08-19 Thread Olaf Peter
Hello, for my project I have the following structure in my project directory: ./CMakeLists.txt ./source/CMakeLists.txt ./source/eea/CMakeLists.txt ./source/eea/ui/CMakeLists.txt ./source/eea/ui/schematic/CMakeLists.txt with ---8<--- ./CMakeLists.txt: project(eea) ... ---8<--- ./source/CMakeLis

Re: [CMake] Collecting libraries for NSIS installer

2014-08-19 Thread Hendrik Sattler
On 19. August 2014 16:36:14 MESZ, David Cole via CMake wrote: >> Definitely getting warmer! It looks like that GetPrerequistes only >> works on an existing target so I'm thinking I would have to set this >> up as a "super" cmake project after the main project is already >built? > >Right, or as a

Re: [CMake] Collecting libraries for NSIS installer

2014-08-19 Thread David Cole via CMake
> Definitely getting warmer! It looks like that GetPrerequistes only > works on an existing target so I'm thinking I would have to set this > up as a "super" cmake project after the main project is already built? Right, or as a script that runs at "install" time. It requires an executable file to

Re: [CMake] Collecting libraries for NSIS installer

2014-08-19 Thread David Cole via CMake
Have you considered GetPrerequisites.cmake or BundleUtilities.cmake? http://www.cmake.org/cmake/help/v3.0/module/GetPrerequisites.html http://www.cmake.org/cmake/help/v3.0/module/BundleUtilities.html It sounds like exactly what you're asking for. HTH, David C. -- Powered by www.kitwa

[CMake] Collecting libraries for NSIS installer

2014-08-19 Thread Richard Shaw
I have a project where I currently have a dumb list of libraries to package with the NSIS installer so the program will work under win32. It really only works for one setup (currently Fedora mingw) with some prebuilt libraries downloaded, others provided through Fedora, and others I build myself. T

Re: [CMake] Qt UI Filename Bug

2014-08-19 Thread Jakub Zakrzewski
-Original Message- From: CMake [mailto:cmake-boun...@cmake.org] On Behalf Of Eddy Ilg Sent: Dienstag, 19. August 2014 10:26 To: cmake Subject: Re: [CMake] Qt UI Filename Bug Hi Jakub, yes, I can compile without problems, but the QtCreator bug in relation to CMake is very annoying when

Re: [CMake] Qt UI Filename Bug

2014-08-19 Thread Eddy Ilg
Hi Jakub, yes, I can compile without problems, but the QtCreator bug in relation to CMake is very annoying when autocompleting code in GUIs. Is your project QMake or also CMake? To me this seems to be an isse of QtCreator related to CMake. As you said the filenames get confused / are not co

Re: [CMake] Qt UI Filename Bug

2014-08-19 Thread Jakub Zakrzewski
-Original Message- From: CMake [mailto:cmake-boun...@cmake.org] On Behalf Of Eddy Ilg Sent: Dienstag, 19. August 2014 09:01 To: cmake Subject: [CMake] Qt UI Filename Bug Dear CMake Developers, I have the following problem in QtCreator with CMake, which seems like a bug: My project has

[CMake] Qt UI Filename Bug

2014-08-19 Thread Eddy Ilg
Dear CMake Developers, I have the following problem in QtCreator with CMake, which seems like a bug: My project has several MainWindow classes and files (.h,.cpp,.ui). In each application I use qt5_wrap_ui( app_UI_SOURCES ${app_UI} ) add_executable( app ${app_SOURCES} ${app_UI_SOURCES} )