[CMake] library usage

Simon Friedberger simon+cmake at a-oben.org
Tue May 12 09:55:40 EDT 2009


Good Morning,

after some more digging yesterday I came up with this working solution:
http://pastebin.com/m1daf62d4
Now if you look at lines 36-38 and 46 you will notice that I had to make
dependencies on some libraries explicit that I did not need before.

Mathieu already said this was the cmake way but it makes me wonder which
dependencies really have to be explicit and which don't. Or does that
mean that this are really all the libraries the code is using?

Also, doesn't this get very complicated and unhandy on large projects?

Would be nice if somebody could provide clarification.
Best
Simon


More information about the CMake mailing list