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