Re: [CMake] Cmake gui and cli

2009-07-17 Thread James Bigler
This is similar to a thread a while back: http://www.cmake.org/pipermail/cmake/2009-April/028419.html I suggested comparing the CMakeCache.txt files before and after a configure to get a list of relevant configuration changes and adding them to the command line. James On Fri, Jul 17, 2009 at 7:

Re: [CMake] Cmake gui and cli

2009-07-17 Thread David E DeMarle
I think you can write a starter cmakecache in an empty build directory consisting of just the non-default options you want and and then run cmake on that. It will fill in the rest of what it needs if you've provided a consistent set that doesn't need to ask you anything. That is what dashboards do

Re: [CMake] Cmake gui and cli

2009-07-17 Thread Alin M Elena
Hi Bill and Eric, I see your points about the implementation but I think you are thinking to something different that I have in my mind. I am not interested in portability. When I try to compile a big project (eg paraview) the -gui is a very good tool, due to its incremental support. Then I g

Re: [CMake] Cmake gui and cli

2009-07-16 Thread Eric Noulard
2009/7/16 Bill Hoffman : > Alin M Elena wrote: >>> >>> I think the previous posts are missing the question   I think what >>> is wanted is a way to run cmake-gui pick some options, and then generate >>> a -D command line equivalent to the options that were picked in >>> cmake-gui.  This is not

Re: [CMake] Cmake gui and cli

2009-07-16 Thread Bill Hoffman
Alin M Elena wrote: I think the previous posts are missing the question I think what is wanted is a way to run cmake-gui pick some options, and then generate a -D command line equivalent to the options that were picked in cmake-gui. This is not possible, and would be difficult to implement

Re: [CMake] Cmake gui and cli

2009-07-16 Thread Alin M Elena
> I think the previous posts are missing the question I think what > is wanted is a way to run cmake-gui pick some options, and then generate > a -D command line equivalent to the options that were picked in > cmake-gui. This is not possible, and would be difficult to implement. Thanks Bill

Re: [CMake] Cmake gui and cli

2009-07-16 Thread Bill Hoffman
David E DeMarle wrote: On Jul 16, 2009, at 10:41 AM, Alin M Elena wrote: Hi cmake-gui is very useful for big projects with many variables to set, but sometimes command line is very necessary, too. Is there a way to generate the command line equivalent of the settings from cmake-gui? I think

Re: [CMake] Cmake gui and cli

2009-07-16 Thread Alin M Elena
Hi , It seems that I was misunderstood. I want to know if if possible to see the equivalent cmake line of the Generate button. regards, Alin -- __ "If the Universities will not study useless subjects, who will?"

Re: [CMake] Cmake gui and cli

2009-07-16 Thread David E DeMarle
You also have the option of running: "cmake -i" which acts like the old linux kernel configuration tools, interactively questioning you for each option. or "cmake -D setting1 -D setting2..." David E DeMarle Kitware, Inc. R&D Engineer 28 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-371

Re: [CMake] Cmake gui and cli

2009-07-16 Thread Michael Jackson
ccmake - which is a curses based gui from the cli. _ Mike Jackson mike.jack...@bluequartz.net www.bluequartz.net On Jul 16, 2009, at 10:41 AM, Alin M Elena wrote: Hi cmake-gui is very useful for big projects

[CMake] Cmake gui and cli

2009-07-16 Thread Alin M Elena
Hi cmake-gui is very useful for big projects with many variables to set, but sometimes command line is very necessary, too. Is there a way to generate the command line equivalent of the settings from cmake-gui? regards, Alin -- ___