Add options to enable all compiler warnings and to treat compiler warnings as errors
I would like to be able enable these compiler behaviors independently and in a portable way:
- Enable all compiler warnings
- Treat compiler warnings as errors
The current situation is that I must have conditional blocks in order to support all compilers which should be CMake's concern, not mine.