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
#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++