25 lines
589 B
CMake
25 lines
589 B
CMake
|
# Additional clean files
|
||
|
cmake_minimum_required(VERSION 3.16)
|
||
|
|
||
|
if("${CONFIG}" STREQUAL "" OR "${CONFIG}" STREQUAL "")
|
||
|
file(REMOVE_RECURSE
|
||
|
"bootloader/bootloader.bin"
|
||
|
"bootloader/bootloader.elf"
|
||
|
"bootloader/bootloader.map"
|
||
|
"config/sdkconfig.cmake"
|
||
|
"config/sdkconfig.h"
|
||
|
"esp-idf/esptool_py/flasher_args.json.in"
|
||
|
"esp-idf/mbedtls/x509_crt_bundle"
|
||
|
"fast_led.bin"
|
||
|
"fast_led.map"
|
||
|
"flash_app_args"
|
||
|
"flash_bootloader_args"
|
||
|
"flash_project_args"
|
||
|
"flasher_args.json"
|
||
|
"ldgen_libraries"
|
||
|
"ldgen_libraries.in"
|
||
|
"project_elf_src_esp32.c"
|
||
|
"x509_crt_bundle.S"
|
||
|
)
|
||
|
endif()
|