- upgrade CMake minimal version; - define three options to give users more control over the build process; - fix Win32 dynamic build by exporting useful functions;
- add install target - add BUILD_TESTING option