The Native SDK file structure
The BlackBerry 10 Native SDK is organized into host and target areas on your development host or development computer.
- Host-related
- Includes all your libraries, executables, etc., that are designed to run on your host system, or development computer. Separate folders are available based on the operating system you use for your development computer (Windows, Linux, or Mac OS). For example, if you use Windows, you will find your libraries and executables under win32.
- Target-related
- Includes all components that are specific to the target, including the target_override folders, which replace libraries and other files on the target when necessary. There are two targets: the x86 target to run your apps on a simulator, and the armle-v7 target to run on a BlackBerry 10 device.
The QNX_HOST environment variable identifies the directory that holds the host-related components:
On a Windows development host, for example, the QNX_HOST environment variable would be \bbndk-10.0.9\host\win32\x86. The following folders might be of interest to you.
| Contents | Location |
|---|---|
| Command-line utilities | $QNX_HOST/usr/bin |
| System header files | $QNX_TARGET/usr/include |
| QNX Momentics IDE | $QNX_TARGET/qde/eclipse |
| System header files | $QNX_TARGET/usr/include |
The QNX_TARGET environment variable identifies the directory that holds the target-related components:
The QNX Momentics IDE uses these environment variables to locate files on the host machine:
- QNX_CONFIGURATION
- The location of the configuration files and licenses for QNX Momentics.
- MAKEFLAGS
- The location of included *.mk files.
Here are the folders where some of the key components are installed:
| Component | Location |
|---|---|
| Shared libraries on the target | $QNX_TARGET/ platform /lib |
| System header files for the target | $QNX_TARGET/usr/include |