On Thu, Aug 28, 2008 at 5:12 AM, Vandenbroucke Sander < [EMAIL PROTECTED]> wrote:
> > -----Original Message----- > > From: Bill Hoffman [mailto:[EMAIL PROTECTED] > > Sent: woensdag 27 augustus 2008 14:37 > > To: Vandenbroucke Sander > > Cc: cmake@cmake.org; Brad King > > Subject: Re: [CMake] re-config on make all > > > > Vandenbroucke Sander wrote: > > > Hi, > > > > > > Sometimes CMake re-configures my build tree when running make. > > > Unfortunately CMake uses wrong options, I normally set those on the > > > command line. This forces me to re-config & rebuild my entire source > > > tree. This is a bit annoying since, in most cases, this is not > necessary > > > and takes a long time. > > > > > > So here is my question: can I prevent the automatic reconfiguration > and > > > throw an error/warning so the user can do a manual reconfig? > > > > > > > CMake should use the same options. Your options should have been > stored > > in the cache. > You are right, those options are not cached. > But Bill's point was that they *should* be cached. So the question is: why are your original command line -D options not saved in CMakeCache.txt...? What version of CMake are you running? (Send output of 'which cmake' and 'cmake --version'...) What is your exact original command line for running CMake?
_______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake