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