Re: [CMake] is ccmake reliable?

2009-09-16 Thread Atwood, Robert (DLSLtd,RAL,DIA)
Thanks also , that's what I want to do as well! -Original Message- From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On Behalf Of James C. Sutherland Sent: 16 September 2009 00:34 To: CMake List Subject: Re: [CMake] is ccmake reliable? On Sep 15, 2009, at 2:

Re: [CMake] is ccmake reliable?

2009-09-15 Thread James C. Sutherland
On Sep 15, 2009, at 2:47 PM, Tyler Roscoe wrote: On Tue, Sep 15, 2009 at 02:20:35PM -0600, James C. Sutherland wrote: set( CMAKE_INSTALL_PREFIX ${CMAKE_CURRENT_BINARY_DIR} CACHE PATH "installation path" ) This doesn't work - I assume that this is because CMAKE_INSTALL_PREFIX is a special (int

Re: [CMake] is ccmake reliable?

2009-09-15 Thread John Drescher
> Looks like the default for CMAKE_INSTALL_PREFIX comes from > CMakeGenericSystem.cmake: > > > # Set a variable to indicate whether the value of CMAKE_INSTALL_PREFIX > # was initialized by the block below.  This is useful for user > # projects to change the default prefix while still allowing the >

Re: [CMake] is ccmake reliable?

2009-09-15 Thread Tyler Roscoe
On Tue, Sep 15, 2009 at 02:20:35PM -0600, James C. Sutherland wrote: > >>>set( CMAKE_INSTALL_PREFIX > >>>${CMAKE_CURRENT_BINARY_DIR} > >>>CACHE PATH "installation path" > >>>) > >>This doesn't work - I assume that this is because > >>CMAKE_INSTALL_PREFIX > >>is a special (internally defined) vari

Re: [CMake] is ccmake reliable?

2009-09-15 Thread James C. Sutherland
On Sep 15, 2009, at 12:59 PM, Tyler Roscoe wrote: On Tue, Sep 15, 2009 at 12:37:27PM -0600, James C. Sutherland wrote: A related question: If I set CMAKE_INSTALL_PREFIX in my CMakeLists.txt file set( CMAKE_INSTALL_PREFIX ${CMAKE_CURRENT_BINARY_DIR} ) and then run ccmake, I find that the CMA

Re: [CMake] is ccmake reliable?

2009-09-15 Thread James C. Sutherland
On Sep 15, 2009, at 2:15 PM, Tyler Roscoe wrote: On Tue, Sep 15, 2009 at 02:08:44PM -0600, James C. Sutherland wrote: So assuming that I wanted my CMakeLists.txt file to modify the default install location, but allow the user to change this, wouldn't I do something like: set( CMAKE_INSTALL_

Re: [CMake] is ccmake reliable?

2009-09-15 Thread Tyler Roscoe
On Tue, Sep 15, 2009 at 02:08:44PM -0600, James C. Sutherland wrote: > So assuming that I wanted my CMakeLists.txt file to modify the default > install location, but allow the user to change this, wouldn't I do > something like: > >set( CMAKE_INSTALL_PREFIX > > ${CMAKE_CURRENT_BINARY_DIR} > > C

Re: [CMake] is ccmake reliable?

2009-09-15 Thread John Drescher
> So assuming that I wanted my CMakeLists.txt file to modify the default > install location, but allow the user to change this, wouldn't I do something > like: >> >> set( CMAKE_INSTALL_PREFIX >>  ${CMAKE_CURRENT_BINARY_DIR} >>  CACHE PATH "installation path" >>  ) > > This doesn't work - I assume t

Re: [CMake] is ccmake reliable?

2009-09-15 Thread James C. Sutherland
On Sep 15, 2009, at 12:50 PM, David Cole wrote: I believe the word used was "reproducible" not "reliable" -- and I think he was talking about the fact that it is not reproducible because it depends on human interaction. Other than the human sitting at the keyboard, I have found ccmake (an

Re: [CMake] is ccmake reliable?

2009-09-15 Thread Tyler Roscoe
On Tue, Sep 15, 2009 at 12:37:27PM -0600, James C. Sutherland wrote: > A related question: If I set CMAKE_INSTALL_PREFIX in my > CMakeLists.txt file > >set( CMAKE_INSTALL_PREFIX > > ${CMAKE_CURRENT_BINARY_DIR} > > ) > and then run ccmake, I find that the CMAKE_INSTALL_PREFIX variable is > se

Re: [CMake] is ccmake reliable?

2009-09-15 Thread David Cole
I believe the word used was "reproducible" not "reliable" -- and I think he was talking about the fact that it is not reproducible because it depends on human interaction. Other than the human sitting at the keyboard, I have found ccmake (and *all* of the cmake executables) to be quite reliable. Th

[CMake] is ccmake reliable?

2009-09-15 Thread James C. Sutherland
On another mailing list that I subscribe to someone mentioned that ccmake was not very reliable. Is this true? A related question: If I set CMAKE_INSTALL_PREFIX in my CMakeLists.txt file set( CMAKE_INSTALL_PREFIX ${CMAKE_CURRENT_BINARY_DIR} ) and then run ccmake, I find that the CMAKE_