[CMake] Visual Studio reload projects

Mathieu Malaterre mathieu.malaterre at gmail.com
Wed Aug 29 04:14:20 EDT 2007


I do not have Visual Studio around, but found that on the net:

After saving a file, the add-in kicks in and start replacing carriage
returns and line feeds. If the file is opened in Visual Studio, it
will open a dialog box saying that the file has changed, and will ask
if you want to reload it. This is quite annoying so you can set up
Visual Studio to automatically reload changed files. To do this,
select: Tools | Options | Editor, and check "Automatic reload of
externally modified files".


http://www.codeproject.com/macro/stripem.asp

Is this working for you ?

HTH
-Mathieu

On 8/29/07, KSpam <keesling_spam at cox.net> wrote:
> I agree that this is a Visual Studio issue; however, I am wondering if anyone
> knows a workaround.  I am not a Windows developer, but I figured that someone
> on this list would have found a reasonable solution.
>
> On Tuesday 28 August 2007 16:18:34 Andrew Maclean wrote:
> > From memory, I am pretty sure that this is a Visual Studio issue.
> > I agree that it is a pain but I think the solution outlined below is the
> > only one.
> >
> > On 8/29/07, KSpam <keesling_spam at cox.net> wrote:
> > > One major annoyance that users have with CMake integration in
> > > VisualStudio is
> > > having to click "Yes" to reload the project files after CMake regenerates
> > > them.  There is no "Yes to All" option.  With hundreds of projects, it
> > > takes
> > > a while to click all of the "Yes" buttons.
> > >
> > > Does anyone know if there is a way to force the reload in Visual Studio,
> > > so
> > > that the user is not bothered with the dialog boxes?  Is there a
> > > configuration option in Visual Studio?
> > >
> > > I tell the users to exit Visual Studio, reconfigure CMake, and then
> > > reopen Visual Studio, but that is a suboptimal solution.
> > >
> > > Thanks,
> > > Justin
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
>


-- 
Mathieu


More information about the CMake mailing list