[CMAKE]
[reactos.git] / reactos / dll / win32 / msgina / CMakeLists.txt
1
2 include_directories(
3 include
4 ${REACTOS_SOURCE_DIR}/include/reactos/wine)
5
6 spec2def(msgina.dll msgina.spec)
7
8 list(APPEND SOURCE
9 gui.c
10 lsa.c
11 msgina.c
12 shutdown.c
13 stubs.c
14 tui.c
15 msgina.h)
16
17 add_library(msgina SHARED
18 ${SOURCE}
19 msgina.rc
20 ${CMAKE_CURRENT_BINARY_DIR}/msgina_stubs.c
21 ${CMAKE_CURRENT_BINARY_DIR}/msgina.def)
22
23 set_module_type(msgina win32dll)
24 target_link_libraries(msgina wine)
25 add_delay_importlibs(msgina secur32)
26 add_importlibs(msgina advapi32 user32 gdi32 powrprof userenv msvcrt kernel32 ntdll)
27 add_pch(msgina msgina.h SOURCE)
28 add_cd_file(TARGET msgina DESTINATION reactos/system32 FOR all)