CMake template for creating C/C++ library, it will generate both static and dynamic library.