[CMake] Problem with precompiled header attempts

2012-02-26 Thread Oliver Smith
I've spent all day trying to get a single precompiled header to work on a series of targets within a rather complex project. I'll profess to a fair amount of stabbing in the dark. I came up with the following, but it doesn't bother building the PCH until the *end* of the first target. And then

[CMake] Partial 3rd-party library management

2012-02-26 Thread Oliver Smith
In order to maximize our ability to rebuild an exact copy of a previous revision, our repository carries copies of numerous 3rd party libraries. However, in most of their cases we are fairly selective about which elements we build. Downside: "make clean && make" winds up rebuilding all the da

Re: [CMake] Code and API review request for Qt5 CMake files

2012-02-26 Thread Alexander Neundorf
On Sunday 26 February 2012, Michael Hertling wrote: > On 02/25/2012 09:43 AM, Alexander Neundorf wrote: > > On Friday 24 February 2012, Michael Hertling wrote: > >> On 02/24/2012 03:34 PM, Stephen Kelly wrote: > > ... > > > [...] (that is, find_package(Qt5 REQUIRED > Gui Xml) might not f

[CMake] Question regarding source tree structure and how to find libraries easily within that structure

2012-02-26 Thread Andreas Guther
Hello, I'm justing starting to learn/use CMake and I have a question regarding the usage of it in regards of source tree structure and library usage. I have the following folder structure: Root Bin Win32X86Debug Win32X86Release ...