2010-10-06 18:57:42 +00:00
|
|
|
|
2010-12-24 18:37:44 +00:00
|
|
|
spec2def(psapi.dll psapi.spec)
|
|
|
|
|
2010-10-06 18:57:42 +00:00
|
|
|
list(APPEND SOURCE
|
|
|
|
malloc.c
|
|
|
|
psapi.c
|
2010-10-30 16:08:19 +00:00
|
|
|
psapi.rc
|
2010-12-24 18:37:44 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/psapi.def)
|
2010-10-06 18:57:42 +00:00
|
|
|
|
|
|
|
add_library(psapi SHARED
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/psapi_precomp.h.gch
|
|
|
|
${SOURCE})
|
|
|
|
|
|
|
|
set_module_type(psapi win32dll)
|
2010-12-24 18:37:44 +00:00
|
|
|
target_link_libraries(psapi epsapi ${PSEH_LIB})
|
2010-11-27 01:16:42 +00:00
|
|
|
add_importlibs(psapi msvcrt kernel32 ntdll)
|
2010-12-03 10:26:32 +00:00
|
|
|
add_importlib_target(psapi.spec)
|
2010-10-06 18:57:42 +00:00
|
|
|
add_pch(psapi ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
|
2010-10-30 09:53:53 +00:00
|
|
|
add_cab_target(psapi 1)
|