able to read and write settings to cmake