[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 set_rc_compiler()
7
8 spec2def(credui.dll credui.spec)
9
10 list(APPEND SOURCE
11 credui_main.c
12 credui.rc
13 ${CMAKE_CURRENT_BINARY_DIR}/credui_stubs.c
14 ${CMAKE_CURRENT_BINARY_DIR}/credui.def)
15
16 add_library(credui SHARED ${SOURCE})
17
18 set_module_type(credui win32dll)
19
20 target_link_libraries(credui wine)
21
22 add_importlibs(credui advapi32 user32 comctl32 msvcrt kernel32 ntdll)
23 add_importlib_target(credui.spec)
24 add_cd_file(TARGET credui DESTINATION reactos/system32)