mirror of
https://github.com/reactos/reactos.git
synced 2024-11-04 05:43:30 +00:00
65ce146169
svn path=/branches/ros-csrss/; revision=57561
24 lines
621 B
CMake
24 lines
621 B
CMake
|
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
|
|
|
set_rc_compiler()
|
|
|
|
spec2def(winspool.drv winspool.spec ADD_IMPORTLIB)
|
|
|
|
list(APPEND SOURCE
|
|
info.c
|
|
stubs.c
|
|
winspool.rc
|
|
${CMAKE_CURRENT_BINARY_DIR}/winspool_stubs.c
|
|
${CMAKE_CURRENT_BINARY_DIR}/winspool.def)
|
|
|
|
add_library(winspool.drv SHARED ${SOURCE})
|
|
|
|
set_target_properties(winspool.drv PROPERTIES SUFFIX "")
|
|
|
|
set_module_type(winspool.drv win32dll UNICODE)
|
|
target_link_libraries(winspool.drv wine)
|
|
add_importlibs(winspool.drv advapi32 shlwapi msvcrt kernel32 ntdll)
|
|
add_cd_file(TARGET winspool.drv DESTINATION reactos/system32 FOR all)
|
|
|