Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
v8simple.uxl
<Extensions Backend="CPlusPlus" Condition="Android || (CMake && HOST_OSX) || MSVC12">
<Define V8_CPP />
<Template Name="V8Simple">
<Require Condition="Android" LinkDirectory="@('lib/Android':Path)" />
<Require Condition="Android" JNI.SharedLibrary="@('lib/Android/libV8Simple.so':Path)" />
<Require Condition="CMake && HOST_OSX" LinkDirectory="@('lib/OSX':Path)" />
<Require Condition="MSVC12" LinkDirectory="@('lib/Windows/$(PlatformShortName)':Path)" />
<CopyFile Condition="MSVC12" Name="@('lib/Windows/x86/V8Simple.dll':Path)" TargetName="bin/Win32/Debug/V8Simple.dll" />
<CopyFile Condition="MSVC12" Name="@('lib/Windows/x86/V8Simple.dll':Path)" TargetName="bin/Win32/Release/V8Simple.dll" />
<CopyFile Condition="MSVC12" Name="@('lib/Windows/x64/V8Simple.dll':Path)" TargetName="bin/x64/Debug/V8Simple.dll" />
<CopyFile Condition="MSVC12" Name="@('lib/Windows/x64/V8Simple.dll':Path)" TargetName="bin/x64/Release/V8Simple.dll" />
<Require IncludeDirectory="@('.':Path)" />
<Require LinkLibrary="V8Simple" />
</Template>
<Template Name="V8Proxy">
<Require Entity="Fuse.Scripting.V8.Simple.MessageHandler.Handle(Fuse.Scripting.V8.Simple.String)" />
<Require Entity="Fuse.Scripting.V8.Simple.Callback.Call(Fuse.Scripting.V8.Simple.UniqueValueVector)" />
<Require Entity="Fuse.Scripting.V8.Simple.Callback.Retain()" />
<Require Entity="Fuse.Scripting.V8.Simple.Callback.Release()" />
<Require Entity="Fuse.Scripting.V8.Simple.ScriptException(Fuse.Scripting.V8.Simple.ScriptExceptionImpl)" />
<Require Entity="Fuse.Scripting.V8.Simple.ScriptExceptionHandler.Handle(Fuse.Scripting.V8.Simple.ScriptException)" />
<Require Entity="Fuse.Scripting.V8.Simple.Value(Fuse.Scripting.V8.Simple.ValueImpl)" />
<Require Entity="Fuse.Scripting.V8.Simple.UniqueValueVector(Fuse.Scripting.V8.Simple.UniqueValueVectorImpl, bool)" />
<Require Entity="Fuse.Scripting.V8.Simple.String(Fuse.Scripting.V8.Simple.ValueImpl)" />
<ProcessFile HeaderFile="V8Proxy.h" />
<ProcessFile SourceFile="V8Proxy.cpp" />
</Template>
<Type Name="Fuse.Scripting.V8.Simple.ContextImpl"
TypeName="::V8Simple::Context*"
Include="include/V8Simple.h">
<Require Template="V8Simple" />
</Type>
<Type Name="Fuse.Scripting.V8.Simple.Context"
Include="@{Fuse.Scripting.V8.Simple.ContextImpl:Include}" />
<Type Name="Fuse.Scripting.V8.Simple.ScriptExceptionImpl"
TypeName="::V8Simple::ScriptException*"
Include="include/V8Simple.h">
<Require Template="V8Simple" />
</Type>
<Type Name="Fuse.Scripting.V8.Simple.ScriptException"
Include="@{Fuse.Scripting.V8.Simple.ScriptExceptionImpl:Include}" />
<Type Name="Fuse.Scripting.V8.Simple.ValueImpl"
TypeName="::V8Simple::Value*"
DefaultValue="NULL"
Include="include/V8Simple.h">
<Require Template="V8Simple" />
</Type>
<Type Name="Fuse.Scripting.V8.Simple.Value"
Include="@{Fuse.Scripting.V8.Simple.ValueImpl:Include}" />
<Type Name="Fuse.Scripting.V8.Simple.ObjectImpl"
TypeName="::V8Simple::Object*"
DefaultValue="NULL"
Include="include/V8Simple.h">
<Require Template="V8Simple" />
</Type>
<Type Name="Fuse.Scripting.V8.Simple.Object"
Include="@{Fuse.Scripting.V8.Simple.ObjectImpl:Include}">
<Require Source.Include="vector" />
</Type>
<Type Name="Fuse.Scripting.V8.Simple.FunctionImpl"
TypeName="::V8Simple::Function*"
DefaultValue="NULL"
Include="include/V8Simple.h">
<Require Template="V8Simple" />
</Type>
<Type Name="Fuse.Scripting.V8.Simple.Function"
Include="@{Fuse.Scripting.V8.Simple.FunctionImpl:Include}">
<Require Source.Include="vector" />
</Type>
<Type Name="Fuse.Scripting.V8.Simple.ArrayImpl"
TypeName="::V8Simple::Array*"
DefaultValue="NULL"
Include="include/V8Simple.h" >
<Require Template="V8Simple" />
</Type>
<Type Name="Fuse.Scripting.V8.Simple.Array">
<Require Header.Include="@{Fuse.Scripting.V8.Simple.ArrayImpl:Include}" />
</Type>
<Type Name="Fuse.Scripting.V8.Simple.IntImpl"
TypeName="::V8Simple::Int*"
DefaultValue="NULL"
Include="include/V8Simple.h">
<Require Template="V8Simple" />
</Type>
<Type Name="Fuse.Scripting.V8.Simple.Int"
Include="@{Fuse.Scripting.V8.Simple.IntImpl:Include}" />
<Type Name="Fuse.Scripting.V8.Simple.DoubleImpl"
TypeName="::V8Simple::Double*"
DefaultValue="NULL"
Include="include/V8Simple.h">
<Require Template="V8Simple" />
</Type>
<Type Name="Fuse.Scripting.V8.Simple.Double"
Include="@{Fuse.Scripting.V8.Simple.DoubleImpl:Include}" />
<Type Name="Fuse.Scripting.V8.Simple.StringImpl"
TypeName="::V8Simple::String*"
DefaultValue="NULL"
Include="include/V8Simple.h">
<Require Template="V8Simple" />
</Type>
<Type Name="Fuse.Scripting.V8.Simple.String"
Include="@{Fuse.Scripting.V8.Simple.StringImpl:Include}" />
<Type Name="Fuse.Scripting.V8.Simple.BoolImpl"
TypeName="::V8Simple::Bool*"
DefaultValue="NULL"
Include="include/V8Simple.h">
<Require Template="V8Simple" />
</Type>
<Type Name="Fuse.Scripting.V8.Simple.Bool"
Include="@{Fuse.Scripting.V8.Simple.BoolImpl:Include}" />
<Type Name="Fuse.Scripting.V8.Simple.CallbackImpl"
TypeName="::V8Simple::CallbackProxy*"
DefaultValue="NULL"
Include="include/V8Simple.h">
<Require Template="V8Simple" />
</Type>
<Type Name="Fuse.Scripting.V8.Simple.Callback">
<Require Header.Declaration="namespace V8Simple { class CallbackProxy; }" />
<Require Source.Include="V8Proxy.h" />
<Require Template="V8Proxy" />
</Type>
<Type Name="Fuse.Scripting.V8.Simple.UniqueValueVectorImpl"
TypeName="::V8Simple::UniqueValueVector*"
DefaultValue="NULL"
Include="include/V8Simple.h">
<Require Template="V8Simple" />
</Type>
<Type Name="Fuse.Scripting.V8.Simple.UniqueValueVector"
Include="@{Fuse.Scripting.V8.Simple.UniqueValueVectorImpl:Include}" />
<Type Name="Fuse.Scripting.V8.Simple.MessageHandlerImpl"
TypeName="::V8Simple::MessageHandlerProxy*"
DefaultValue="NULL"
Include="include/V8Simple.h">
<Require Template="V8Simple" />
</Type>
<Type Name="Fuse.Scripting.V8.Simple.MessageHandler">
<Require Header.Declaration="namespace V8Simple { class MessageHandlerProxy; }" />
<Require Source.Include="V8Proxy.h" />
<Require Template="V8Proxy" />
</Type>
<Type Name="Fuse.Scripting.V8.Simple.ScriptExceptionHandlerImpl"
TypeName="::V8Simple::ScriptExceptionHandlerProxy*"
DefaultValue="NULL"
Include="include/V8Simple.h">
<Require Template="V8Simple" />
</Type>
<Type Name="Fuse.Scripting.V8.Simple.ScriptExceptionHandler">
<Require Header.Declaration="namespace V8Simple { class ScriptExceptionHandlerProxy; }" />
<Require Source.Include="V8Proxy.h" />
<Require Template="V8Proxy" />
</Type>
</Extensions>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment