Added support for the IS_ROOT_PROJECT_FILE variable.
Added global variables OPTIONS and GENERATOR.