mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
8 lines
400 B
Markdown
8 lines
400 B
Markdown
|
# C++ build test
|
||
|
|
||
|
This build-only app can be used to check if certain headers, macros or features can be successfully compiled in a C++ source file.
|
||
|
|
||
|
To add a new test, create a new file `main/test_<name>.cpp` and add it to main/CMakeLists.txt.
|
||
|
|
||
|
If you need to check specific compiler flags, use `set_source_files_properties` CMake function to adjust the compilation flags for the given source file.
|