Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to get lunasvg version number? #45

Open
vomikan opened this issue May 28, 2021 · 2 comments
Open

How to get lunasvg version number? #45

vomikan opened this issue May 28, 2021 · 2 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@vomikan
Copy link

vomikan commented May 28, 2021

The About dialog in the app displays a summary of the products used. How to get lunasvg version number?

MMEX is using the following support products:
• wxWidgets 3.1.5 (wxMSW 10.0)
• wxSQLite3 4.6.0 (SQLite 3.31.1)
• RapidJSON 1.1.0
• Lua 5.3.5
• lunasvg 
• libcurl/7.61.1-DEV WinSSL
• gettext 0.21
• apexcharts.js

Thanks

@sammycage sammycage added the question Further information is requested label May 28, 2021
@sammycage
Copy link
Owner

The version number can be found here

project(lunasvg VERSION 2.0.1 LANGUAGES CXX C)
But the problem is how to get it programmatically.

My plan is to implement a class called Environment that will contain all the necessary information such as the version, dpi, view Dimensions etc

Example

static const std::string& Environment::version();

@mxdamien
Copy link

Hi !

Instead of adding a static environment class maybe use CMAKE to create a version info header?

See: #59

regards,

David

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants