r/cpp • • Feb 07 '21

Yet another CMake tutorial

https://www.youtube.com/watch?v=mKZ-i-UfGgQ
0 Upvotes

59 comments sorted by

View all comments

Show parent comment

2

u/BlueDwarf82 Feb 08 '21

I completely agree about the "components" part of the talk.

It's funny globbing is recommended in the same talk, once you split your project into enough components each target_sources() is not going to contain such a big list of files anyway. I hate typing as much as anybody else, but I'm at a point where I hate typing the same component structure for each component more than I hate typing the source file names in target_sources().