Logo
Explore Help
Sign In
espressif/esp-idf
1
0
Fork 1
You've already forked esp-idf
mirror of https://github.com/espressif/esp-idf.git synced 2025-11-08 11:01:43 +01:00
Code Issues Packages Projects Releases Wiki Activity
Files
bb766355b51fd2f90b6b52f5b7307292db935725
esp-idf/components/json/CMakeLists.txt

9 lines
198 B
CMake
Raw Normal View History

cmake: make main a component again
2018-09-11 09:44:12 +08:00
set(COMPONENT_SRCS "cJSON/cJSON.c"
"cJSON/cJSON_Utils.c"
"cJSON/test.c")
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
2018-01-19 16:22:08 +11:00
set(COMPONENT_ADD_INCLUDEDIRS cJSON)
build system: Initial cmake support, work in progress
2018-01-12 13:49:13 +11:00
cmake: Add component dependency support Components should set the COMPONENT_REQUIRES & COMPONENT_PRIVATE_REQUIRES variables to define their requirements.
2018-03-22 17:27:10 +11:00
set(COMPONENT_REQUIRES "")
build system: Initial cmake support, work in progress
2018-01-12 13:49:13 +11:00
register_component()
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 40ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API