Enable pot mode
Enable res mode
Extract release mode
Stop generating private header for version.rc
Extract code to compile resource
Fix a typo
Remove obsolete code
Move function implementation
Move predefined variables
Add --pkg option