avs-device-sdk icon indicating copy to clipboard operation
avs-device-sdk copied to clipboard

Feature/ability to build static and shared

Open alexismailov2 opened this issue 3 years ago • 1 comments

The issue in ability to build this project as a bunch of static libraries, and ability to switch off building SampleApp application(for example when libraries only needed).

Added a global option "BUILD_STATIC_LIBS" and in addition "BUILD_SAMPLE_APP" in the SampleApp/CMakeLists.txt. It can be used by passing this options to cmake on generation stage. For example this parameters will produce build system with static library building only and without SampleApp executable. -DBUILD_STATIC_LIBS=ON -DBUILD_SAMPLE_APP=OFF

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

alexismailov2 avatar Dec 23 '20 23:12 alexismailov2

Thank you for the pull request. Our process is to make changes internally and run all test before pushing the change to github in the form of a new release. I have added this to our internal tracking system to be assessed and prioritized.

kclchan avatar Dec 30 '20 20:12 kclchan