[CMake] Force out of source build

Andreas Schneider mail at cynapses.org
Fri Jun 6 02:57:16 EDT 2008


hsanson wrote:
> So how can I cause CMake to fail if I run it on the source directory??
> 

Hi,

try

https://dev.csync.org/browser/cmake/Modules/MacroEnsureOutOfSourceBuild.cmake

> 
> thanks
> Horacio


	-- andreas

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 257 bytes
Desc: OpenPGP digital signature
URL: <http://www.cmake.org/pipermail/cmake/attachments/20080606/3a6e847f/attachment.pgp>


More information about the CMake mailing list