Generating .dll using CMake
As documented, the default type of library is determined by the BUILD_SHARED_LIBS
variable. You can explicitly request a shared library with:
add_library(yourlib SHARED file.c ...)
As documented, the default type of library is determined by the BUILD_SHARED_LIBS
variable. You can explicitly request a shared library with:
add_library(yourlib SHARED file.c ...)