I’m trying to figure out how to properly include the excellent RxCpp header only library.
I noticed that there is a C_INCLUDES I could add the source to but no corresponding CPP_INCLUDES. I’ve also tried many permutations of CMake add_subdirectory
and target_include_directories
to no avail. Could anyone point me in the right direction?
I’m not sure I really understand what you’re asking, but perhaps this will help.
In the readme file, the example they give, starts with:
Add Rx/v2/src
to the include paths
![lines from bytes](https://camo.githubusercontent.com/5ea251c6a0e22d1e2dd91d238040784bfad412a8746d626146a63245162412b4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f626c6f67253230706f73742d6c696e657325323066726f6d25323062797465732d626c75652e7376673f7374796c653d666c61742d737175617265)
#include “rxcpp/rx.hpp”
Did you (or the compiler) find the rx.hpp file?
Well I’m not sure where to include it for the compiler. I added the rxcpp path to C_INCLUDES and the gcc compiler picked it up just fine but it obviously didn’t compile since it’s a hpp(cpp header). So I’m at a loss for what env var libDaisy wants that will in up in the -I
of g++