[CMAKE]
[reactos.git] / drivers / bus / acpi / cmbatt / CMakeLists.txt
1
2 list(APPEND SOURCE
3 cmbatt.c
4 cmexec.c
5 cmbpnp.c
6 cmbwmi.c
7 cmbatt.rc)
8
9 add_library(cmbatt SHARED ${CMAKE_CURRENT_BINARY_DIR}/cmbatt_cmbatt.h.gch ${SOURCE})
10
11 set_module_type(cmbatt kernelmodedriver)
12 add_importlibs(cmbatt ntoskrnl hal battc wmilib)
13
14 add_pch(cmbatt ${CMAKE_CURRENT_SOURCE_DIR}/cmbatt.h ${SOURCE})
15
16
17 add_cd_file(TARGET cmbatt DESTINATION reactos/system32/drivers FOR all)