[Rcpp-devel] LinkingTo: again

Romain François francoisromain at free.fr
Sun Dec 13 20:06:20 CET 2009


Hi,

Coming back to this previous discussion.

Can we deploy the header files in the installed "include" directory of 
Rcpp, so that a package can use LinkingTo: Rcpp and have the include 
directory magically added to the -I paths.

I do this with parser and highlight, and it works fine : highlight uses 
parser.h which lives in the include directory of parser.

So I have :

#include <parser.h>

in my C code.

and

LinkingTo: parser

in highlight's DESCRIPTION

Romain


-- 
Romain Francois
Professional R Enthusiast
+33(0) 6 28 91 30 30
http://romainfrancois.blog.free.fr
|- http://tr.im/HlX9 : new package : bibtex
|- http://tr.im/Gq7i : ohloh
`- http://tr.im/FtUu : new package : highlight



More information about the Rcpp-devel mailing list