[cmake] add option to save compiler's temporary files
This change adds a SAVE_TEMPORARY_FILES
option to cmake build, this option sets the gcc
's -save-temps
option (keeping preprocessed files etc.).
I used that functionality to review !37 (closed) (to check for regressions in preprocessed code).