2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
add_definitions(-D__WINESRC__)
|
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
2013-09-14 21:48:59 +00:00
|
|
|
|
2012-03-07 21:21:27 +00:00
|
|
|
spec2def(credui.dll credui.spec ADD_IMPORTLIB)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
credui_main.c
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/credui_stubs.c
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/credui.def)
|
|
|
|
|
2013-09-14 21:48:59 +00:00
|
|
|
add_library(credui SHARED ${SOURCE} credui.rc)
|
2011-05-16 13:12:07 +00:00
|
|
|
set_module_type(credui win32dll)
|
|
|
|
target_link_libraries(credui wine)
|
|
|
|
add_importlibs(credui advapi32 user32 comctl32 msvcrt kernel32 ntdll)
|
|
|
|
add_cd_file(TARGET credui DESTINATION reactos/system32 FOR all)
|