mirror of
https://github.com/reactos/reactos.git
synced 2025-03-10 10:14:44 +00:00

- Move more dlls with no stubs into using def files instead of spec files. svn path=/branches/cmake-bringup/; revision=49449
25 lines
479 B
CMake
25 lines
479 B
CMake
|
|
list(APPEND SOURCE
|
|
malloc.c
|
|
psapi.c
|
|
psapi.rc
|
|
psapi.def)
|
|
|
|
if(NOT MSVC)
|
|
set_source_files_properties(psapi.def PROPERTIES EXTERNAL_OBJECT TRUE)
|
|
endif()
|
|
|
|
add_library(psapi SHARED
|
|
${CMAKE_CURRENT_BINARY_DIR}/psapi_precomp.h.gch
|
|
${SOURCE})
|
|
|
|
set_module_type(psapi win32dll)
|
|
|
|
target_link_libraries(psapi
|
|
epsapi
|
|
${PSEH_LIB})
|
|
|
|
add_importlibs(psapi kernel32 ntdll)
|
|
add_pch(psapi ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
|
|
|
|
add_cab_target(psapi 1)
|