A default template for BlackBerry PlayBook projects
C++
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Media/Icons
Source
.gitignore
CHANGE_LOG
LICENSE
README

README

###############################################################################
#                                       BlackBerry PlayBook Template [README] #
###############################################################################

############
# Contents #
############
[1] - Overview
[2] - Usage

###############################################################################
#                                                              [1] - Overview #
###############################################################################
This template project is intended for BlackBerry PlayBook native developers who
prefer to use the command line over an IDE.  In creating this template, it is
the author's hope to alleviate headaches that occur from creating and deploying
projects on the PlayBook platform (and possibly BB10).

###############################################################################
#                                                                 [2] - Usage #
###############################################################################
By default, it is assumed all source files will be in:
<Project Directory>/Source/Source
and headers in:
<Project Directory>/Source/Headers
Binaries will be placed in:
<Project Directory>/Bin
Object files will be placed in:
<Project Directory>/Obj
As there is an icon required for PlayBook programs, it is located in:
<Project Directory>/Media/Icons

As media files are program specific, the only media file shall be the icon file
which is the GNOME terminal icon.

To make your project, place your source and header files in their respective
directories, then chage directory into:
<Project Directory>/Source
and run:
$ make <debug|release|profile>

To just deploy your project to your PlayBook:
$ make <debug|release|profile> deploy

If you wish to launch the project use:
$ make <debug|release|profile> launch

To debug your project using ntoarm-gdb, run:
$ make <debug|release|profile> gdb
which will automatically launch the debugger and attach to the running process.

If you have already launched your program, you may either attach via running
the aforementioned command or using:
$ ntoarm-gdb -command=gdbrun
Assuming you are still in the <Project Directory>/Source directory.

This project template is only for creating runnable executables, it is not for
static or dynamic libraries.  With minor modification, this should be fairly
trivial to achieve.  There shall be other template projects created for such
purposes in the near-future and available via this GitHub account.

To get the latest revision of this template, use:
git pull https://github.com/El-Rico/PlayBook_Template.git