2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
|
|
|
add_definitions(-D__WINESRC__)
|
|
|
|
|
2011-06-26 21:29:55 +00:00
|
|
|
spec2def(printui.dll printui.spec)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
printui.c
|
|
|
|
printui.rc
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/printui_stubs.c
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/printui.def)
|
|
|
|
|
|
|
|
add_library(printui SHARED ${SOURCE})
|
2012-06-20 22:54:30 +00:00
|
|
|
set_module_type(printui win32dll)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
target_link_libraries(printui wine)
|
|
|
|
|
2012-06-20 22:54:30 +00:00
|
|
|
add_importlibs(printui shell32 msvcrt kernel32 ntdll)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_dependencies(printui psdk)
|
|
|
|
add_cd_file(TARGET printui DESTINATION reactos/system32 FOR all)
|