8964a78c03bdb2697ad40329891039d7202e7534
[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.def)
12
13 add_library(printui SHARED ${SOURCE})
14 set_entrypoint(printui 0)
15
16 target_link_libraries(printui wine)
17
18 add_importlibs(printui shell32 kernel32 ntdll)
19 add_dependencies(printui psdk buildno_header)
20 add_cab_target(printui 1)