2011-05-16 13:12:07 +00:00
|
|
|
|
2016-09-04 14:17:22 +00:00
|
|
|
set_cpp(WITH_RUNTIME)
|
|
|
|
|
2019-04-16 20:53:56 +00:00
|
|
|
add_definitions(
|
|
|
|
-D_ATL_NO_EXCEPTIONS)
|
|
|
|
|
2011-05-16 13:12:07 +00:00
|
|
|
include_directories(
|
2016-09-04 14:17:22 +00:00
|
|
|
${REACTOS_SOURCE_DIR}/sdk/lib/atl
|
2016-04-20 12:36:25 +00:00
|
|
|
${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
2011-06-26 21:29:55 +00:00
|
|
|
spec2def(msgina.dll msgina.spec)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
2016-09-04 14:17:22 +00:00
|
|
|
list(APPEND C_SOURCE
|
2011-05-16 13:12:07 +00:00
|
|
|
gui.c
|
2014-02-02 12:12:59 +00:00
|
|
|
lsa.c
|
2011-05-16 13:12:07 +00:00
|
|
|
msgina.c
|
2014-09-29 20:14:21 +00:00
|
|
|
shutdown.c
|
2011-05-16 13:12:07 +00:00
|
|
|
stubs.c
|
|
|
|
tui.c
|
2014-02-10 12:19:56 +00:00
|
|
|
msgina.h)
|
|
|
|
|
2016-09-04 14:17:22 +00:00
|
|
|
list(APPEND CPP_SOURCE
|
|
|
|
dimmedwindow.cpp)
|
|
|
|
|
2019-03-20 13:19:48 +00:00
|
|
|
add_library(msgina MODULE
|
2016-09-04 14:17:22 +00:00
|
|
|
${C_SOURCE}
|
|
|
|
${CPP_SOURCE}
|
2011-05-16 13:12:07 +00:00
|
|
|
msgina.rc
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/msgina_stubs.c
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/msgina.def)
|
|
|
|
|
2016-09-04 14:17:22 +00:00
|
|
|
set_module_type(msgina win32dll UNICODE)
|
2019-04-06 20:37:13 +00:00
|
|
|
target_link_libraries(msgina wine uuid ${PSEH_LIB})
|
2014-02-01 15:46:09 +00:00
|
|
|
add_delay_importlibs(msgina secur32)
|
2016-03-27 15:14:32 +00:00
|
|
|
add_importlibs(msgina advapi32 user32 gdi32 powrprof userenv msvcrt kernel32 ntdll)
|
2016-09-04 14:17:22 +00:00
|
|
|
add_pch(msgina msgina.h CPP_SOURCE)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET msgina DESTINATION reactos/system32 FOR all)
|