[CMake] Force out of source build

Mathieu Malaterre mathieu.malaterre at gmail.com
Fri Jun 6 09:36:28 EDT 2008


The macro is incomplete AFAIK. You might want to consider adding this too:

http://www.cmake.org/pipermail/cmake/2008-March/020390.html

On Fri, Jun 6, 2008 at 10:23 AM, hsanson <hsanson at gmail.com> wrote:
> 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
>>
>
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
>



-- 
Mathieu


More information about the CMake mailing list