[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 spec2def(printui ${CMAKE_CURRENT_SOURCE_DIR}/printui.spec ${CMAKE_CURRENT_BINARY_DIR}/printui.def)
6
7 add_library(printui SHARED printui.c printui.rc)
8
9 set_entrypoint(printui 0)
10
11 target_link_libraries(printui
12 ${CMAKE_CURRENT_BINARY_DIR}/printui.def
13 wine)
14
15 add_importlibs(printui shell32 kernel32 ntdll)
16 add_dependencies(printui printui_def psdk buildno_header)
17 add_cab_target(printui 1)