File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
examples/cxx/custom_vocabulary_types Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -32,12 +32,13 @@ In addition to use the `std::optional` and `std::expected` with the iceoryx2 C++
3232bindings, it is also possible to use custom implementations of these types.
3333
3434> [ !NOTE]
35- > The custom implementations must be API compatible with the STL counterparts.
35+ > The custom implementations must be API compatible with the STL counterparts
36+ > and must not depend on iceoryx2-bb-cxx to avoid a circular dependency!
3637
3738To integrate the custom vocabulary types into iceoryx2, a CMake target for the
3839` Expected ` and ` Optional ` must be created.
3940
40- Please have a look at the
41+ Take a look at the
4142[ custom-vocabulary-types] ( ../../examples/cxx/custom-vocabulary-types ) example
4243as a blueprint to create a CMake package with the required files.
4344
Original file line number Diff line number Diff line change @@ -15,9 +15,9 @@ cmake --build target/ff/cc/custom_vocabulary_types
1515cmake --install target/ff/cc/custom_vocabulary_types --prefix target/ff/cc/install
1616```
1717
18- Now, iceoryx2 needs to be build with the custom vocabulary types:
18+ Now, iceoryx2 needs to be built with the custom vocabulary types:
1919
20- ```
20+ ``` console
2121cargo build --package iceoryx2-ffi-c
2222cmake -S . \
2323 -B target/ff/cc/build \
You can’t perform that action at this time.
0 commit comments