Christian Ehrlicher wrote:
Hi,

is there a rationale behind the fact that DEFINE_SYMBOL for static libs is ignored? I do understand that (the automatic) MAKE_foo_LIB is not needed here but I don't see a reason why to ignore a user-defined value.

The user-defined value is just a way to change the name of the automatic one.
The problem is that I want to compile a lib in static and shared mode and it doesn't work because I can't define BUILD_STATIC when compiling the static lib and therefore get compiler errors :(

Why not COMPILE_FLAG property on the target?

-Bill
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to