[CMake] [cmake-developers] module proposal: PreventInSourceBuilds

Rolf Eike Beer eike at sf-mail.de
Fri Nov 9 07:52:45 EST 2018


> # disallow in-source builds
> if("${srcdir}" STREQUAL "${bindir}")

if(srcdir STREQUAL bindir)

HTH

Eike
-- 


More information about the CMake mailing list