1 2set_cpp(WITH_RUNTIME) 3 4include_directories( 5 ${REACTOS_SOURCE_DIR}/sdk/lib/atl 6 ${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine) 7 8spec2def(msgina.dll msgina.spec) 9 10list(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 19list(APPEND CPP_SOURCE 20 dimmedwindow.cpp) 21 22add_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 29set_module_type(msgina win32dll UNICODE) 30target_link_libraries(msgina atlnew wine uuid ${PSEH_LIB}) 31add_delay_importlibs(msgina secur32) 32add_importlibs(msgina advapi32 user32 gdi32 powrprof userenv msvcrt kernel32 ntdll) 33add_pch(msgina msgina.h CPP_SOURCE) 34add_cd_file(TARGET msgina DESTINATION reactos/system32 FOR all) 35