reactos/dll/win32/hid/CMakeLists.txt
Jérôme Gardou fd5ef6b1c1 [CMAKE]
- add macros add_cab and add_cab_target to add files to reactos.dff
  - add bootcd target
  - make use of these macros to create bootcd and livecd
Bootcd works and install things, but 2nd stage fails booting. We need debug symbols!!!

svn path=/branches/cmake-bringup/; revision=49347
2010-10-30 09:53:53 +00:00

19 lines
478 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)
add_cab_target(hid 1)