[Rcpp-devel] Re-using C++ code from a package with modules and defining linker flags using Rscript

Dirk Eddelbuettel edd at debian.org
Tue May 17 01:41:30 CEST 2011

Hi Jelmer,

On 16 May 2011 at 21:47, Jelmer Ypma wrote:
| yes, this makes sense, thanks. I originally added the CxxFlags(),
| because one of the packages I'm linking to defines where to find the
| Boost headers, but I see that it's not needed in all cases.

Yes, sure, there can be many reasons to have PKG_CXXFLAGS. External
dependencies may be one.

But with your correct LinkingTo: usage, you do not need to set your own include
files via a CxxFlags() function.  

Glad you have it all working.

Cheers, Dirk

Gauss once played himself in a zero-sum game and won $50.
                      -- #11 at http://www.gaussfacts.com

More information about the Rcpp-devel mailing list