summaryrefslogtreecommitdiff
path: root/platform/win32/bin2coff.rules
AgeCommit message (Collapse)Author
2018-09-25Fix bin2coff rules to allow project directories with spaces in them.Tor Andersson
Such as the Windows XP "C:\Documents and Settings\" user directories.
2018-08-10Tweak hexdumped data to increase build portability.Tor Andersson
Follow bin2coff layout for hexdumped data instead of trying to emulate the objcopy layout (which seems to break for the android tools). Only use the basename of the resource in hexdump / bin2coff. Ifdef on HAVE_OBJCOPY instead of _WIN32.
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.