For completeness sake, if you ever want to get that info at run time, you can use the constants in uniit LCLPlatformDef. This function, for example, returns a string with the Lazarus version (taken from unit LazVersion) and widgetset for, say, an "about box":
uses
LCLPlatformDef, LazVersion;
const
sLazVers = '%d.%d.%d (%s)'; {version (widgetset)}
function LazarusInfo: String;
var
platform: String;
begin
platform := LCLPlatformDisplayNames[GetBuildLCLWidgetType];
Result := Format(sLazVers,
[laz_major, laz_minor, laz_release, platform]);
end;
Note, though, that
GetBuildLCLWidgetType() will tell you the widgetset for which Lazarus itself was built which, while also the default it uses to build your apps, might not coincide if, for example, you're cross-compiling to some other target.