[CMake] further configuration of generated projects outside of CMake?

Zan Lynx zlynx at acm.org
Mon Mar 11 23:00:24 EDT 2019


On March 11, 2019 6:03:24 PM MDT, hex <hex7c3 at gmail.com> wrote:
>hi everyone,
>
>There are many generators supported in CMake. A CMake build system 
>allows me to generate the preferred build environment for everyone, 
>visual studio, eclipse, ninja you name it.
>
>The problem I see with this is that projects are generated output
>files, 
>and even if that gives everyone the starting point in the way he/she is
>
>used to, they will probably want to further customize their project 
>preferences. But every build folder, every library that is added to the
>
>project sources later on in CMake must be reflected in those projects
>as 
>well. This means any customizations done outside of CMake is lost.
>

You don't ship the generated files with the source. Everyone runs cmake for themselves.

And if you did ship some, like a Makefile, you would not customize that any more than you'd customize it from an autoconf project.
-- 
                Knowledge is Power -- Power Corrupts
                        Study Hard -- Be Evil


More information about the CMake mailing list