[Rcpp-devel] cmake

Richard Downe richard-downe at uiowa.edu
Fri Dec 14 20:57:06 CET 2012


That actually looks rather perfect.
Thanks!
-rd

On 12/14/2012 01:54 PM, JJ Allaire wrote:
> We wrote one for RStudio, not sure if it will fully meet your needs 
> but it's at least a starting point:
>
> https://github.com/rstudio/rstudio/blob/master/cmake/modules/FindLibR.cmake
>
> On Fri, Dec 14, 2012 at 11:51 AM, Richard Downe 
> <richard-downe at uiowa.edu <mailto:richard-downe at uiowa.edu>> wrote:
>
>     I use cmake for all my makefile generation.  I realize there are
>     other good tools out there; cmake meets my needs rather well, and
>     I'm happy with it.
>
>     Most libraries I use in my development (cgal, python, perl, swig,
>     vtk/itk, etc) are supported by FindXXX.cmake files that make
>     dependency location/comprehension trivial.
>
>     R is the only library I use at the moment that lacks this.  I was
>     wondering if
>     a) any other rcpp user has ever taken the time to write such a
>     thing and/or
>     b) if there are other cmake users out there who might be
>     interested in seeing a FindR.cmake/FindRcpp.cmake combination to
>     make building rcpp based modules with other dependencies simpler.
>
>     I realize this falls outside the standard build methods for R (I
>     use a perl script for my 'configure' file, and have this script
>     invoke cmake on my behalf), but I still find it rather useful, and
>     thought others might as well.
>     -rd
>     _______________________________________________
>     Rcpp-devel mailing list
>     Rcpp-devel at lists.r-forge.r-project.org
>     <mailto:Rcpp-devel at lists.r-forge.r-project.org>
>     https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20121214/3b846369/attachment.html>


More information about the Rcpp-devel mailing list