Hi,
Is there a way to automatically specify the location of the Rcpp include
directory (for Rcpp.h) in Makevars?
In my Makevars, I use the following compile command:
%.o: %.cpp $(cpp_sources)
$(CXX) $(PKG_CXXFLAGS) $<
I also specified "Imports: Rcpp" in DESCRIPTION, but it does not appear
to automatically add the right flags to the compile command.
I am looking for something that could work similarly to Rscript -e
"Rcpp:::LdFlags()", which used to export the Rcpp library flags.
Any ideas are greatly appreciated!
Thanks!
Lutz
_______________________________________________
Rcpp-devel mailing list
[email protected]
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel