# main/05_executors/adc_battery_monitor/module.cmake # 判断 menuconfig 中的开关 if(NOT CONFIG_ENABLE_EXEC_ADC_BATTERY_MONITOR AND NOT EARLY_EXPANSION) message(STATUS " [Skip] adc_battery_monitor module disabled by menuconfig.") return() endif() list(APPEND MODULE_SRCS "05_executors/adc_battery_monitor/adc_battery_monitor.cc" ) list(APPEND MODULE_INCLUDE_DIRS "05_executors/adc_battery_monitor" )