[CMake] How to make dependency scanner ignore some paths?

2009-12-26 Thread Pavel Shevaev
Guys, what is the best way to to make the dependency scanner ignore some paths? For example, I'm using boost in my project but I really don't want the dependency scanner to take it into account since it changes rarely(or never). For some time I've been using the following trick:

[CMake] target_link_libraries: prefer static to dynamic

2009-12-26 Thread Pau Garcia i Quiles
Hello, I think this has already been discussed and the answer is negative but still: when I do target_link_libraries to an external library (for instance, my application needs to link to sqlite), is it possible to tell CMake to link to the static version of sqlite instead of the dynamic version?