Re: [CMake] Searching once

2014-01-14 Thread Matthew Woehlke
On 2014-01-14 18:47, Al Niessner wrote: [snip] Is it possible to have a dependent project use configuration from a previously installed project? - IF the dependent project creates a ProjectConfig.cmake, and - IF said ProjectConfig.cmake sets the necessary variables referencing where its versio

[CMake] Searching once

2014-01-14 Thread Al Niessner
I am fairly new to cmake but have been through the documentation a dozen or more times and found answers to all of my previous questions. I have googled for another small batch of questions. Now I am stuck, mostly because I am not sure what keywords to use in my search, and would like a little hel

[CMake] Announce: CMake course March 4, 2014 in Santa Fe

2014-01-14 Thread Bill Hoffman
Kitware is hosting a training course titled “Project Lifecycle Management with the CMake Family of Tools” in Santa Fe. The course will be held on March 4, 2014. Through a set of tutorials and exercises, the course will provide you with an in-depth examination of how CMake works, as well as how

Re: [CMake] patch on Windows

2014-01-14 Thread Nils Gladitz
On 14.01.2014 17:05, Bill Hoffman wrote: It would take a bit to port it to windows Might not be a bad start Is there already a Windows port? I haven't found one ... the most obvious incompatibility seems to be temporary file creation. I was sort of hoping to find something in kws

Re: [CMake] patch on Windows

2014-01-14 Thread Bill Hoffman
On 1/14/2014 10:48 AM, Nils Gladitz wrote: I don't know about good but perhaps: http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/patch/patch.c?rev=1.51;content-type=text%2Fplain https://github.com/freebsd/freebsd/blob/master/usr.bin/patch/patch.c It would take a bit to port it to windows...

Re: [CMake] Finding zlib on OS X 10.9

2014-01-14 Thread Schröter, Philipp
Von: Bogdan Cristea [crist...@gmail.com] Gesendet: Dienstag, 14. Januar 2014 15:32 An: Schröter, Philipp; cmake Betreff: Re: [CMake] Finding zlib on OS X 10.9 > >On 01/14/2014 03:18 PM, "Schröter, Philipp" wrote: >> When CMake is looking for zlib it always r

Re: [CMake] patch on Windows

2014-01-14 Thread Nils Gladitz
On 01/14/2014 04:22 PM, Bill Hoffman wrote: Yes, it would. However, there does not seem to exist a good BSD licensed patch implementation that we can use. I think it would be quite a bit of work to implement one from scratch. I don't know about good but perhaps: http://www.openbsd.org/cgi

Re: [CMake] patch on Windows

2014-01-14 Thread Bill Hoffman
On 1/12/2014 7:46 AM, Rob McDonald wrote: It doesn't. It would be great if CMake implemented a "cmake -E patch". Agreed. Yes, it would. However, there does not seem to exist a good BSD licensed patch implementation that we can use. I think it would be quite a bit of work to implement o

Re: [CMake] Finding zlib on OS X 10.9

2014-01-14 Thread Bogdan Cristea
On 01/14/2014 03:18 PM, "Schröter, Philipp" wrote: When CMake is looking for zlib it always returns "ZLIB not found." although ZLIB_ROOT, in which it looks for zlib (/usr/local/zlib) and which is passed to CMake with a -D, is correct and zlib exists in there (including subfolders). Does anybody

[CMake] Finding zlib on OS X 10.9

2014-01-14 Thread Schröter, Philipp
Hello, I have the following problem under OS X 10.9 Mavericks: When CMake is looking for zlib it always returns "ZLIB not found." although ZLIB_ROOT, in which it looks for zlib (/usr/local/zlib) and which is passed to CMake with a -D, is correct and zlib exists in there (including subfolders). D

Re: [CMake] qt4_wrap_cpp: questions about TARGET option

2014-01-14 Thread Stephen Kelly
David Demelier wrote: > Hello folks, > > I had a question a long time ago about the qt4_wrap_cpp and the > target_include_directories commands. > > To explain the problem, I wanted to use target_include_directories to > add include directories to dependent target easier. However I really > wante

[CMake] qt4_wrap_cpp: questions about TARGET option

2014-01-14 Thread David Demelier
Hello folks, I had a question a long time ago about the qt4_wrap_cpp and the target_include_directories commands. To explain the problem, I wanted to use target_include_directories to add include directories to dependent target easier. However I really wanted to use qt4_wrap_cpp and not AUTOMOC (