Air_58Printer/main/CMakeLists.txt

20 lines
475 B
CMake

# 指定引用库的头文件路径,否则会提示找不到头文件
set(srcs
"main.c"
)
set(module_srcs
"module/Printer_run.c"
"module/Printer_bsp.c"
"module/Font24x24ASCII.c"
"module/button.c"
"module/USB/usb_cdc.c"
"module/esp_sleep.c"
)
idf_component_register(SRCS ${srcs} ${module_srcs}
PRIV_REQUIRES spi_flash driver esp_event
INCLUDE_DIRS "."
INCLUDE_DIRS "module")