Is it possible to build VTK as both static and dynamic libs

If I enable BUILD_SHARED_LIBS, then static libs are not built. Is it possible to build both dynamic and static? (I need both: dynamic for lab tests, and static for app release to third parties).

Thanks a lot!


Yes, you can use two different build directories with the same source tree. There’s no support for building both in the same build tree.