[CMake] Beginners Guide to Cmake and Modern Cmake

Eric Noulard eric.noulard at gmail.com
Sat Jul 28 03:44:42 EDT 2018


Le sam. 28 juil. 2018 à 01:01, spacey_01 at outlook.com <spacey_01 at outlook.com>
a écrit :

> Hey Andreas,
>
>  thanks for your comments. Yes I too have exhausted the resources you have
> mentioned here. The concepts make sense and I see the intended point but
> for a beginner its hard to grasp on how to implement and given the type of
> project  application of cmake's is diverse (easy to complex).
>
> Im in need of some clear cut examples of modern cmake for it to really
> sink in (easy to complex).
>
> I feel you have to be a veteran in cmake to understand how to implement
> the new way and overcome the problems of dependencies not providing modern
> transitive packages and the struggle of not just calling find_package..
> etc. Instead we have to make that transition our selves in some cases. This
> is the hard part.
>


AIFAIK, your example software does not seem to be built with CMake so there
is no transition to make for you.
Just use the "Modern way" from the ground up.

Concerning documentation, tutorial, webinar etc...
More and more resource are coming up:

1) The various slide/presentation already mentionned
2) The reference documentation (https://cmake.org/documentation/) which has
improved a lot after the switch to sphinx
3) The kitware training of course: https://training.kitware.fr
4) Books
    - The book recently announced by Craig Scott:
https://crascit.com/professional-cmake/
    - A forthcoming cookbook:
https://www.packtpub.com/application-development/cmake-cookbook
and probably many other to come.

However if we are into making libraries it would be a benefit to know the
> process of cmake packages but at the advantage of being the maker and
> knowing the dependency path if the library does borrow.
>

I bet (but I did not read it) the book from Craig could help you with that,
but I'm sure he may answer himself.

Now I am curious of what you mean by "it would be a benefit to know **the
process of cmake packages**" ?
What do you mean by that?


> It be great to see cmake.org revamping the webinars for the
> aforementioned.
>

All that said I agree the current are oldish and would benefit an upgrade
:-)

However from my perspective writing good doc, tutorial, webinar etc... is
very time-consuming so may be worth buying some for that and give some
rewards to people investing in it.
This is my own opinion though :-)

-- 
Eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cmake.org/pipermail/cmake/attachments/20180728/aeace803/attachment.html>


More information about the CMake mailing list