1# Experimental C++ Component 2 3*Warning:* This component is subject to change without notice. Don't consider it as a stable API. 4It proposes future C++ interfaces of IDF components. 5 6# Usage/Build 7To use and build this component, add it as an extra component in your project's cmake file: 8```cmake 9set(EXTRA_COMPONENT_DIRS $ENV{IDF_PATH}/examples/cxx/experimental/experimental_cpp_component) 10``` 11 12# Tests 13To build the tests, first add them to the unit test's CMakeLists.txt: 14```cmake 15set(EXTRA_COMPONENT_DIRS "$ENV{IDF_PATH}/examples/cxx/experimental/experimental_cpp_component/") 16``` 17Then go to the unit test app's directory and run: 18```bash 19idf.py -T experimental_cpp_component build 20``` 21