reactos/dll/win32/msgina/CMakeLists.txt
Jérôme Gardou 907025a018 [CMAKE] Introduce the atl_classes interface library
This takes care of adding the relvant include directory and the _ATL_NO_EXCEPTIONS define, if needed
2020-10-20 21:44:54 +02:00

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)