mirror of
https://github.com/reactos/reactos.git
synced 2024-08-20 10:23:22 +00:00
37 lines
849 B
CMake
37 lines
849 B
CMake
|
|
set_cpp(WITH_RUNTIME)
|
|
|
|
add_definitions(
|
|
-D_ATL_NO_EXCEPTIONS)
|
|
|
|
include_directories(
|
|
${REACTOS_SOURCE_DIR}/sdk/lib/atl
|
|
${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
|
|
|
|
spec2def(msgina.dll msgina.spec)
|
|
|
|
list(APPEND SOURCE
|
|
gui.c
|
|
lsa.c
|
|
msgina.c
|
|
shutdown.c
|
|
stubs.c
|
|
tui.c)
|
|
|
|
list(APPEND PCH_SKIP_SOURCE
|
|
dimmedwindow.cpp
|
|
${CMAKE_CURRENT_BINARY_DIR}/msgina_stubs.c)
|
|
|
|
add_library(msgina MODULE
|
|
${SOURCE}
|
|
${PCH_SKIP_SOURCE}
|
|
msgina.rc
|
|
${CMAKE_CURRENT_BINARY_DIR}/msgina.def)
|
|
|
|
set_module_type(msgina win32dll UNICODE)
|
|
target_link_libraries(msgina wine uuid ${PSEH_LIB})
|
|
add_delay_importlibs(msgina secur32)
|
|
add_importlibs(msgina advapi32 user32 gdi32 powrprof userenv msvcrt kernel32 ntdll)
|
|
add_pch(msgina msgina.h "${PCH_SKIP_SOURCE}")
|
|
add_cd_file(TARGET msgina DESTINATION reactos/system32 FOR all)
|