mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
9ae01e40b5
Doubles as a test app that building with assertions off doesn't produce warnings. Closes https://github.com/espressif/esp-idf/issues/6306 |
||
---|---|---|
.. | ||
main | ||
check_for_file_paths.py | ||
CMakeLists.txt | ||
README.md | ||
sdkconfig.ci.noasserts | ||
sdkconfig.ci.noasserts.nimble | ||
sdkconfig.ci.silentasserts | ||
sdkconfig.ci.silentasserts.nimble |
No Embedded Paths
This test app exists to verify that paths (like FILE) are not compiled into any object files in configurations where this should be avoided.
It doubles up as a build-time check that disabling assertions doesn't lead to any warnings.
(These configurations include: assertions disabled, 'silent' asserts, any reproducible builds configuration.)
Not embedding paths reduces the binary size, avoids leaking information about the compilation environment, and is a necessary step to supporet reproducible builds across projects built in different directories.