Warning Level

add parameter for warning level to cmake