Closed TheoPannetier closed 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.
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.
add_library
command can only add files in the same folder.include "Version.h"
conditional onRS_RCPP
. Thanks to CMake, the batch version does not need to (and cannot) keep a Version script to enable the macros.I also removed a bunch of unused macro blocks, e.g. VCL and BATCH.