<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 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_-6745209790634620566gmail-m_-3358577163581508200WordSection1"><p class="MsoNormal"><br></p></div></div></blockquote></div><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_-6745209790634620566gmail-m_-3358577163581508200WordSection1"><div><div><div><p class="MsoNormal"> I am not finding it easy to find 'patterns' for these sort of issues. I would have thought that configuring a project with separate debug and release directories would be quite typical. But it's hard to find the recommended way of doing such things. </p></div></div></div></div></div></blockquote><div><br></div><div>It is typical: <a href="https://gitlab.kitware.com/cmake/community/wikis/FAQ#what-is-an-out-of-source-build" target="_blank">https://gitlab.kitware.com/cmake/community/wikis/FAQ#what-is-an-out-of-source-build</a></div><div><br></div><div>In this case CMake doesn't recommend anything because it assumes this is implemented outside/on top of CMake</div><div><a href="https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html" target="_blank">https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html</a><br></div><div><br></div></div></div></blockquote><div><br></div><div>Finally found it while looking for something else: </div><div><a href="https://gitlab.kitware.com/cmake/community/wikis/FAQ#how-can-i-build-multiple-modes-without-switching-">https://gitlab.kitware.com/cmake/community/wikis/FAQ#how-can-i-build-multiple-modes-without-switching-</a> </div></div></div>