Skip to content
Back to formatted view

Raw Message

Message-ID: <19921.46634.248704.518439@max.nulle.part>
Date: 2011-05-16T23:41:30Z
From: Dirk Eddelbuettel
Subject: [Rcpp-devel] Re-using C++ code from a package with modules and defining linker flags using Rscript
In-Reply-To: <BANLkTi=K7azUx6rvyJ9w4A2+b0J_XaC_Rw@mail.gmail.com>

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