# Candera Device Packages

#### <a class="anchor" id="bkmrk--1"></a>Supported Device Packages

[Candera](http://dev.doc.cgistudio.at/APILINK/namespace_candera.html "[DataBinding_RefTypeSample]") provides device implementations for following device types:

<div class="contents" id="bkmrk-name-description-pos"><div class="contents"><div class="textblock"><table border="1" cellpadding="5" cellspacing="0" style="border-collapse: collapse; width: 800px; height: 59.5938px; border-width: 1px; border-spacing: 0px;" width="900"><tbody><tr bgcolor="#d4d4d4" style="height: 29.7969px;"><th style="height: 29.7969px; border-width: 1px; padding: 5px;">**Name**</th><th style="height: 29.7969px; border-width: 1px; padding: 5px;">**Description**</th><th style="height: 29.7969px; border-width: 1px; padding: 5px;">**Possible values**</th></tr><tr style="height: 29.7969px;"><td style="height: 29.7969px; border-width: 1px; padding: 5px;">Other proprietary devices</td><td style="height: 29.7969px; border-width: 1px; padding: 5px;">Can be provided upon special request</td><td style="height: 29.7969px; border-width: 1px; padding: 5px;">ON/OFF</td></tr></tbody></table>

</div></div></div><div class="contents" id="bkmrk--0"><div class="contents"><div class="textblock">---

</div></div></div>#### <a class="anchor" id="bkmrk--2"></a>Device-Specific CMake Settings

<div class="contents" id="bkmrk-name-description-pos-0"><div class="contents"><div class="textblock"><table border="1" cellpadding="5" cellspacing="0" style="border-collapse: collapse; width: 800px; height: 369.14px; border-width: 1px; border-spacing: 0px;" width="900"><tbody><tr bgcolor="#d4d4d4" style="height: 29.7969px;"><th style="height: 29.7969px; border-width: 1px; padding: 5px;">**Name**</th><th style="height: 29.7969px; border-width: 1px; padding: 5px;">**Description**</th><th style="height: 29.7969px; border-width: 1px; padding: 5px;">**Possible values**</th></tr><tr style="height: 102.578px;"><td style="height: 102.578px; border-width: 1px; padding: 5px;">CGIDEVICE\_NAME</td><td style="height: 102.578px; border-width: 1px; padding: 5px;">The name of the device package</td><td style="height: 102.578px; border-width: 1px; padding: 5px;">Each device package following the [Candera](http://dev.doc.cgistudio.at/APILINK/namespace_candera.html "[DataBinding_RefTypeSample]") device CMake rules provided in the folder &lt;CANDERA\_SRC&gt;/CanderaPlatform/Device</td></tr><tr style="height: 29.7969px;"><td style="height: 29.7969px; border-width: 1px; padding: 5px;">CGIDEVICE\_TARGET\_BUILD</td><td style="height: 29.7969px; border-width: 1px; padding: 5px;">Enable or disable building for target</td><td style="height: 29.7969px; border-width: 1px; padding: 5px;">ON/OFF</td></tr><tr style="height: 80.1875px;"><td style="height: 80.1875px; border-width: 1px; padding: 5px;">CGISTUDIO\_PATH\_3RD\_PARTY</td><td style="height: 80.1875px; border-width: 1px; padding: 5px;">Path to the 3rd party repository location</td><td style="height: 80.1875px; border-width: 1px; padding: 5px;">A string value containing the system file location of 3rd party software, auto-detected by finding possible locations of the name "\[ic01\_\]cgi\_studio\_3psw"</td></tr><tr style="height: 63.3906px;"><td style="height: 63.3906px; border-width: 1px; padding: 5px;">CGIDEVICE\_TARGET\_  
&lt;CGIDEVICE\_NAME&gt;  
\_DRIVER\_PATH\_INCLUDE</td><td style="height: 63.3906px; border-width: 1px; padding: 5px;">If you don't use the default driver path, the path to the driver include directory can be changed with this setting.</td><td style="height: 63.3906px; border-width: 1px; padding: 5px;">Path to driver include directory (by default set to include directory in 3rd party repository)</td></tr><tr style="height: 63.3906px;"><td style="height: 63.3906px; border-width: 1px; padding: 5px;">CGIDEVICE\_TARGET\_  
&lt;CGIDEVICE\_NAME&gt;  
\_DRIVER\_PATH\_LIB</td><td style="height: 63.3906px; border-width: 1px; padding: 5px;">If you don't use the default driver path, the path to the driver library directory can be changed with this setting.</td><td style="height: 63.3906px; border-width: 1px; padding: 5px;">Path to driver library directory (by default set to library directory in 3rd party repository)</td></tr></tbody></table>

</div></div></div>  
To build a certain device package selected it from the drop-down list of the CMake property **"CGIDEVICE\_NAME"**:

For each device package, either building OpenGL based host simulation or target binaries can be selected via the Boolean CMake property ***"CGIDEVICE\_TARGET\_BUILD"***.

The following table illustrates configurations available for the supported device package:

<div class="contents" id="bkmrk-cgidevice_name-cgide"><div class="contents"><div class="textblock"><table border="1" cellpadding="5" cellspacing="0" style="border-collapse: collapse; width: 800px; border-width: 1px; border-spacing: 0px;" width="900"><tbody><tr bgcolor="#d4d4d4"><th style="border-width: 1px; padding: 5px;">CGIDEVICE\_NAME</th><th style="border-width: 1px; padding: 5px;">CGIDEVICE\_TARGET\_BUILD</th><th style="border-width: 1px; padding: 5px;">PUB\_CGI\_CPU</th><th style="border-width: 1px; padding: 5px;">PUB\_CGI\_OS</th><th style="border-width: 1px; padding: 5px;">Default driver path following  
&lt;CGISTUDIO\_PATH\_3RD\_PARTY&gt;  
/\[src/lib\]/</th></tr></tbody></table>

</div></div></div>The CMake properties "PUB\_CGI\_CPU", "PUB\_CGI\_OS" usually cannot be configured via the CMake user interface, but are autonomously detected by  
the build system. The same applies for the variable "PUB\_CGI\_COMPILER".

If you don't use the CGI Studio 3rd party software folder structure, the driver paths can be specified in the variables

<div class="contents" id="bkmrk-cgidevice_target_%3Ccg"><div class="contents"><div class="textblock">- CGIDEVICE\_TARGET\_&lt;CGIDEVICE\_NAME&gt;\_DRIVER\_PATH\_INCLUDE and
- CGIDEVICE\_TARGET\_&lt;CGIDEVICE\_NAME &gt;\_DRIVER\_PATH\_LIB

</div></div></div>Depending on these properties, either MS Visual Studio solutions or Unix makefiles will be generated into the specified build  
directory.