mirror of
https://github.com/reactos/reactos.git
synced 2025-03-10 18:24:02 +00:00

- 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
19 lines
478 B
CMake
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)
|