On Tuesday 29 November 2011, J Decker wrote: > On Tue, Nov 29, 2011 at 9:17 AM, Alexander Neundorf > > <a.neundorf-w...@gmx.net> wrote: > > On Monday 28 November 2011, J Decker wrote: > >> On Mon, Nov 28, 2011 at 12:01 PM, Alexander Neundorf > >> > >> <a.neundorf-w...@gmx.net> wrote: > >> > On Saturday 26 November 2011, J Decker wrote: > >> >> I don't find any documentation on the command that cmake uses with a > >> >> cmake -E --check-build-system .... Does this option happen to set any > >> >> specific cmake variable indicating that it is doing a check build? > >> >> > >> >> I'm inquiring and I saw a post about it before > >> >> http://www.kwwidgets.org/Bug/view.php?id=2133 (closed) > >> >> > >> >> about someone saying it might be nice to be able to bypass the > >> >> cmake_check_build_system rule in the makefile. > >> >> > >> >> I would like to make building this project a single click interface. > >> >> - in the cmake script I can define some options to build all, install > >> >> or package during the configure. But if I do, then the first thing > >> >> that is done is the cmake script is processed again (which it already > >> >> was), which triggers the make again, which calls cmake, etc. I could > >> >> test to see if's a phase that isn't --check-build-system and do the > >> >> command? > >> >> > >> >> Also I think I'd really just like to be the last thing done on a > >> >> 'generate' in the cmake-gui (not entirely sure what the difference is > >> >> between configure and generate). > >> > > >> > "Configure" basically processes the CMakeLists.txt, "Generate" then > >> > generates the Makefiles/project files. > >> > >> Right; but there's apparently no way for a script to know if it is > >> being configured or generated? - or build-checked? > > > > which script do you mean ? > > The CMakeLists.txt files ? > > They are so to say always processed in the configure-phase. > > so that is to imply there's no way to inject into the generate phase?
Yes. What do you want to do ? Alex -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake