2011-05-16 13:12:07 +00:00
|
|
|
|
2012-12-22 10:47:06 +00:00
|
|
|
add_definitions(-D__WINESRC__)
|
2011-05-16 13:12:07 +00:00
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
2011-06-26 21:29:55 +00:00
|
|
|
spec2def(localspl.dll localspl.spec)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
localmon.c
|
|
|
|
localspl_main.c
|
|
|
|
provider.c
|
2014-02-10 12:19:56 +00:00
|
|
|
localspl_private.h)
|
|
|
|
|
|
|
|
add_library(localspl SHARED
|
|
|
|
${SOURCE}
|
|
|
|
localspl.rc
|
2011-05-16 13:12:07 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/localspl_stubs.c
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/localspl.def)
|
|
|
|
|
|
|
|
set_module_type(localspl win32dll)
|
|
|
|
target_link_libraries(localspl wine)
|
2014-06-08 14:51:07 +00:00
|
|
|
add_importlibs(localspl spoolss user32 advapi32 shlwapi msvcrt kernel32 ntdll)
|
2014-02-10 12:19:56 +00:00
|
|
|
add_pch(localspl localspl_private.h SOURCE)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET localspl DESTINATION reactos/system32 FOR all)
|