mirror of
https://github.com/reactos/reactos.git
synced 2024-11-11 17:21:17 +00:00
11cdb20f02
- More work on import lib targets and improving modules. svn path=/branches/cmake-bringup/; revision=49914
27 lines
520 B
CMake
27 lines
520 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 msvcrt kernel32 ntdll)
|
|
add_importlib_target(psapi.spec)
|
|
|
|
add_pch(psapi ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
|
|
|
|
add_cab_target(psapi 1)
|