[CMAKE]
[reactos.git] / dll / win32 / credui / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3
4 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
5
6 spec2def(credui ${CMAKE_CURRENT_SOURCE_DIR}/credui.spec ${CMAKE_CURRENT_BINARY_DIR}/credui.def)
7
8 add_library(credui SHARED credui_main.c credui.rc)
9
10 set_module_type(credui win32dll)
11
12 target_link_libraries(credui
13 ${CMAKE_CURRENT_BINARY_DIR}/credui.def
14 wine)
15
16 add_importlibs(credui advapi32 user32 comctl32 kernel32 ntdll)
17 add_dependencies(credui credui_def)
18 add_cab_target(credui 1)