On 2014-12-22 19:30, Aleix Pol wrote:
> On Thu, Sep 25, 2014 at 9:14 AM, Anton Makeev wrote:
>> * No progress indication. Since the generation may take several minutes,
>>   providing feedback is crucial.
>
> I never found such case,

ParaView. (To a lesser extent, VTK.)

> I would argue that a project which has a cmake script that takes
> several minutes is broken, but maybe we can open a thread to discuss
> it?

Well, yes, one might argue that :-).

>> * When there are existing in-source generated files in the project dir,
>>   CMake doesn't allow generating into a separate out-of-source folder.
>>   An IDE has to invent workarounds here.
>
> Arguably, in-source generation is broken by definition...

Also, because CMake allows either a source OR BUILD directory to be
given, such a configuration is almost certainly doomed. IMO, trying to
do an out-of-source build of a source directory that already contains an
in-source build *is* broken (i.e. no "arguably" about it)... and so is
an IDE trying to work around such situation.

At most, detect the situation and nicely report the problem to the user.

-- 
Matthew

-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers

Reply via email to