[Rcpp-devel] cmake
JJ Allaire
jj.allaire at gmail.com
Fri Dec 14 20:54:14 CET 2012
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>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<Rcpp-devel at lists.r-forge.r-project.org>
> https://lists.r-forge.r-**project.org/cgi-bin/mailman/**
> listinfo/rcpp-devel<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/e69ccc7e/attachment.html>
More information about the Rcpp-devel
mailing list