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

Add ability to build without Qt interface (library only) #6

Closed
Civil opened this issue Mar 30, 2015 · 4 comments
Closed

Add ability to build without Qt interface (library only) #6

Civil opened this issue Mar 30, 2015 · 4 comments

Comments

@Civil
Copy link

Civil commented Mar 30, 2015

It can be useful to have a library, so it'll be a lot easier to write custom interfaces (CLI one, gtk one, etc).

@whoozle
Copy link
Owner

whoozle commented Mar 30, 2015

There's static library (called mtp-ng) with no dependencies besides libusb-1.0.
Just added option whether to build qt application or not
a82a353

it could be set via cmake -DBUILD_QT_UI=OFF or directly in CMakeCache.txt

@Civil
Copy link
Author

Civil commented Mar 30, 2015

And what about dynamic library?

@whoozle
Copy link
Owner

whoozle commented Mar 30, 2015

added BUILD_SHARED_LIB option :)

@Civil
Copy link
Author

Civil commented Mar 31, 2015

Thanks!

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