96b79f62cbc3fa8851dcd36e112aae487003ca50
[reactos.git] / dll / win32 / localspl / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3
4 remove_definitions(-D_WIN32_WINNT=0x502)
5 add_definitions(-D_WIN32_WINNT=0x600)
6
7 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
8
9 set_rc_compiler()
10
11 spec2def(localspl.dll localspl.spec)
12
13 list(APPEND SOURCE
14 localmon.c
15 localspl_main.c
16 provider.c
17 localspl.rc
18 ${CMAKE_CURRENT_BINARY_DIR}/localspl.def)
19
20 add_library(localspl SHARED ${SOURCE})
21
22 set_module_type(localspl win32dll)
23
24 target_link_libraries(localspl wine)
25
26 add_importlibs(localspl
27 spoolss
28 user32
29 advapi32
30 msvcrt
31 kernel32
32 ntdll)
33
34 add_cab_target(localspl 1)