[CMAKE]
[reactos.git] / dll / win32 / psapi / CMakeLists.txt
1
2 spec2def(psapi ${CMAKE_CURRENT_SOURCE_DIR}/psapi.spec ${CMAKE_CURRENT_BINARY_DIR}/psapi.def)
3
4 list(APPEND SOURCE
5 malloc.c
6 psapi.c
7 psapi.rc)
8
9 add_library(psapi SHARED
10 ${CMAKE_CURRENT_BINARY_DIR}/psapi_precomp.h.gch
11 ${SOURCE})
12
13 set_module_type(psapi win32dll)
14
15 target_link_libraries(psapi
16 ${CMAKE_CURRENT_BINARY_DIR}/psapi.def
17 epsapi
18 pseh)
19
20 add_importlibs(psapi kernel32 ntdll)
21 add_pch(psapi ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
22 add_dependencies(psapi psapi_def)
23 add_cab_target(psapi 1)