This extends and refactors the original CMake script to make it nicer.
The structure of it is loosely based on that used in bs::framework project.
- Separate the Main SDK build definitions to its own CMakeLists.txt.
Source file lists for each project were also moved to file CMakeSources.cmake,
cataloged based on a folder they're in and the filter definitions for VS were added.
- During build the executable/library artifacts are now stored in
<BUILD_DIR>/<BIN_OR_LIB>/<ARCHITECTURE>/<BUILD_TYPE>. The scripts were
modified to reflect that change.
- Added most of the build flags from the original VS project
with some new one.
- Added some properties to explicitly configure the build environment.
- Add ability to install the libraries for distribution.
- Other small renaming, cleanups and things that I've forgotten.