[CMake] Force out of source build

hsanson hsanson at gmail.com
Fri Jun 6 04:23:49 EDT 2008


Andreas Schneider wrote:
> 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,

The url above did not work for me but a Google search for 
MacroEnsureOutOfSourceBuild gave me what I needed.

>>
>> thanks
>> Horacio
>
>
>     -- andreas
>



More information about the CMake mailing list