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

2012-02-25 Thread Michael Hertling
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 find QtXml, but Qt5_FOUND would still be true if the Qt5Config fi

Re: [CMake] dependency on header

2012-02-25 Thread Eric Noulard
2012/2/25 Krzysztof : > Does CMake know that if I include a header file in a source it should > consider the source as dependent on the header? I mean, will CMake recompile > the source when only the header changes or do I need explicitly tell CMake > this in CMakeLists.txt? CMake has a builtin de

[CMake] dependency on header

2012-02-25 Thread Krzysztof
Does CMake know that if I include a header file in a source it should consider the source as dependent on the header? I mean, will CMake recompile the source when only the header changes or do I need explicitly tell CMake this in CMakeLists.txt? -- Regards Krzysztof J. -- Powered by www.kit

[CMake] Copy Files in Windows C Project

2012-02-25 Thread Alan Gutierrez
I was looking for a way to copy files into the Debug or Release directory of a Visual Studio 10 project, that might also work for other forms of project, like NMAKE. I ended up using add_custom_command. My CMakeLists.txt at GitHub: https://github.com/bigeasy/verity/blob/65830bff4a0a08785eb75f01

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

2012-02-25 Thread Alexander Neundorf
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 find QtXml, but Qt5_FOUND would still be true if the > >> Qt5Config file is found, whether the component is or not), [...] >