The XCDL.py Definitions Reference

From XCDL (eXtensible Component Definition Language) Wiki
Revision as of 20:43, 13 December 2012 by Ilg (Talk | contribs) (Example)

Jump to: navigation, search

Introduction

This page contains reference information for the XCDL definitions option, component, package and interface, followed by various properties like active_if and compile.

The option definition

Purpose

Define a single configuration option.

Syntax

  option = {
     name = "NAME",

     ... children definitions ...

  }

Description

TBD

Example

TBD

component

Purpose

TBD

Syntax

TBD

Description

TBD

Example

TBD

package

Purpose

TBD

Syntax

TBD

Description

TBD

Example

  package = {
    name = "CYGPKG_INFRA",
    display = "Infrastructure",
    description = "Common types and useful macros. Tracing and assertion facilities. Package startup options."
    include_dir = "cyg/infra",
    compile = [ "startup.cpp", "prestart.cpp" ]
  }

Python syntax

  package = {
    "name": "CYGPKG_INFRA",
    "display": "Infrastructure",
    "description": "Common types and useful macros. Tracing and assertion facilities. Package startup options.",
    "include_dir": "cyg/infra",
    "compile": [ "startup.cpp", "prestart.cpp" ]
  }

interface

Purpose

TBD

Syntax

TBD

Description

TBD

Example

TBD