conradtchan / starfit

Fit stellar abundance measurements to stellar models
Other
2 stars 0 forks source link

Build test executable #218

Closed conradtchan closed 1 year ago

conradtchan commented 1 year ago

Resolves #216

Allows an executable for the Fortran test to be built independently.

The build target is named fitness_test. Usage (in root starfit directory):

meson setup builddir
cd builddir
meson compile fitness_test

This compiles the executable to builddir/src/starfit/fitness/fitness_test

To "make clean":

meson compile --clean

The test executable is not built by default, i.e. it is not built when building the python package normally, it is only built when calling meson compile with fitness_test as the argument.

2sn commented 1 year ago

@conradtchan fantastic!