[CMake] ExternalProject questions

2009-11-26 Thread Michael Wild
Hi all I have a few questions concerning the new ExternalProject module (which, by the way is fantastic and really simplifies my code). 1. From my understanding of the ExternalProject_Add documentation, shouldn't INSTALL_DIR be passed on the configure-line as - DCMAKE_INSTALL_PREFIX:PATH=$

Re: [CMake] ExternalProject questions

2009-11-26 Thread Hugh Sorby
I have nothing to say for 1. and 2. but I also would like to see 3. in CMake. Currently I am patching some third_party sources to suit my needs and it would be easier for me if patch was added as an CMake -E command. I was considering making a feature request but since Michael has mentioned

Re: [CMake] ExternalProject questions

2009-11-27 Thread Michael Wild
I have to mention that implementing a patching facility in CMake would probably be a considerable effort. Perhaps http://www.xmailserver.org/xdiff-lib.html could be of use there. This library would also allow to implement '- E diff', although I'm not sure whether that would be useful at all...