adamsardar / RcppORtools

Rcpp integration for google's ORtools
Mozilla Public License 2.0
0 stars 0 forks source link

Update Makevars to be portable #5

Closed adamsardar closed 5 years ago

adamsardar commented 5 years ago

So as to get going quickly, I hard coded lib and include paths to /opt/ORtools/lib ... gross, I know

Really, we should be using a configure script like RcppMLPACK. This should also enable windows support.

https://github.com/rcppmlpack/RcppMLPACK1 https://github.com/rcppmlpack/rcppmlpack2

adamsardar commented 5 years ago

The example in RcppGSL is probably the best. Small configure.ac, run autoconf - boom

https://github.com/eddelbuettel/rcppgsl