[CMake] VS2003 and reloading projects

2011-11-10 Thread Robert Dailey
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.

-
Robert Dailey
--

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

Re: [CMake] VS2003 and reloading projects

2011-11-10 Thread David Cole
I like reliable. I always do exactly as you say:

  close VS2003 completely, run CMake on the outside, and then reopen
my solution.


That's just what I do...

David


On Thu, Nov 10, 2011 at 2:30 PM, Robert Dailey rcdai...@gmail.com wrote:
 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.

 -
 Robert Dailey

 --

 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


Re: [CMake] VS2003 and reloading projects

2011-11-10 Thread John Drescher
 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
--

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


Re: [CMake] VS2003 and reloading projects

2011-11-10 Thread Robert Dailey
That's fine  dandy but I have a solution with 120+ projects that each have
SCC bindings... that makes them load especially slow!

I wish VS was smart enough to just reload the changed projects properly...
:(

-
Robert Dailey


On Thu, Nov 10, 2011 at 1:34 PM, David Cole david.c...@kitware.com wrote:

 I like reliable. I always do exactly as you say:

  close VS2003 completely, run CMake on the outside, and then reopen
 my solution.


 That's just what I do...

 David


 On Thu, Nov 10, 2011 at 2:30 PM, Robert Dailey rcdai...@gmail.com wrote:
  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.
 
  -
  Robert Dailey
 
  --
 
  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

Re: [CMake] VS2003 and reloading projects

2011-11-10 Thread John Drescher
 That's fine  dandy but I have a solution with 120+ projects that each have
 SCC bindings... that makes them load especially slow!
 I wish VS was smart enough to just reload the changed projects properly...
 :(


I think also if you hit cancel on the CMake dialog. Then wait till the
projects are all reloaded then click build you can avoid needing to
close the solution. Perhaps also look at the settings for Documents
detecting outside changes.

John
--

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