Acknowledged
CIQQA-4127

Add device identifier variable to Monkey Jungle

It would be very helpful if Monkey Jungle provided a built-in variable for the target device identifier (e.g. fr255, fenix7) during the build process. Currently, device-specific handling often requires defining paths per device. Introducing a predefined variable such as $(device) that resolves to the current target device would enable dynamic inclusion of device-specific directories in source and resource paths and remove the need to define paths separately for each device.

For example:

base.sourcePath=somedirectory/$(device)
Parents Comment Children
  • But by default it already looks for source-$device/ , what am I missing?

    Sorry to be that guy (again), but I don't think it does.

    The compiler looks under resources-"$device"/ for a given device build (where $device is the CIQ device ID), in addition to the default resources/ folder, any applicable device-related family paths (e.g. resources-round-260x260), and the applicable resource paths with language modifiers (e.g. resources-round-260x260-eng).

    None of that stuff applies to source files. Actually, by default, all files named *.mc anywhere in the project (not just under source/) will be included in the build.

    You can verify all of that by:

    - reading the docs

    - trying it out

    - looking at default.jungle in the SDK bin/ folder