[CMAKE]
[reactos.git] / 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)
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
15 set_module_type(spoolss win32dll)
16
17 target_link_libraries(spoolss wine)
18
19 add_importlibs(spoolss winspool msvcrt kernel32 ntdll)
20 add_importlib_target(spoolss.spec)
21
22 add_cd_file(TARGET spoolss DESTINATION reactos/system32)