summaryrefslogtreecommitdiff
path: root/scripts/bin2coff.c
AgeCommit message (Collapse)Author
2018-08-10Fix typo in bin2coff script.Tor Andersson
2018-07-17Squash MSVC warnings in bin2coff.Robin Watts
2018-06-12Fix MSVC build issues.Robin Watts
When updating from VS2005 to VS2017, the .rules mechanism is converted to a .props based scheme. This is not entirely equivalent, and so causes problems with our "build both 32 and 64bit resources" scheme. Instead, we amend the flag handling in bin2coff so that it will accept "Win32" and "x64" as flags. These can then be driven easily from the project files, giving us a "more standard" way of working. Also, remove some stray fonts that had crept into the resources build.
2018-06-11Use bin2coff to generate font data blobs object files.Tor Andersson
This is the windows equivalent of objcopy or ld -r binary. We need different bin2coff font object files for 32 and 64 bit builds, so put the font object files in AdditionalDependencies. Revamp Windows builds to use bin2coff. Fix bin2coff to not use '-' in symbol names. Add a new project file to make bin2coff. Add a .rules file to tell MSVC how to call the built version of bin2coff. Update libresources build to use this rules file. Update noto.c to correctly find the symbols we make.