Igor Raits wrote:
The correct way of doing out-of-source builds is to use `cmake -S .
-B
builddir` and not cd/pushd and other things. Sadly we can't implement
this enforcement without breaking packages that do `cd/pushd` but we
will fix them.
The pushd approach has been working since forever, which is why it is used
in all templates. -S and -B are more recent (and redundant) introductions.
Kevin Kofler