bfe5a052fb49d469422f25aebcc4793bcc118915
[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_target_properties(compbatt PROPERTIES LINK_FLAGS "-Wl,-entry,_DriverEntry@8 -Wl,--image-base,0x00010000 -Wl,--exclude-all-symbols -Wl,--subsystem,native" SUFFIX ".sys")
11
12 add_importlibs(compbatt ntoskrnl hal battc)
13 add_pch(compbatt ${CMAKE_CURRENT_SOURCE_DIR}/compbatt.h ${SOURCE})
14 add_dependencies(compbatt psdk bugcodes)