Compartilhar via


RELEASETYPE (Compact 2013)

3/26/2014

This macro definition sets two flags: RELEASEDIR and RELEASELIBDIR, which specify which output directory to place binaries and libraries in after they are built.

The default value builds the binaries and libraries for the target device and places them in the %SG_OUTPUT_ROOT%\Oak directory.

The following table shows the other values for RELEASETYPE.

Value

Description

Location of generated binaries

Location of generated libraries

OAK

For core OS components that will be rebuilt.

You cannot ship these components.

%SG_OUTPUT_ROOT%\Oak\Target\%_TGTCPU%

%SG_OUTPUT_ROOT%\Oak\Lib\%_TGTCPU%

SDK

For components that will be included in an exported software development kit (SDK).

%SG_OUTPUT_ROOT%\Oak\Target\%_TGTCPU%

%SG_OUTPUT_ROOT%\Sdk\Lib\%_TGTCPU%

DDK

For components that will be included in an exported device driver kit (DDK).

%SG_OUTPUT_ROOT%\Oak\Target\%_TGTCPU%

%SG_OUTPUT_ROOT%\Ddk\Lib\%_TGTCPU%

PLATFORM

For code inside platform-specific projects.

Current OS design as specified by _TGTPLAT

Current OS design as specified by _TGTPLAT

LOCAL

For building components that are not publicly available.

Local object directory

Local object directory

CUSTOM

For specifying the exact object directory location.

Ee479028.note(en-us,WinEmbedded.80).gifNote:
If you want to set this value, manually set it in the associated project sources file.

If you want to build for different CPUs, qualify the path based on the CPU.

Value specified in TARGETPATH

Value specified in TARGETPATH

MANAGED

For managed code.

%SG_OUTPUT_ROOT%\Oak\Target\Managed

%SG_OUTPUT_ROOT%\Oak\Lib\Managed

Windows Embedded Compact Test Kit (CTK)

For Windows Embedded Compact Test Kit (CTK) debugging and testing.

Ee479028.note(en-us,WinEmbedded.80).gifNote:
This value turns off compiler optimizations and should not be used in a released product.

%SG_OUTPUT_ROOT%\Oak\Target\%_TGTCPU%

%SG_OUTPUT_ROOT%\Oak\Lib\%_TGTCPU%

See Also

Concepts

Sources File