Repository: cordova-docs Updated Branches: refs/heads/master 7a6bc544d -> b61327172
documented the use of <framework type='projectReference'/> for windows8 Project: http://git-wip-us.apache.org/repos/asf/cordova-docs/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-docs/commit/b6132717 Tree: http://git-wip-us.apache.org/repos/asf/cordova-docs/tree/b6132717 Diff: http://git-wip-us.apache.org/repos/asf/cordova-docs/diff/b6132717 Branch: refs/heads/master Commit: b61327172b8ba21818bef5a5eccdd8cfddd42cc4 Parents: 7a6bc54 Author: Jesse MacFadyen <[email protected]> Authored: Wed May 28 11:35:45 2014 -0700 Committer: Jesse MacFadyen <[email protected]> Committed: Wed May 28 11:35:45 2014 -0700 ---------------------------------------------------------------------- docs/en/edge/plugin_ref/spec.md | 3 +++ 1 file changed, 3 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/b6132717/docs/en/edge/plugin_ref/spec.md ---------------------------------------------------------------------- diff --git a/docs/en/edge/plugin_ref/spec.md b/docs/en/edge/plugin_ref/spec.md index 91c7891..5608c8d 100644 --- a/docs/en/edge/plugin_ref/spec.md +++ b/docs/en/edge/plugin_ref/spec.md @@ -513,6 +513,7 @@ Examples: <framework src="libsqlite3.dylib" /> <framework src="social.framework" weak="true" /> <framework src="relative/path/to/my.framework" custom="true" /> + <framework src="path/to/project/LibProj.csproj" custom="true" type="projectReference"/> The `src` attribute identifies the framework, which plugman attempts to add to the Cordova project, in the correct fashion for a given @@ -523,6 +524,8 @@ framework should be weakly linked. The default is `false`. The optional `custom` attribute is a boolean indicating whether the framework is one that is included as part of your plugin files (thus it is not a system framework). The default is `false`. +The optional `type` attribute is a string indicating the type of framework to add. Currently only `projectReference` is supported and only on Windows 8. Using `custom='true'` and `type='projectReference'` will add a reference to the project which will be added to the compile+link steps of the cordova project. This essentially is the only way currently that a 'custom' framework can target multiple architectures as they are explicitly built as a dependency by the referencing cordova application. + ## _info_ Element Additional information provided to users. This is useful when you
