[CMAKE]
[reactos.git] / dll / win32 / printui / CMakeLists.txt
1
2 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
3 add_definitions(-D__WINESRC__)
4
5 set_rc_compiler()
6 spec2def(printui.dll printui.spec)
7
8 list(APPEND SOURCE
9 printui.c
10 printui.rc
11 ${CMAKE_CURRENT_BINARY_DIR}/printui_stubs.c
12 ${CMAKE_CURRENT_BINARY_DIR}/printui.def)
13
14 add_library(printui SHARED ${SOURCE})
15 set_entrypoint(printui 0)
16
17 target_link_libraries(printui wine)
18
19 add_importlibs(printui shell32 kernel32 ntdll)
20 add_dependencies(printui psdk)
21 add_cd_file(TARGET printui DESTINATION reactos/system32 FOR all)