]> granicus.if.org Git - esp-idf/commit
cmake: Generate list of components with dependent items first, use deterministic...
authorAngus Gratton <angus@espressif.com>
Fri, 31 Aug 2018 03:56:03 +0000 (11:56 +0800)
committerAngus Gratton <gus@projectgus.com>
Fri, 31 Aug 2018 04:29:13 +0000 (12:29 +0800)
commitc921f141281e070beba05a09fe18d43dec446c02
tree20690b4fffe13c60dd02ec795cf38276cc427dad
parent5fbfd20f10c10ff1fe23a9ff0dcb3f3705a3c0ba
cmake: Generate list of components with dependent items first, use deterministic ordering

Guarantees that a component's project_include.cmake will be called after its dependent components'
project_include.cmake. Because of cycles in the dependency graph, this is less useful than you'd
think but it gives a strong guarantee for any component which is not part of a cycle.

Also applies deterministic ordering (ordering is initialised as COMPONENT_REQUIRES_COMMON then all
COMPONENTS in alphabetical order, but then the sorting by dependencies is applied.)
docs/en/api-guides/build-system-cmake.rst
tools/cmake/project.cmake
tools/cmake/scripts/expand_requirements.cmake