<div dir="ltr">Get 2 CMake projects.<div><br></div><div>Get CMake GUI to 'configure' one of them. Close/re-open and it will automatically point to this configured project source and build locations, regardless of what build/version/cmake-gui.exe you use. </div><div><br></div><div>Run a different cmake-gui.exe through the CLI, passing in source and build locations. It will be properly load these instead of the 'last configured project' now.</div><div><br></div><div>Now close it, without configuring, and re-open it normally without CLI overrides. Now it'll load the original project as if you've never set it to a different source/build location.</div><div><br></div><div>tl;dr CMake loads the last-configured source/bin directory by default. If you don't configure (or pass override through CLI) it will keep loading the same project.</div><div><br></div><div>VT</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jan 25, 2019 at 1:19 PM Kyle Edwards <<a href="mailto:kyle.edwards@kitware.com">kyle.edwards@kitware.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div>On Fri, 2019-01-25 at 12:55 -0800, Venedict Tchistopolskii wrote:</div><blockquote type="cite"><div dir="ltr">Cherry picked and tested. Works great, thank you!</div></blockquote><div><br></div><div>Great, glad to hear it!</div><div><br></div><blockquote type="cite"><div dir="ltr"><div>Now, if only the source/build path would stick around, without requiring config to be triggered. :P</div></div></blockquote><div><br></div><div>Can you clarify what you mean by this?</div><div><br></div><div>Kyle</div><blockquote type="cite">
</blockquote></div></blockquote></div>