reactos/dll/win32/itss/CMakeLists.txt
Cameron Gutman c2d0d784c7 [USB-BRINGUP-TRUNK]
- Create a branch to do a proper merge of USB work from a trunk base instead of from cmake-bringup
- In the future, DO NOT under any circumstances branch another branch. This leads to merge problems!

svn path=/branches/usb-bringup-trunk/; revision=55018
2012-01-20 20:58:46 +00:00

41 lines
783 B
CMake

add_definitions(-D__WINESRC__)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
set_rc_compiler()
spec2def(itss.dll itss.spec)
list(APPEND SOURCE
chm_lib.c
lzx.c
itss.c
moniker.c
protocol.c
storage.c
rsrc.rc
#${REACTOS_BINARY_DIR}/include/reactos/wine/itss_i.c
${CMAKE_CURRENT_BINARY_DIR}/itss_stubs.c
${CMAKE_CURRENT_BINARY_DIR}/itss.def)
add_library(itss SHARED ${SOURCE})
set_module_type(itss win32dll)
target_link_libraries(itss uuid wine)
if(MSVC)
target_link_libraries(itss itss_guid)
else()
allow_warnings(itss)
endif()
add_importlibs(itss
urlmon
shlwapi
ole32
msvcrt
kernel32
ntdll)
add_dependencies(itss wineheaders)
add_cd_file(TARGET itss DESTINATION reactos/system32 FOR all)