- Fix more dlls.
[reactos.git] / dll / win32 / psapi / CMakeLists.txt
1
2 list(APPEND SOURCE
3 malloc.c
4 psapi.c
5 psapi.rc
6 psapi.def)
7
8 if(NOT MSVC)
9 set_source_files_properties(psapi.def PROPERTIES EXTERNAL_OBJECT TRUE)
10 endif()
11
12 add_library(psapi SHARED
13 ${CMAKE_CURRENT_BINARY_DIR}/psapi_precomp.h.gch
14 ${SOURCE})
15
16 set_module_type(psapi win32dll)
17
18 target_link_libraries(psapi
19 epsapi
20 ${PSEH_LIB})
21
22 add_importlibs(psapi msvcrt kernel32 ntdll)
23 add_pch(psapi ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
24
25 add_cab_target(psapi 1)