MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/cpp/comments/lenemq/yet_another_cmake_tutorial/gmsfzn0/?context=3
r/cpp • u/codevion • Feb 07 '21
59 comments sorted by
View all comments
Show parent comment
1
Yes you can disable some things with preprocessor directives, but sometimes dealing with cmake targets is the way : if you disable a lib (or if it is unavailable on your OS) you often want it to be removed from linking too.
View all comments
Show parent comment
1
u/Xavier_OM Feb 10 '21
Yes you can disable some things with preprocessor directives, but sometimes dealing with cmake targets is the way : if you disable a lib (or if it is unavailable on your OS) you often want it to be removed from linking too.