OF App versioning

Hello,

I’m using vs2022 on Windows plateform.
I would like to be able to display my OF app product/file version in an about dialog.
I have a .rc in my VS solution but it seems that reading the file version at run time from the compiled exe needs Windows only win32 libs.
So, how could i manage a cross plateform product/file versioning ?
The compiled binary should have the version stored inside and the version should be able to be displayed in the app.

Thanks for your help !

Eviral