I want to compile couchbaseS library with /MTd for debug and /MT for release mode build. How to do that through changes in CMakeList.txt?
Also I want to generate .pdb file for the created library.
Is there any other way to achieve this through configuration?
See http://www.cmake.org/Wiki/CMake_FAQ#How_can_I_build_my_MSVC_application_with_a_static_runtime.3F
Also, just search for “CMake MT” and this should come up with several results.
Also, please note that couchbaseS
is an internal component built internally. We don’t actually ship a static library, but we do generate a static library for testing purposes. As such, the internal project structure may change at a later date and couchbaseS
may no longer be available.