<br>Thank you for the reply<br><br>then why when I am building my project with qmake, the moc generated files are going in my debug and release folders? It shoud not be like so, if the moc output is identical right? or I am missing something<br>
<br><div class="gmail_quote">On Tue, Nov 3, 2009 at 1:53 AM, Clinton Stimpson <span dir="ltr"><<a href="mailto:clinton@elemtech.com">clinton@elemtech.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div style="word-wrap:break-word">
<div><br></div><br><div><div class="im"><div>On Nov 2, 2009, at 1:41 PM, elizabeta petreska wrote:</div><br><blockquote type="cite">Do I actually need moc generated files per build comfiguration?<br></blockquote><div><br>
</div></div><div>No you don't. The output from moc is identical for all build configurations.</div><div><br></div><div>Clint</div><div><br></div><br><blockquote type="cite"><div class="im"><br><div class="gmail_quote">
On Mon, Nov 2, 2009 at 4:21 PM, elizabeta petreska <span dir="ltr"><<a href="mailto:elizabeta.petreska@gmail.com" target="_blank">elizabeta.petreska@gmail.com</a>></span> wrote:<br> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello<br><br>how to control where the generated moc files go ?<br><br>I am using this macro like this :<br><br>FILE(GLOB MOC_HEADERS<br> moc/*.h ) <br><br>QT4_WRAP_CPP(out_moc_files ${MOC_HEADERS})<br><br>And the generated files are going in my CMAKE_BINARY_DIR.<br>
<br>What to do if I want the generated files to go to CMAKE_BINARY_DIR/debug or CMAKE_BINARY_DIR/release, i.e where I can set the file path ?<br><br>Thanks<br><br><br><br><br> </blockquote></div><br></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
_______________________________________________</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;min-height:14px">
<br></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">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></div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;min-height:14px"><br></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">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></div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;min-height:14px"><br></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">Follow this link to subscribe/unsubscribe:</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a></div> </blockquote></div>
<br></div></blockquote></div><br>