It is possible to obtain values of project variables and make them available via constants. Note that there are local project settings exist and values from there must override default ones.