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