Set a default CMAKE_BUILD_TYPE instead of explicitly forcing -On/-g
flags. The correct value of build type automatically sets appropriate
flags, while also providing a clean interface for overriding them.
Default to 'Release' in main and transcode projects, and to 'Debug'
in tests.
Also remove CMAKE_BUILTTYPE which looks like a typo.
Set a default CMAKE_BUILD_TYPE instead of explicitly forcing -On/-g flags. The correct value of build type automatically sets appropriate flags, while also providing a clean interface for overriding them. Default to 'Release' in main and transcode projects, and to 'Debug' in tests.
Also remove CMAKE_BUILTTYPE which looks like a typo.