7c6b5618f2233debf65a43f1c42c6c469b6fe6a0
[reactos.git] / dll / win32 / msgina / CMakeLists.txt
1
2 set_cpp(WITH_RUNTIME)
3
4 include_directories(
5 ${REACTOS_SOURCE_DIR}/sdk/lib/atl
6 ${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
7
8 spec2def(msgina.dll msgina.spec)
9
10 list(APPEND C_SOURCE
11 gui.c
12 lsa.c
13 msgina.c
14 shutdown.c
15 stubs.c
16 tui.c
17 msgina.h)
18
19 list(APPEND CPP_SOURCE
20 dimmedwindow.cpp)
21
22 add_library(msgina SHARED
23 ${C_SOURCE}
24 ${CPP_SOURCE}
25 msgina.rc
26 ${CMAKE_CURRENT_BINARY_DIR}/msgina_stubs.c
27 ${CMAKE_CURRENT_BINARY_DIR}/msgina.def)
28
29 set_module_type(msgina win32dll UNICODE)
30 target_link_libraries(msgina atlnew wine uuid ${PSEH_LIB})
31 add_delay_importlibs(msgina secur32)
32 add_importlibs(msgina advapi32 user32 gdi32 powrprof userenv msvcrt kernel32 ntdll)
33 add_pch(msgina msgina.h CPP_SOURCE)
34 add_cd_file(TARGET msgina DESTINATION reactos/system32 FOR all)