[Cmake] MS Project dsp regeneration
William A. Hoffman
bill . hoffman at kitware . com
Mon, 14 Jan 2002 22:20:43 -0500
Ok, this seems to work, I have checked in this change.
You can actually do Clean and ReBuild in MsDev without having to
answer a bunch of dialogs.
-Bill
At 11:43 AM 1/14/2002 -0500, Amitha Perera wrote:
> > It wipes them out if there are rules to build them like we have done in
> cmake
> > generated dsp files.
>
>How about having a build rule to build MyProject.dsp.cmake instead of
>MyProject.dsp? CMake will generate this file, compare the contents
>with an existing MyProject.dsp, and will overwrite MyProject.dsp if
>necessary. This way, VS does not know that the dsps are autogenerated,
>and won't wipe them. When the CMakeLists.txt changes, it'll be newer
>than MyProject.dsp.cmake, so that will be regenerated, which will in
>turn cause the corresponding .dsp to be updated, and only that project
>need be reloaded.
>_______________________________________________
>Cmake mailing list
>Cmake at public . kitware . com
>http://public . kitware . com/mailman/listinfo/cmake