set_unicode() spec2def(wshirda.dll wshirda.spec) list(APPEND SOURCE wshirda.c wshirda.rc ${CMAKE_CURRENT_BINARY_DIR}/wshirda.def) add_library(wshirda SHARED ${SOURCE}) set_module_type(wshirda win32dll) add_importlibs(wshirda ws2_32 msvcrt kernel32 ntdll) add_cab_target(wshirda 1)