Brian Little wrote:
How do you run cmake on the command-line and have it run to
completion? I have to run it more than once for it to find all the
variables and then spit out the build files. Is there a switch to tell
it to run until it is down?
Right now to get around it, I have a batch file that runs cmake and
compares the current CMakeCache.txt to the last one generated until
there is no difference. Then it knows it is finished. But, this
requires having cygwin diff on any machine that needs to do this.
I figure there has got to be a better way but I haven’t found it yet.
Thanks,
Brian
There is no non-interactive way to do this. CMakeSetup, ccmake, or cmake
-i will all do this.
I suppose you could pipe yes into cmake -i.
-Bill
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake