mirror of
https://github.com/reactos/reactos.git
synced 2024-09-19 09:09:53 +00:00
f4cc19c36a
- Improve several modules. svn path=/branches/cmake-bringup/; revision=50055
38 lines
584 B
CMake
38 lines
584 B
CMake
|
|
add_definitions(
|
|
-D__WINESRC__
|
|
-D_DLL -D__USE_CRTIMP)
|
|
|
|
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
|
|
${CMAKE_CURRENT_BINARY_DIR}/itss.def)
|
|
|
|
add_library(itss SHARED ${SOURCE})
|
|
|
|
set_module_type(itss win32dll)
|
|
|
|
target_link_libraries(itss uuid wine)
|
|
|
|
add_importlibs(itss
|
|
urlmon
|
|
shlwapi
|
|
ole32
|
|
msvcrt
|
|
kernel32
|
|
ntdll)
|
|
|
|
add_dependencies(itss wineheaders)
|
|
add_cab_target(itss 1)
|