RangeShifter / RScore

RangeShifter's core simulation code
GNU General Public License v3.0
0 stars 0 forks source link

Deploy CMake for batch version #15

Closed TheoPannetier closed 6 months ago

TheoPannetier commented 9 months ago

A few changes to enable building the batch version with CMake (https://github.com/RangeShifter/RangeShifter_batch_dev/issues/15). I do not expect it to disrupt building RangeShiftR, but please do signal if it does and I will search for a workaround.

I also removed a bunch of unused macro blocks, e.g. VCL and BATCH.

JetteReeg commented 6 months ago

Hi Theo, I found a solution to add the RS_CPP macro already when compiling RScore by adding the flag -DRS_RCPP in Makevars.win: PKG_CXXFLAGS = -DRSWIN64 -w -DRS_RCPP I would still like to test if this is also working on Linux machines. I will have access to a linux OS on Mon. After that we could merge cmake_batch into develop.