Just checked. same issue<br><br><div class="gmail_quote">On Wed, Sep 29, 2010 at 3:50 PM, Bill Hoffman <span dir="ltr"><<a href="mailto:bill.hoffman@kitware.com">bill.hoffman@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">On 9/29/2010 9:38 AM, elizabeta petreska wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
If I use such a script for comparing time stamps of input and output<br>
files, I would need to rewrite every cmakelists.txt that uses<br>
add_custom_command, and execute the needed commands only if input file<br>
is older than output,or maybe I did not understand you idea with the<br>
script. This seems like a lot of mess for something that cmake should do.<br>
<br>
Also is anybody experiencing this issue with vs2010 generator ?<br>
Can anybody confirm that this is bug with vs2010 generator, and maybe<br>
some workaround ?<br>
<br>
One more observation:<br>
This problem seems to happen only when the output file goes to<br>
subdirectory in PROJECT_BINARY_DIR, in the example the subdirectory is<br>
PROJECT_BINARY_DIR/$(ConfigurationName).<br>
<br>
If I put the generated file to go straight under PROJECT_BINARY_DIR than<br>
everything works ok. Also if I put the generated files to go under<br>
PROJECT_SOURCE_DIR or its subdirectories everything works well.<br>
<br>
Thanks<br>
</blockquote>
<br>
<br></div>
}/$(ConfigurationName)/<br>
should use:<br>
${CMAKE_CFG_INTDIR}<br>
<br>
<br>
That might be the problem.<br><font color="#888888">
<br>
-Bill</font><div><div></div><div class="h5"><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>
</div></div></blockquote></div><br><input id="gwProxy" type="hidden"><input onclick="if(typeof(jsCall)=='function'){jsCall();}else{setTimeout('jsCall()',500);}" id="jsProxy" type="hidden"><div id="refHTML">
</div>