in build system added options for build library as part of project(without tests and samples)