Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

AddLinkLib to Target in Wizard - prepending policy

<< < (2/2)

oBFusCATed:
You can use one of the enum OptionsRelation names instead of plain 2. It is shown in the docs on the page I've linked.

huycan:
Yes, I know. I was just do a quick test. I use the constant "orPrependToParentOptions" mentioned above. The final code is:

--- Code: ---target.SetOptionRelation(ortLinkerOptions, orPrependToParentOptions);
target.AddLinkLib(_T("TheLib"));

--- End code ---
Anyway, thanks again.

Navigation

[0] Message Index

[*] Previous page

Go to full version