<font face="arial,helvetica,sans-serif">We wrote one for RStudio, not sure if it will fully meet your needs but it's at least a starting point:</font><div><font face="arial,helvetica,sans-serif"><br></font></div><div><a href="https://github.com/rstudio/rstudio/blob/master/cmake/modules/FindLibR.cmake">https://github.com/rstudio/rstudio/blob/master/cmake/modules/FindLibR.cmake</a><font face="arial,helvetica,sans-serif"><br>
</font><br><div class="gmail_quote">On Fri, Dec 14, 2012 at 11:51 AM, Richard Downe <span dir="ltr"><<a href="mailto:richard-downe@uiowa.edu" target="_blank">richard-downe@uiowa.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
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.<br>
<br>
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.<br>
<br>
R is the only library I use at the moment that lacks this.  I was wondering if<br>
a) any other rcpp user has ever taken the time to write such a thing and/or<br>
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.<br>
<br>
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.<br>

-rd<br>
______________________________<u></u>_________________<br>
Rcpp-devel mailing list<br>
<a href="mailto:Rcpp-devel@lists.r-forge.r-project.org" target="_blank">Rcpp-devel@lists.r-forge.r-<u></u>project.org</a><br>
<a href="https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel" target="_blank">https://lists.r-forge.r-<u></u>project.org/cgi-bin/mailman/<u></u>listinfo/rcpp-devel</a><br>
</blockquote></div><br></div>