vslavik / bakefile

Bakefile makefiles generator
http://bakefile.org
MIT License
143 stars 20 forks source link

vs20xx vcxproj's Lib options does not produce output #19

Open mgruber4 opened 10 years ago

mgruber4 commented 10 years ago

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.

vslavik commented 10 years ago

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

mgruber4 commented 10 years ago

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>
vslavik commented 10 years ago

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