I have 2.8.8. and I see the same line in my CMakeCache.txt.
-----Original Message----- From: Ben Medina [mailto:ben.med...@gmail.com] Sent: Monday, June 04, 2012 12:47 PM To: LaViolette, Alan Cc: cmake@cmake.org Subject: Re: [CMake] CMAKE_SUPPRESS_REGENERATION in VS2010 This works for me with CMake 2.8.8 and VS2010. I have this in my CMakeCache.txt: CMAKE_SUPPRESS_REGENERATION:BOOL=ON And the ZERO_CHECK target does not appear. Which version of CMake are you using? I vaguely recall that this feature was broken a few releases back. - Ben On Fri, Jun 1, 2012 at 8:31 AM, LaViolette, Alan <alaviole...@overwatch.textron.com> wrote: > I am porting our product over to use cmake vs2010 and am experiencing issues > with the automatic regeneration (2010 does not seem to like its projects > changing while open), so I would like to just turn it off. > > > > I have put the CMAKE_SUPPRESS_REGENERATION variable in and still get the > ZERO_CHECK and the CMakeList.txt dependencies in the project files. What do > I need to get this to work. > > > > I am setting it from the command line so it is defined first thing > > "-DCMAKE_SUPPRESS_REGENERATION:BOOL=1" > > > > Thanks > > > > -- > > Alan LaViolette > > Software Engineering Consultant > > OVERWATCH > > An Operating Unit of Textron Systems > > 21660 Ridgetop Circle, Suite 110 > > Sterling, VA 20166 > > Office: (703) 437-7651 x 2419 > > Fax: (703) 437-0039 > > alaviole...@overwatch.textron.com > > www.overwatch.com > > > > "WARNING: Documents that can be viewed, printed or retrieved from this > E-Mail may contain technical data whose export is restricted by the Arms > Export Control Act (Title 22, U.S.C., Sec 2751, et seq,) or the Export > Administration Act of 1979, as amended, Title 50, U.S.C., App. 2401 et seq. > and which may not be exported, released or disclosed to non-U.S. persons > (i.e. persons who are not U.S. citizens or lawful permanent residents > ["green card" holders]) inside or outside the United States, without first > obtaining an export license. Violations of these export laws are subject to > severe civil, criminal and administrative penalties." > > > > > -- > > 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 -- 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