xref: /reactos/dll/win32/msgina/CMakeLists.txt (revision cdf90707)
1
2spec2def(msgina.dll msgina.spec)
3
4list(APPEND SOURCE
5    gui.c
6    lsa.c
7    msgina.c
8    shutdown.c
9    stubs.c
10    tui.c)
11
12list(APPEND PCH_SKIP_SOURCE
13    dimmedwindow.cpp
14    ${CMAKE_CURRENT_BINARY_DIR}/msgina_stubs.c)
15
16add_library(msgina MODULE
17    ${SOURCE}
18    ${PCH_SKIP_SOURCE}
19    msgina.rc
20    ${CMAKE_CURRENT_BINARY_DIR}/msgina.def)
21
22set_module_type(msgina win32dll UNICODE)
23target_link_libraries(msgina wine uuid ${PSEH_LIB} cpprt atl_classes)
24add_delay_importlibs(msgina secur32)
25add_importlibs(msgina advapi32 user32 gdi32 powrprof userenv msvcrt kernel32 ntdll)
26add_pch(msgina msgina.h "${PCH_SKIP_SOURCE}")
27add_cd_file(TARGET msgina DESTINATION reactos/system32 FOR all)
28