2011-05-16 13:12:07 +00:00
|
|
|
|
2012-03-07 21:21:27 +00:00
|
|
|
spec2def(psapi.dll psapi.spec ADD_IMPORTLIB)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
malloc.c
|
|
|
|
psapi.c
|
|
|
|
psapi.rc
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/psapi.def)
|
|
|
|
|
2011-06-02 12:18:22 +00:00
|
|
|
add_library(psapi SHARED ${SOURCE})
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
set_module_type(psapi win32dll)
|
|
|
|
target_link_libraries(psapi epsapi ${PSEH_LIB})
|
|
|
|
add_importlibs(psapi msvcrt kernel32 ntdll)
|
2012-03-07 21:21:27 +00:00
|
|
|
|
2011-06-02 12:18:22 +00:00
|
|
|
add_pch(psapi precomp.h)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET psapi DESTINATION reactos/system32 FOR all)
|