Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

PROG_CXXFLAGS= $(ADAM_CXXFLAGS)

PROG_CXXFLAGS+= -fno-rtti

PROG_CXXFLAGS+=

PROG_CXXFLAGS is a variable for setting C++ compiling option.
If developers need the unique C++ compiling option for AdamApp, please describe value.
By the way, DO NOT delete pre-set value $(ADAM_CXXFLAGS).

...

Generate and place files

(1) Generate and place external data files for AdamApp 用外部データファイルの作成と配置AdamApp から Read/Write したいファイルがある場合は、skeleton

Create and place the file under skeleton_sample_app/data ディレクトリ
以下に、作成・配置してください。なお、data ディレクトリ以下に配置されたファイルは、AdamApp
パッケージ作成時に、AdamApp パッケージの中に一緒に含められます。このため、AdamApp が実行
時には、AdamApp から data ディレクトリに配置されたファイルにアクセスすることができます。

(2) スクリプトファイルの作成と配置

AdamApp は、インストール時(直後)、アップデート時(直後)、アンインストール時(直前) に、指定されたスクリプトを実行する機能を持っています。それぞれの時に、実行したいスクリプトが あれば、skeletondirectory if you need to read and write on the files (e.g., parameters of threshold). The files placed under the data directory will be included in the AdamApp package. You can access these files when AdamApp is executed.

(2) Generate and place script files

AdamApp has a function to execute specified script right after its installation and update or right
before its uninstallation. Place the script that you want to execute on each occasion under
skeleton_sample_app/setup. skeleton_sample_app/setup ディレクトリに配置してください。もし、実行したいスクリプト がなければ、配置する必要はありません。directory can be empty if you do not have a
specific script that you want to execute.

(3) コンフィギュレーションファイルの作成コンフィギュレーションファイルのフォーマットに示す記載方法に従って、コンフィギュレーションファイルを作成し、configuration.txt という ファイル名で、skeleton_sample_app/ディレクトリ直下に配置してください。Generate configuration file

Follow the procedure indicated in the here★link★ to create a configuration file. Place the file under skeleton_sample_app/ directory by the name of configuration.text.

(4) 設定値ファイルの作成AdamApp で、設定値管理機能を用いる場合は、「App Preference Function Guide」★に従って、設定 値管理ファイルを作成し、appPrefs.json というファイル名で、skeletonGenerate preferences file

Please refer to “App Preference Function Guide” to create setting value control file when using setting
value control function. Place the file under skeleton_sample_app/ ディレクトリ直 下に配置してください。

...

directory by the name of
appPref.json.

Building AdamApp & generate package

AdamApp に必要なファイルの作成と配置が完了したら、AdamApp のビルドとパッケージ作成を行いま
す。具体的には、(1)AdamApp の実行環境に対応する設定ファイルを読み込み、(2)make の実行、を実施し
ます。
詳しい手順について、これ以降で説明します。

...