[CMAKE]
[reactos.git] / dll / win32 / psapi / CMakeLists.txt
1
2 spec2def(psapi.dll psapi.spec)
3
4 list(APPEND SOURCE
5 malloc.c
6 psapi.c
7 psapi.rc
8 ${CMAKE_CURRENT_BINARY_DIR}/psapi.def)
9
10 add_library(psapi SHARED
11 ${CMAKE_CURRENT_BINARY_DIR}/psapi_precomp.h.gch
12 ${SOURCE})
13
14 set_module_type(psapi win32dll)
15 target_link_libraries(psapi epsapi ${PSEH_LIB})
16 add_importlibs(psapi msvcrt kernel32 ntdll)
17 add_importlib_target(psapi.spec)
18 add_pch(psapi ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
19 add_cd_file(TARGET psapi DESTINATION reactos/system32 FOR all)