Hi Arindam.<br><br>AFAIK, there is no such variable (I'd love to be proven wrong). What I currently do is hard-code the path: ${${projectName}_BINARY_DIR}/${targetName}.dir/...<br><br>Petr<br><br><div class="gmail_quote">
On Sat, Oct 6, 2012 at 1:07 PM, Arindam Mukherjee <span dir="ltr"><<a href="mailto:arindam.mukerjee@gmail.com" target="_blank">arindam.mukerjee@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
I am using cmake to generate VS 2008 solution and project files. The<br>
directory structure of the source look like this:<br>
<br>
Sources:<br>
src/project1<br>
project2<br>
project3<br>
etc.<br>
<br>
Runtime output dir:<br>
bin/Windows/ver/plat/arch/<binaries><br>
<br>
Build dir:<br>
cmake/Windows/ver/plat/arch <-- this is the build dir<br>
<br>
So basically at the start of the build I do the following:<br>
<br>
1. cd cmake/Windows/ver/plat/arch<br>
2. cmake ../../../../../src<br>
3. devenv options top_proj.sln<br>
<br>
Now my manifest files are built under the build dir:<br>
<br>
cmake/Windows/ver/plat/arch/<proj_subdir>/proj.dir/Release<br>
<br>
and I need to copy these to the runtime output dir. But I don't know<br>
what variable to use to refer to the build dir. Any ideas?<br>
<br>
Regards,<br>
Arindam<br>
--<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>