[SPOOLSS]
[reactos.git] / reactos / dll / win32 / spoolss / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
4 spec2def(spoolss.dll spoolss.spec ADD_IMPORTLIB)
5
6 list(APPEND SOURCE
7 spoolss_main.c
8 router.c
9 ${CMAKE_CURRENT_BINARY_DIR}/spoolss_stubs.c
10 ${CMAKE_CURRENT_BINARY_DIR}/spoolss.def)
11
12 add_library(spoolss SHARED ${SOURCE})
13 set_module_type(spoolss win32dll)
14 target_link_libraries(spoolss wine)
15 add_importlibs(spoolss msvcrt kernel32 ntdll)
16 add_cd_file(TARGET spoolss DESTINATION reactos/system32 FOR all)