bakefile
bakefile copied to clipboard
vs20xx vcxproj's Lib options does not produce output
When creating a static library, the following command:
vs2012.option.Lib.TargetMachine = "MachineX86";
does not produces any output. No Lib tag is generated inside the vcxproj, although the bkl.exe tool accepts the line without problems.
That's because the node in vcxproj files is named <Link>
, not <Lib>
.
Sorry if I disagree. Opening the VS2012 IDE, selecting a static library, then Properties --> Librarian --> General and then edit the Target Machine Property and selecting MachineX86 (/MACHINE:X86) option will produce the following output inside .vcxproj:
<Lib>
<TargetMachine>MachineX86</TargetMachine>
</Lib>
I see. My bad - it's not used or needed much, then, as I didn't see it yet.