[CMake] seperate source/build directories (Was: cleaning targets)
Eric (Brad) Lemings
brad at rebit.com
Thu Nov 6 16:15:21 EST 2008
Eric Noulard wrote:
> 2008/11/6 Michael Jackson <mike.jackson at bluequartz.net>:
>
>> All this is asking is 2 extra commands.
>>
>
> You may perfectly do that with autotools too:
>
> mkdir build
> cd build
> /path/to/source/configure
> make
> make install
Right. And because with autotools, the build process works as well in
the source tree, in a build subdirectory, or completely separate build
directory, no particular approach is preferred over another.
If CMake recommends one approach (or avoiding another), this implies it
doesn't work well (or as well) with that approach because of
shortcomings in the tool rather than "it's good development practice".
Or maybe its both?
Eric.
More information about the CMake
mailing list