Infer CMAKE_BUILD_TYPE from DEBUG enviroment variable
I'm relatively new to cmake and to custom rust/cargo build scripts so, correct me if I am wrong. Currently this library doesn't observe the DEBUG environment variable. It may be useful to do this in order support release/debug builds via cargo. I'm suggesting that if DEBUG="true" then set CMAKE_BUILD_TYPE="Debug" else if DEBUG="false" set CMAKE_BUILD_TYPE="Release" else don't set CMAKE_BUILD_TYPE.
Ah yeah so right now we infer debug/release based on cargo build vs cargo build --release, but adding and explicit env var seems reasonable to!
Since "DEBUG"(the environment variable) is not a common and standardized variable for these situations, I think cmake(the crate) should not treat it in a special way.
It's not hard as a user to do env!("DEBUG")/option_env!("DEBUG") and then treat that however you want, after which to call cmake_config.profile("[what the user wants]").