esa / pagmo2

A C++ platform to perform parallel computations of optimisation tasks (global and local) via the asynchronous generalized island model.
https://esa.github.io/pagmo2/
GNU General Public License v3.0
804 stars 159 forks source link

[FEATURE] PAGMO_VERSION #539

Closed jschueller closed 1 year ago

jschueller commented 1 year ago

could we have a #define PAGMO_VERSION 201900 somewhere like boost ? it would allow to conditionnally use new algos or stuff

bluescarni commented 1 year ago

@jschueller The major/minor/patch version numbers are available here:

https://github.com/esa/pagmo2/blob/master/config.hpp.in

(note that this is a template file that is used by CMake to generate a config.hpp with the correct numbers inside)

Would you need something more?

jschueller commented 1 year ago

oh I did not see those, sorry