reactos/win32ss/user/winsrv/usersrv.cmake
Hermès Bélusca-Maïto 59f8611321
[WINSRV] Delay-load psapi.dll
Note that it is used only in debug builds in order to display the list
of processes being terminated in the debug log.
2024-02-22 22:41:06 +01:00

20 lines
524 B
CMake

include_directories(usersrv)
list(APPEND USERSRV_SOURCE
usersrv/harderror.c
usersrv/init.c
usersrv/register.c
usersrv/shutdown.c
# usersrv/usersrv.rc
usersrv/usersrv.h)
add_library(usersrv ${USERSRV_SOURCE})
target_link_libraries(usersrv pseh)
add_dependencies(usersrv xdk)
add_pch(usersrv usersrv/usersrv.h USERSRV_SOURCE)
#add_object_library(usersrv ${USERSRV_SOURCE})
list(APPEND USERSRV_IMPORT_LIBS basesrv)
list(APPEND USERSRV_DELAY_IMPORT_LIBS psapi)
set_module_type(usersrv module UNICODE)