wfreerdp: fix build on Windows

This commit is contained in:
Marc-André Moreau 2012-10-10 19:11:36 -04:00
parent 1931c0d241
commit b97b40a91e
4 changed files with 12 additions and 0 deletions

View File

@ -21,6 +21,10 @@ set(MODULE_PREFIX "WINPR_FILE")
set(${MODULE_PREFIX}_SRCS
file.c)
if(MSVC AND (NOT MONOLITHIC_BUILD))
set(${MODULE_PREFIX}_SRCS ${${MODULE_PREFIX}_SRCS} module.def)
endif()
if(MONOLITHIC_BUILD)
add_library(${MODULE_NAME} OBJECT ${${MODULE_PREFIX}_SRCS})
else()

View File

@ -0,0 +1,2 @@
LIBRARY "libwinpr-file"
EXPORTS

View File

@ -23,6 +23,10 @@ set(${MODULE_PREFIX}_SRCS
registry_reg.h
registry.c)
if(MSVC AND (NOT MONOLITHIC_BUILD))
set(${MODULE_PREFIX}_SRCS ${${MODULE_PREFIX}_SRCS} module.def)
endif()
if(MONOLITHIC_BUILD)
add_library(${MODULE_NAME} OBJECT ${${MODULE_PREFIX}_SRCS})
else()

View File

@ -0,0 +1,2 @@
LIBRARY "libwinpr-registry"
EXPORTS