]> granicus.if.org Git - esp-idf/commit
cmake: Remove defaults for COMPONENT_SRCDIRS, COMPONENT_SRCS, COMPONENT_ADD_INCLUDEDIRS
authorAngus Gratton <angus@espressif.com>
Fri, 19 Jan 2018 05:22:08 +0000 (16:22 +1100)
committerAngus Gratton <gus@projectgus.com>
Sun, 29 Apr 2018 23:59:20 +0000 (09:59 +1000)
commit4f1a856dbfd752336cd71730105e02ad8c045541
tree31db37a3e207edb76296b27404f199d7e2ba5419
parent3fac2b2ddc333d810d2281b786debe2927784a17
cmake: Remove defaults for COMPONENT_SRCDIRS, COMPONENT_SRCS, COMPONENT_ADD_INCLUDEDIRS

* Philosophical: "explicit is better than implicit".
* Practical: Allows useful errors if invalid directories given in components as the defaults aren't
  always used. Also trims the -I path from a number of components that have no actual include
  directory.
* Simplifies knowing which components will be header-only and which won't
30 files changed:
components/app_trace/CMakeLists.txt
components/app_update/CMakeLists.txt
components/bootloader_support/CMakeLists.txt
components/console/CMakeLists.txt
components/cxx/CMakeLists.txt
components/driver/CMakeLists.txt
components/esp32/CMakeLists.txt
components/esp_adc_cal/CMakeLists.txt
components/ethernet/CMakeLists.txt
components/expat/CMakeLists.txt
components/fatfs/CMakeLists.txt
components/freertos/CMakeLists.txt
components/heap/CMakeLists.txt
components/idf_test/CMakeLists.txt
components/jsmn/CMakeLists.txt
components/json/CMakeLists.txt
components/log/CMakeLists.txt
components/mdns/CMakeLists.txt
components/newlib/CMakeLists.txt
components/nvs_flash/CMakeLists.txt
components/sdmmc/CMakeLists.txt
components/tcpip_adapter/CMakeLists.txt
components/ulp/CMakeLists.txt
components/vfs/CMakeLists.txt
components/wear_levelling/CMakeLists.txt
components/wpa_supplicant/CMakeLists.txt
components/xtensa-debug-module/CMakeLists.txt
examples/protocols/aws_iot/subscribe_publish/CMakeLists.txt
tools/cmake/components.cmake
tools/cmake/utilities.cmake