In my project I have plugin for qt designer,
it should be build in release mode, because of in other case qt
designer will not load and use it.
>From other hand I need this code as static library,
and use build type the same as my main application uses.
So it looks like
add_library(some_name SHARED
${some_code}
${extra_code}
)
add_library(some_name1 STATIC
${some_code}
)
And I would like to have build type for "some_name" = Release,
and for "some_name1" the same mode as CMAKE_BUILD_TYPE,
is it possible?
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake