Created
September 1, 2014 08:50
-
-
Save MarkVillacampa/eafdb0a81c0b9c953256 to your computer and use it in GitHub Desktop.
Motion-coderunner: use bridge support from an arbitrary header file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
header_file = "mach-o/dyld.h" | |
bridgesupport_file = "#{header_file.tr('/', '_').chomp('.h')}.bridgesupport" | |
system("/usr/bin/gen_bridge_metadata --format complete --64-bit --cflags -I/usr/include #{header_file} > #{bridgesupport_file}") | |
bs_frameworks << " --uses-bs #{File.join(Dir.pwd, bridgesupport_file)}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment