[CMake] VS2003 and reloading projects

John Drescher drescherjm at gmail.com
Thu Nov 10 14:35:16 EST 2011


> I've been struggling with a real nuisance lately. When I run a build in
> VS2003 and my CMake scripts are out of date, it regenerates and then prompts
> me if I would like to stop the build & reload the projects. Once I do that,
> my projects reload but for some reason their settings are still out of date.
> Either it didn't reload the actual projects that changed or this is a bug of
> some sort. In any case the only way I can get reliable behavior is to close
> VS2003 completely, run CMake on the outside, and then reopen my solution.
> I've read that this has been a constant struggle from the start for the
> CMake team, so just wondering if there are any workarounds & tips.
> Thanks in advance.
>

I like to close my projects in Visual Studio before making a change
that requires a configure like adding several source files. Then I
launch cmake to regenerate the solution from a configure.bat batch
file I have generated in my projects build folder.

John


More information about the CMake mailing list