Re: [Rcpp-devel] CMakeList.txt for c++ and Rcpp

2016-10-17 Thread Dirk Eddelbuettel
On 17 October 2016 at 11:52, JJ Allaire wrote: | I would just have CMake call R CMD [SHLIB/build/INSTALL/etc.) as an external | tool. R does a tremendous amount behind the scenes to configure the build | environment and you don't really want to try to replicate that. A basic package | need only p

Re: [Rcpp-devel] CMakeList.txt for c++ and Rcpp

2016-10-17 Thread JJ Allaire
I would just have CMake call R CMD [SHLIB/build/INSTALL/etc.) as an external tool. R does a tremendous amount behind the scenes to configure the build environment and you don't really want to try to replicate that. A basic package need only place the cpp files within the "src/" directory and they w

[Rcpp-devel] CMakeList.txt for c++ and Rcpp

2016-10-17 Thread Janez Bindas
I am new at R and i would like to automate my building process with cmake. I searched the internet for an example of CMakeList.txt in which connect C++ and R through Rcpp. I was unable to find that example. Could you please help me. Janez Bindas (janex) ___