<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
If it is overwriting, that means that the file you wrote was invalid. 
Before starting VS, open the generated file and see if it matches what
you think it should - possible issues:<br>
paths in cmake format rather than native format<br>
incorrect quoting<br>
incorrect path separators<br>
<br>
I know that this works, because I do it.<br>
<br>
Ryan<br>
<br>
On 2/18/10 9:01 AM, Surya Kiran Gullapalli wrote:
<blockquote
 cite="mid:3462bcdb1002180701p4f772ba7s64ee421b943c2444@mail.gmail.com"
 type="cite"><br>
  <br>
  <div class="gmail_quote">On Thu, Feb 18, 2010 at 19:22, Ryan Pavlik <span
 dir="ltr">&lt;<a moz-do-not-send="true"
 href="mailto:rpavlik@iastate.edu">rpavlik@iastate.edu</a>&gt;</span>
wrote:<br>
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Make
sure you have quit the visual studio instance in that build directory -
VS assumes that only it modifies the .vcproj.user files, so it does not
detect changes and will overwrite a modified file.  At least with
2.8.0, this works fine when visual studio is closed.<br>
    <br>
Ryan<br>
  </blockquote>
  <div><br>
  </div>
  <div>But it overwrites again when VS is started. Also, when ever I
modify CMakeLists.txt, I've to quit VS, this is a problem. I'll have to
think some other solution.</div>
  <div><br>
  </div>
  <div>Surya </div>
  </div>
  <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Powered by <a class="moz-txt-link-abbreviated" href="http://www.kitware.com">www.kitware.com</a>

Visit other Kitware open-source projects at <a class="moz-txt-link-freetext" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a>

Please keep messages on-topic and check the CMake FAQ at: <a class="moz-txt-link-freetext" href="http://www.cmake.org/Wiki/CMake_FAQ">http://www.cmake.org/Wiki/CMake_FAQ</a>

Follow this link to subscribe/unsubscribe:
<a class="moz-txt-link-freetext" href="http://www.cmake.org/mailman/listinfo/cmake">http://www.cmake.org/mailman/listinfo/cmake</a></pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">-- 
Ryan Pavlik
Human-Computer Interaction Graduate Student
Virtual Reality Applications Center
Iowa State University

<a class="moz-txt-link-abbreviated" href="mailto:rpavlik@iastate.edu">rpavlik@iastate.edu</a>
<a class="moz-txt-link-freetext" href="http://academic.cleardefinition.com/">http://academic.cleardefinition.com/</a></pre>
</body>
</html>