file(GLOB SOURCE *.c *.cpp *.rc)
add_library(storage SHARED ${SOURCE} ${CMAKE_CURRENT_BINARY_DIR}/storage.def storage.dll16.obj)
include_directories(../wine ${CMAKE_BINARY_DIR})
add_definitions(-D_X86_ -D__WINESRC__ -D__i386__ -DHAVE_STRNCASECMP -DHAVE__STRNICMP -D_WINTERNL_ -DNtCurrentTeb=NtCurrentTeb__ -DDECLSPEC_HIDDEN= -Dstrncasecmp=_strnicmp)
spec_build(storage.dll16 storage)
target_link_libraries(storage libwine winecrt0 krnl386 ole2)
set_target_properties(storage PROPERTIES SUFFIX ".dll16")
