mirror of
https://github.com/reactos/reactos.git
synced 2025-01-12 01:00:06 +00:00
c6dd9578be
- Improve some dlls. svn path=/branches/cmake-bringup/; revision=48967
18 lines
456 B
CMake
18 lines
456 B
CMake
|
|
set_unicode()
|
|
|
|
list(APPEND SOURCE hid.c stubs.c hid.rc)
|
|
|
|
spec2def(hid ${CMAKE_CURRENT_SOURCE_DIR}/hid.spec ${CMAKE_CURRENT_BINARY_DIR}/hid.def)
|
|
|
|
add_library(hid SHARED
|
|
${CMAKE_CURRENT_BINARY_DIR}/hid_precomp.h.gch
|
|
${SOURCE})
|
|
|
|
set_module_type(hid win32dll)
|
|
|
|
target_link_libraries(hid ${CMAKE_CURRENT_BINARY_DIR}/hid.def)
|
|
|
|
add_importlibs(hid kernel32 ntdll)
|
|
add_pch(hid ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
|
|
add_dependencies(hid hid_def)
|