Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Replace mode=static with CMake's BUILD_SHARED_LIBS flag #99
CMake already has a flag for controlling static/shared builds, so let's use that instead: https://cmake.org/cmake/help/latest/variable/BUILD_SHARED_LIBS.html
Also made it an option so it's exposed to the CMake GUI and customizable by users.