avs-device-sdk
avs-device-sdk copied to clipboard
Feature/ability to build static and shared
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.
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.