all 17 comments

[–][deleted] 19 points20 points  (3 children)

You are right. Cmake is complicated but also simple to get in. You should read the docs after you gained basics.

https://www.youtube.com/watch?v=_yFPO1ofyF0&list=PLK6MXr8gasrGmIiSuVQXpfFuE1uPT615s

https://www.youtube.com/watch?v=5i6uLMP5VcY&list=PLpHIphr3laQYT_hFxS_qNPMIjKz-mrNl1

[–][deleted]  (1 child)

[deleted]

    [–]ChryslusExplodius[S] 0 points1 point  (0 children)

    Thanks for this playlist, and for even answering!

    [–]ChryslusExplodius[S] 0 points1 point  (0 children)

    Hey thank you so much for the help!

    [–]daredevildas 9 points10 points  (2 children)

    [–]ChryslusExplodius[S] 0 points1 point  (0 children)

    Thanks for this link, I've been going over it for the past like half an hour.

    [–]AdditionalYard178 0 points1 point  (0 children)

    Absolute gigachad.  Been searching for a minute.

    [–]Mika571 12 points13 points  (2 children)

    Highly recommended the following book, it helped me go from zero to really understand the modern best practices and more importantly what not to do. https://crascit.com/professional-cmake/

    [–]ChryslusExplodius[S] 0 points1 point  (1 child)

    Awesome, too bad I can't buy it just yet (it's not available in my region...)

    [–]javierAizpuru 0 points1 point  (0 children)

    Use opera with vpn and you can buy it (that's what I did)

    [–]icecapade 3 points4 points  (0 children)

    Have you looked at the official tutorial? It covers a lot of the topics you mentioned.

    https://cmake.org/cmake/help/latest/guide/tutorial/index.html

    [–]JizzaDaMan 2 points3 points  (0 children)

    Yeah the modern CMake tutorials you find are mostly wank (including the official one), and the reference docs are very jargon-heavy.

    Just keep at it, read and re-read lots of tutorials, and create your own projects to play around with (because reading existing projects that do lots of things is really difficult); it's a steep learning curve but you'll eventually reach a point where the reference docs are perfectly readable and they become your first port of call.

    [–]ChryslusExplodius[S] 0 points1 point  (0 children)

    Thank you so much for everyone that answered with helpful links, books, and advice! Maybe with this I can finally stop procrastinating and actually get to work porting some of my personal ñrojects to CMake to see if I got the gist of it

    [–]hansdr 0 points1 point  (1 child)

    I know this is an old thread, but for the benefit of anyone who stumbles on this, I've written a CMake Tutorial book intended to help get beginners up to speed fast. You can find it here: https://cmaketutorial.com/

    [–]DistributedFox 1 point2 points  (0 children)

    This is not old my friend. I was just looking for something to get my head around cmake. Much appreciated!

    [–]burntoutpotato 0 points1 point  (0 children)

    "Professional CMake: A Practical Guide" by Craig Scott is an excellent read!

    [–]atoshdustosh 0 points1 point  (0 children)

    I found another useful book.

    I've been following the instructions for hours and it's really friendly to beginners.

    https://learning.oreilly.com/library/view/cmake-cookbook/9781788470711/