[Rd] LinkingTo self

Romain Francois romain at r-enthusiasts.com
Mon Feb 3 11:07:40 CET 2014


Hello, 

Shipping header files for a package in inst/include and let other packages use it with LinkingTo is popular. 

Unfortunately for the package itself, we still need to use something like :

PKG_CPPFLAGS+=-I../inst/include/

in the Makevars and Makevars.win files. 

Could this become automatic ? 

So if a package has src/ and inst/include/ can we have it so that a -I flag is set accordingly. 

Would anyone be interested in reviewing a patch against R-devel for such feature ?

Romain



More information about the R-devel mailing list