mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +00:00
26 lines
542 B
CMake
26 lines
542 B
CMake
|
|
spec2def(winspool.drv winspool.spec)
|
|
|
|
set_unicode()
|
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
|
|
|
set_rc_compiler()
|
|
|
|
list(APPEND SOURCE
|
|
info.c
|
|
stubs.c
|
|
winspool.rc
|
|
${CMAKE_CURRENT_BINARY_DIR}/winspool.def)
|
|
|
|
add_library(winspool SHARED ${SOURCE})
|
|
|
|
set_target_properties(winspool PROPERTIES SUFFIX ".drv")
|
|
set_module_type(winspool win32dll)
|
|
|
|
target_link_libraries(winspool wine)
|
|
|
|
add_importlibs(winspool advapi32 shlwapi msvcrt kernel32 ntdll)
|
|
|
|
add_cab_target(winspool 1)
|
|
add_importlib_target(winspool.spec)
|