3183ee09b86493f30f1bcc33b0417e9288ab7124
[reactos.git] / dll / win32 / hid / CMakeLists.txt
1
2 set_unicode()
3
4 list(APPEND SOURCE hid.c stubs.c hid.rc)
5
6 spec2def(hid ${CMAKE_CURRENT_SOURCE_DIR}/hid.spec ${CMAKE_CURRENT_BINARY_DIR}/hid.def)
7
8 add_library(hid SHARED
9 ${CMAKE_CURRENT_BINARY_DIR}/hid_precomp.h.gch
10 ${SOURCE})
11
12 set_module_type(hid win32dll)
13
14 target_link_libraries(hid ${CMAKE_CURRENT_BINARY_DIR}/hid.def)
15
16 add_importlibs(hid kernel32 ntdll)
17 add_pch(hid ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
18 add_dependencies(hid hid_def)