bakefile icon indicating copy to clipboard operation
bakefile copied to clipboard

vs20xx vcxproj's Lib options does not produce output

Open mgruber4 opened this issue 11 years ago • 3 comments

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.

mgruber4 avatar Dec 20 '13 13:12 mgruber4

That's because the node in vcxproj files is named <Link>, not <Lib>.

vslavik avatar Dec 20 '13 13:12 vslavik

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>

mgruber4 avatar Dec 20 '13 15:12 mgruber4

I see. My bad - it's not used or needed much, then, as I didn't see it yet.

vslavik avatar Dec 20 '13 16:12 vslavik