mirror of
https://github.com/reactos/reactos.git
synced 2024-10-29 19:13:58 +00:00
907025a018
This takes care of adding the relvant include directory and the _ATL_NO_EXCEPTIONS define, if needed
28 lines
688 B
CMake
28 lines
688 B
CMake
|
|
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} cpprt atl_classes)
|
|
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)
|