Adding warning flags in cmake
Adding high level of compiler warning for any build level. Possible to change it to only debug mode (currently commented).
I think though -pedantic shall be just for Debug but still, -Wall -Wextra set for any build.
Edited by Alban Fichet