<div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="EN-US"><div class="gmail-m_-1398640205036319088WordSection1"><p class="MsoNormal">David, <u></u><u></u></p><p class="MsoNormal">    I think a bit more explanation of the philosophy (at least how I interpret it) is needed. I see in your emails that you are “targeting makefiles”. With CMake you need to really stop thinking this way. Rarely do you need to target any specific build system (although those times do come up…). A lot of folks I see coming from autoconf to CMake still try to treat CMake in the same way. Don’t. There are a few golden rules with CMake that if you adhere to those will allow you to use CMake much easier.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">1: NEVER have the Source directory and the Build directory be the same place.<u></u><u></u></p><p class="MsoNormal">2: PREFER out-of-source build directories (Not required but helpful)<u></u><u></u></p><p class="MsoNormal">3: Try not to target specific generators (makefiles, visual studio, xcode)<u></u><u></u></p><p class="MsoNormal"><u></u><snip></p></div></div></blockquote><div><br></div><div>Hi Michael </div><div><br></div><div>Thanks very much for your reply and explanation. As a result, I now have the separate Debug/Release build subdirectories working correctly.</div><div><br></div><div>Best regards</div><div><br></div><div>David</div></div></div>