khanat-opennel-code/code/nel/samples/3d/cegui/datafiles/layouts/GUILayout.xsd
StudioEtrange 91e6b23d3f ** PCH Support for NMake with VS2012
NMAKE-VS2012 Error LNK2011
while NMAKE-VS2010 does not complain
we need to link the pch.obj file
see http://msdn.microsoft.com/en-us/library/3ay26wa2(v=vs.110).aspx

** PCH Support for Ninja
Ninja need to add property
        OBJECT_DEPENDS for using PCH
        OBJECT_OUTPUTS for create PCH
see http://public.kitware.com/pipermail/cmake-developers/2012-March/003653.html
2013-09-05 17:18:01 +02:00

63 lines
2.6 KiB
XML

<?xml version="1.0"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
<xsd:element name="GUILayout" type="GUILayoutType"/>
<xsd:complexType name="GUILayoutType">
<xsd:sequence>
<xsd:element name="Window" type="WindowType" />
</xsd:sequence>
<xsd:attribute name="Parent" type="xsd:string" use="optional" default=""/>
</xsd:complexType>
<xsd:complexType name="WindowType">
<xsd:sequence>
<xsd:element name="LayoutImport" type="LayoutImportType" minOccurs="0" maxOccurs="unbounded" />
<xsd:element name="Property" type="PropertyType" minOccurs="0" maxOccurs="unbounded" />
<xsd:element name="Event" type="EventType" minOccurs="0" maxOccurs="unbounded" />
<xsd:choice minOccurs="0" maxOccurs="unbounded">
<xsd:element name="Window" type="WindowType" />
<xsd:element name="AutoWindow" type="AutoWindowType" />
</xsd:choice>
<xsd:element name="Property" type="PropertyType" minOccurs="0" maxOccurs="unbounded" />
</xsd:sequence>
<xsd:attribute name="Type" type="xsd:string" use="required"/>
<xsd:attribute name="Name" type="xsd:string" use="optional" default="" />
</xsd:complexType>
<xsd:complexType name="AutoWindowType">
<xsd:sequence>
<xsd:element name="LayoutImport" type="LayoutImportType" minOccurs="0" maxOccurs="unbounded" />
<xsd:element name="Property" type="PropertyType" minOccurs="0" maxOccurs="unbounded" />
<xsd:element name="Event" type="EventType" minOccurs="0" maxOccurs="unbounded" />
<xsd:choice minOccurs="0" maxOccurs="unbounded">
<xsd:element name="Window" type="WindowType" />
<xsd:element name="AutoWindow" type="AutoWindowType" />
</xsd:choice>
<xsd:element name="Property" type="PropertyType" minOccurs="0" maxOccurs="unbounded" />
</xsd:sequence>
<xsd:attribute name="NameSuffix" type="xsd:string" use="required"/>
</xsd:complexType>
<xsd:complexType name="PropertyType">
<xsd:simpleContent>
<xsd:extension base="xsd:string">
<xsd:attribute name="Name" type="xsd:string" use="required"/>
<xsd:attribute name="Value" type="xsd:string" use="optional"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<xsd:complexType name="LayoutImportType">
<xsd:attribute name="Filename" type="xsd:string" use="required"/>
<xsd:attribute name="Prefix" type="xsd:string" use="optional" default="" />
<xsd:attribute name="ResourceGroup" type="xsd:string" use="optional" default="" />
</xsd:complexType>
<xsd:complexType name="EventType">
<xsd:attribute name="Name" type="xsd:string" use="required"/>
<xsd:attribute name="Function" type="xsd:string" use="required"/>
</xsd:complexType>
</xsd:schema>