reactos/dll/win32/psapi/CMakeLists.txt
Amine Khaldi 11cdb20f02 [CMAKE]
- More work on import lib targets and improving modules.

svn path=/branches/cmake-bringup/; revision=49914
2010-12-03 10:26:32 +00:00

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)