xref: /reactos/drivers/bus/acpi/cmbatt/CMakeLists.txt (revision 139a3d66)
1c2c66affSColin Finck
2c2c66affSColin Fincklist(APPEND SOURCE
3c2c66affSColin Finck    cmbatt.c
4c2c66affSColin Finck    cmexec.c
5c2c66affSColin Finck    cmbpnp.c
6*139a3d66SAmine Khaldi    cmbwmi.c)
7*139a3d66SAmine Khaldi
8*139a3d66SAmine Khaldilist(APPEND PCH_SKIP_SOURCE
9*139a3d66SAmine Khaldi    guid.c)
10c2c66affSColin Finck
1123373acbSJérôme Gardouadd_library(cmbatt MODULE
12c2c66affSColin Finck    ${SOURCE}
13*139a3d66SAmine Khaldi    ${PCH_SKIP_SOURCE}
14c2c66affSColin Finck    cmbatt.rc)
15c2c66affSColin Finck
16c2c66affSColin Finckset_module_type(cmbatt kernelmodedriver)
17c2c66affSColin Finckadd_importlibs(cmbatt ntoskrnl hal battc wmilib)
18*139a3d66SAmine Khaldiadd_pch(cmbatt cmbatt.h "${PCH_SKIP_SOURCE}")
19c2c66affSColin Finckadd_cd_file(TARGET cmbatt DESTINATION reactos/system32/drivers FOR all)
20