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] enable_language( ... OPTIONAL) causes error or second cmake run

2009-11-26 Thread Alan W. Irwin
On 2009-11-26 16:12+0100 Marcel Loose wrote: Hi Alex, On second thought: the problem I encountered is somewhat different than the one described in issue #9220. The problem there is that the compiler name "gcc whatever" is interpreted as compiler "gcc" with an argument "whatever". In my case I

[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] enable_language( ... OPTIONAL) causes error or second cmake run

2009-11-26 Thread Marcel Loose
Hi Alex, On second thought: the problem I encountered is somewhat different than the one described in issue #9220. The problem there is that the compiler name "gcc whatever" is interpreted as compiler "gcc" with an argument "whatever". In my case I do not set a compiler from the command line. I u