reactos/drivers/bus/acpi/compbatt/CMakeLists.txt
Amine Khaldi 9d4f5c4c27 [CMAKE]
- Add ws2help, wshirda, wshtcpip, wsock32, wtsapi32, wuapi, xinput*, xmllite, cmbatt, compbatt, dxapi, dxg, dxgthk, fs_rec, msfs and mup to build. By Alexey Komarov.

svn path=/branches/cmake-bringup/; revision=48953
2010-10-01 16:30:49 +00:00

14 lines
500 B
CMake

list(APPEND SOURCE
compbatt.c
compmisc.c
comppnp.c
compbatt.rc)
add_library(compbatt SHARED ${CMAKE_CURRENT_BINARY_DIR}/compbatt_compbatt.h.gch ${SOURCE})
set_target_properties(compbatt PROPERTIES LINK_FLAGS "-Wl,-entry,_DriverEntry@8 -Wl,--image-base,0x00010000 -Wl,--exclude-all-symbols -Wl,--subsystem,native" SUFFIX ".sys")
add_importlibs(compbatt ntoskrnl hal battc)
add_pch(compbatt ${CMAKE_CURRENT_SOURCE_DIR}/compbatt.h ${SOURCE})
add_dependencies(compbatt psdk bugcodes)