As usual while waiting for the next release - don't forget to check the nightly builds in the forum.
target.SetOptionRelation(ortLinkerOptions, 2);
target.SetOptionRelation(ortLinkerOptions, orPrependToParentOptions);target.AddLinkLib(_T("TheLib"));