mirror of
https://github.com/reactos/reactos.git
synced 2024-11-19 13:33:42 +00:00
e5db85276e
psapi.dll can also used by low-level DLLs, such as winsrv.dll, therefore it is better to reduce its dependencies.
13 lines
366 B
CMake
13 lines
366 B
CMake
|
|
spec2def(psapi.dll psapi.spec ADD_IMPORTLIB)
|
|
|
|
list(APPEND SOURCE
|
|
psapi.c
|
|
psapi.rc
|
|
${CMAKE_CURRENT_BINARY_DIR}/psapi.def)
|
|
|
|
add_library(psapi MODULE ${SOURCE})
|
|
set_module_type(psapi win32dll ENTRYPOINT DllMain 12)
|
|
target_link_libraries(psapi ${PSEH_LIB})
|
|
add_importlibs(psapi kernel32 ntdll)
|
|
add_cd_file(TARGET psapi DESTINATION reactos/system32 FOR all)
|