Skip to content

Document bridgesupport_cflags option for vendored xcode projects #25

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions guides/project-management/index.txt
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ Here is a table summarizing project types and key/value objects.
| +:configuration+ | Name of the configuration to build. If not provided, +"Release"+ will be used.
| +:headers_dir+ | Path to the directory that contains public headers files, declaring APIs that will be used by the RubyMotion project. The path should be relative to the path provided to +vendor_project+, for example +"Sources/Headers"+. This key is optional.
| +:products+ | An +Array+ containing the names of products to use in the RubyMotion project, for example +["libfoo.a"]+. This key can be used when the project builds more than one product and you want to filter what will be used by the app. If not provided, all +.a+ libraries built will be used.
| +:bridgesupport_cflags+ | +CFLAGS+ to use when generating the http://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man5/BridgeSupport.5.html[BridgeSupport] file for the vendored project using http://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man1/gen_bridge_metadata.1.html[gen_bridge_metadata]. This key is optional.
.3+| +:static+ | +:products+ | An +Array+ containing the names of static libraries to use. The default value is the list of all '.a' files in the vendor project directory.
| +:source_files+ | An +Array+ of all source files and headers to compile. The default value is the list of all files in the vendor project directory matching +$$"**/*.{c,m,cpp,cxx,mm,h}"$$+.
| +:cflags+ | +CFLAGS+ to use for compilation, for example +"-fobjc-arc"+ to turn on ARC. This key is optional.
Expand Down