blackberry-webworks/BB10-WebWorks-Framework — pull request #22 by nukulb (2012-04-28 12:03:53+00:00)
Title: Common changes for Native Extension

led_ext is the native extension that @pagey that has been prototyping under the led_ext branch. As a part of that change some build scripts were modified to build the native folder under ext/. I have cherry-picked the changes that other extension will need and they have been put here.

Pre-reqs
1. native-sdk is installed and configured. developer/native
2. cmake is installed
3. this change will only work on mac
4. On windows it should have no affect

To test this change-
1. Checkout the led_ext branch
2. copy the ext/blackberry.led/native folder and put it into a temporary location outside your git repo.
3. checkout the native-ext branch
4. Copy the ext/blackberry.led/native into any extension like ext/blackberry.app. So that ext/blackberry.app/native exists
5. Once you copied the extension return to the root of the project and call jake

Expected result
Under the ext/blackberry.app two new folders are created called -simulator and device. Each of these folders contains few files but also contains .so file