The original CMakeLists will be helpful to solve your problem. Could you provide a small stand-alone example reproducing your problem?<br><br><div class="gmail_quote">On Wed, Jul 27, 2011 at 8:02 PM, Nima Nouri <span dir="ltr">&lt;<a href="mailto:nouri.f.nima@gmail.com">nouri.f.nima@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="gmail_quote"><div>Hi everybody</div><div> </div><div>I am currently trying to compile my source code on VC9.</div>
<div>Previously I was using VC8 and every thing was fine but now cmake does make everything like before but only a vcproject file.</div>

<div>I have attached both files in a rar archive to this mail, the one made for VC8 is larger 250KB and the one made for VC9 is the smaller 70KB.</div><div> </div><div>if you comparison the files (of course with a comparison utility like the ones notepad++ have) you will find that all cuda source files are not added to the build list on the VC9 file.</div>


<div>Does any one has any idea about whats causing this? and How i can fix it?</div><div> </div><div>I should add that the settings of the cmake files for both VC8 and VC9 are set using the cmake internal parameters MSVC80 and MSVC90 and the configurations are the same. for example</div>


<div> </div><div>if (MSVC80)</div><div>-The block of command</div><div>endif (MSVC80)</div><div> </div><div><div>if (MSVC90)</div><div>-The same block of command</div><div>endif (MSVC90)<br clear="all"><br>-- <br></div></div>


<div>
<div>Best Regards</div>
<div>N.Nouri</div>
<div> </div>
<div><font color="#999999">Ph.D Student</font></div>
<div><font color="#999999">Department of Mechanical Engineering</font></div>
<div><font color="#999999">Isfahan University of Technology<br>Isfahan, Iran</font></div></div></div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br></blockquote></div><br>