Enable conditional compilation
- Mar 17, 2023
-
-
Sebastian Müller authored
-
Sebastian Müller authored07cd88eb
-
Sebastian Müller authoredc8033f41
-
Sebastian Müller authored22c5cd30
-
Closes #36 (closed)
With this MR we added the capability of conditional compilation. Two cmake options were added, that are enabled by default:
-DFORCES_WITH_OPTIMIZATION=[ON|OFF]
: include all modules used for optimization (sce, mcmc, anneal, dds, errormeasures, likelihood, opt_functions, cost, optimization_types, optimization_utils)-DFORCES_WITH_NETCDF=[ON|OFF]
: include all modules using NetCDF (netcdf, ncwrite, ncread)
mo_mcmc
throws an error if you want to have a tmp_file
written out.