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

Usage explanation #5

Closed
stsdc opened this issue Mar 23, 2020 · 5 comments
Closed

Usage explanation #5

stsdc opened this issue Mar 23, 2020 · 5 comments

Comments

@stsdc
Copy link
Contributor

stsdc commented Mar 23, 2020

Will it be a shared library? Or should I just clone it to my project an and use it as subrepository?

@lcallarec
Copy link
Owner

Honestly, I don't think that kind of library should be system-wide shared.

I think the best option will be to use use git submodules. If your project is built with meson, it's a piece of cake : just build live-chart before your own code and add livechart_dep as dependency for your own project.

@lcallarec
Copy link
Owner

My bad.

Integrate live-charts to a project built with meson is simpler than I though. You don't need to struggle with git submodules.

Instead, there's Meson wrap feature which can fetch any source code from git during build ; then, you can simply use livechart as any Meson subroject. I tested, it works like a charm ;)

@stsdc
Copy link
Contributor Author

stsdc commented Mar 27, 2020

Wow. Didn't knew about this! Will try, thanks!

@stsdc
Copy link
Contributor Author

stsdc commented Apr 2, 2020

It works! Displays same value of cpu usage by process.
obraz

@lcallarec
Copy link
Owner

Wonderful !
Please ask if you need something else.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants