On Wed, Oct 25, 2017 at 10:36 AM, Carlton Banks <[email protected]> wrote:

> Is there some literature that desbribes how cmakelist has to be defined a
> big system, that involve multiple smaller modules within the big module.


Unfortunately, written documentation of structuring larger projects with
CMake seems to be as rare and hard to find as documentation on CMake "Best
practices". I suspect that the individual uniqueness of each large project
combined with "once it is working don't touch it" means that developers
settle on something that "works" rather than something they are happy with,
and so don't show it off.

If you have anything beyond a fixed repository of code with simple
dependencies then you seem to be pretty much on your own.

As a start, I'd suggest looking for other large projects that transitioned
to using CMake - I've found LLVM useful in particular as a large but
tightly-bound set of modular, but optional components. KDE is using CMake,
but I've yet to find a good place to start digging - the ecosystem is so
intimidatingly large that I'm not sure their solutions are applicable to
anyone else except them. Hopefully Boost will move to CMake (as is
currently proposed) and give another well known library example.

Nick
-- 

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

Reply via email to