Logo
Explore Help
Sign In
feedc0de/esp-idf
1
0
Fork 0
You've already forked esp-idf
forked from espressif/esp-idf
Code Pull Requests Activity
Files
f9bed53ea23f4f06e71ea068dd69b730a4e9f5fa
esp-idf/components/cxx/CMakeLists.txt

12 lines
255 B
CMake
Raw Normal View History

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_SRCDIRS ".")
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()
target_link_libraries(cxx stdc++)
target_link_libraries(cxx "-u __cxa_guard_dummy")
if(NOT CONFIG_CXX_EXCEPTIONS)
cmake: Use cmake_lint project, tidy up all CMake source files
2018-02-27 15:45:30 +11:00
target_link_libraries(cxx "-u __cxx_fatal_exception")
build system: Initial cmake support, work in progress
2018-01-12 13:49:13 +11:00
endif()
Copy Permalink
Powered by Gitea Version: 1.24.3 Page: 27ms 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