Commit Graph

2 Commits

Author SHA1 Message Date
Marius Vikhammer
d9652880db fix(build-system/example): Updated dead URL for downloading tinyxml2
The import_lib example contained a fallback mirror for downloading tinyxml2 sources
but this link was dead. If this mirror was used it would cause the build to fail.
2023-12-04 14:28:52 +08:00
Ivan Grokhotkov
b2e129fe4f
examples: import_lib: demonstrate ExternalProject_Add
Many of the more complicated CMake projects can't be added to the IDF
build system simply by calling add_subdirectory.
"add_subdirectory" also cannot be used with projects which use build
systems other than CMake (for example GNU Make or cargo).
This commit changes the example to use ExternalProject_Add, instead,
which is a more general way of adding subprojects.
As part of this change, tinyxml2 is now downloaded from the Internet,
which allows removing one submodule.
2022-07-12 15:00:10 +02:00