build/cmake: Move all the user controllable options into top-level CMakeLists