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