Skip to content
This repository was archived by the owner on Jan 19, 2021. It is now read-only.

Commit d021b4d

Browse files
Added Android support.
1 parent 78855e2 commit d021b4d

File tree

2 files changed

+116
-0
lines changed

2 files changed

+116
-0
lines changed

KopiLua.Android.sln

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 11.00
3+
# Visual Studio 2010
4+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "KopiLua.Android", "KopiLua\KopiLua.Android.csproj", "{15166620-0EDC-4F70-8551-590818DF7C67}"
5+
EndProject
6+
Global
7+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
8+
Debug|Any CPU = Debug|Any CPU
9+
Release|Any CPU = Release|Any CPU
10+
EndGlobalSection
11+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
12+
{15166620-0EDC-4F70-8551-590818DF7C67}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
13+
{15166620-0EDC-4F70-8551-590818DF7C67}.Debug|Any CPU.Build.0 = Debug|Any CPU
14+
{15166620-0EDC-4F70-8551-590818DF7C67}.Release|Any CPU.ActiveCfg = Release|Any CPU
15+
{15166620-0EDC-4F70-8551-590818DF7C67}.Release|Any CPU.Build.0 = Release|Any CPU
16+
EndGlobalSection
17+
GlobalSection(MonoDevelopProperties) = preSolution
18+
StartupItem = KopiLua\KopiLua.Android.csproj
19+
EndGlobalSection
20+
EndGlobal

KopiLua/KopiLua.Android.csproj

+96
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<PropertyGroup>
4+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
5+
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
6+
<ProductVersion>10.0.0</ProductVersion>
7+
<SchemaVersion>2.0</SchemaVersion>
8+
<ProjectGuid>{15166620-0EDC-4F70-8551-590818DF7C67}</ProjectGuid>
9+
<ProjectTypeGuids>{EFBA0AD7-5A72-4C68-AF49-83D382785DCF};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
10+
<OutputType>Library</OutputType>
11+
<RootNamespace>KopiLua.Android</RootNamespace>
12+
<AndroidResgenFile>Resources\Resource.designer.cs</AndroidResgenFile>
13+
<AndroidResgenClass>Resource</AndroidResgenClass>
14+
<MonoAndroidResourcePrefix>Resources</MonoAndroidResourcePrefix>
15+
<MonoAndroidAssetsPrefix>Assets</MonoAndroidAssetsPrefix>
16+
<AndroidUseLatestPlatformSdk>True</AndroidUseLatestPlatformSdk>
17+
<AssemblyName>KopiLua.Android</AssemblyName>
18+
<TargetFrameworkVersion>v4.0.3</TargetFrameworkVersion>
19+
<SignAssembly>true</SignAssembly>
20+
<AssemblyOriginatorKeyFile>key.snk</AssemblyOriginatorKeyFile>
21+
</PropertyGroup>
22+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
23+
<DebugSymbols>true</DebugSymbols>
24+
<DebugType>full</DebugType>
25+
<Optimize>false</Optimize>
26+
<OutputPath>bin\Debug</OutputPath>
27+
<DefineConstants>TRACE;DEBUG;LUA_CORE;CATCH_EXCEPTIONS</DefineConstants>
28+
<ErrorReport>prompt</ErrorReport>
29+
<WarningLevel>4</WarningLevel>
30+
<AndroidLinkMode>None</AndroidLinkMode>
31+
<ConsolePause>false</ConsolePause>
32+
</PropertyGroup>
33+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
34+
<Optimize>true</Optimize>
35+
<OutputPath>bin\Release</OutputPath>
36+
<ErrorReport>prompt</ErrorReport>
37+
<WarningLevel>4</WarningLevel>
38+
<AndroidUseSharedRuntime>false</AndroidUseSharedRuntime>
39+
<ConsolePause>false</ConsolePause>
40+
<DefineConstants>TRACE;LUA_CORE;CATCH_EXCEPTIONS</DefineConstants>
41+
</PropertyGroup>
42+
<ItemGroup>
43+
<Reference Include="System" />
44+
<Reference Include="System.Xml" />
45+
<Reference Include="System.Core" />
46+
<Reference Include="Mono.Android" />
47+
</ItemGroup>
48+
<Import Project="$(MSBuildExtensionsPath)\Novell\Novell.MonoDroid.CSharp.targets" />
49+
<ItemGroup>
50+
<Folder Include="Properties\" />
51+
<Folder Include="src\" />
52+
</ItemGroup>
53+
<ItemGroup>
54+
<Compile Include="Properties\AssemblyInfo_KopiLua.cs" />
55+
<Compile Include="src\CharPtr.cs" />
56+
<Compile Include="src\LuaDebug.cs" />
57+
<Compile Include="src\LuaState.cs" />
58+
<Compile Include="src\LuaTag.cs" />
59+
<Compile Include="src\lapi.cs" />
60+
<Compile Include="src\lauxlib.cs" />
61+
<Compile Include="src\lbaselib.cs" />
62+
<Compile Include="src\lcode.cs" />
63+
<Compile Include="src\ldblib.cs" />
64+
<Compile Include="src\ldebug.cs" />
65+
<Compile Include="src\ldo.cs" />
66+
<Compile Include="src\ldump.cs" />
67+
<Compile Include="src\lfunc.cs" />
68+
<Compile Include="src\lgc.cs" />
69+
<Compile Include="src\linit.cs" />
70+
<Compile Include="src\liolib.cs" />
71+
<Compile Include="src\llex.cs" />
72+
<Compile Include="src\llimits.cs" />
73+
<Compile Include="src\lmathlib.cs" />
74+
<Compile Include="src\lmem.cs" />
75+
<Compile Include="src\lnet.cs" />
76+
<Compile Include="src\loadlib.cs" />
77+
<Compile Include="src\lobject.cs" />
78+
<Compile Include="src\lopcodes.cs" />
79+
<Compile Include="src\loslib.cs" />
80+
<Compile Include="src\lparser.cs" />
81+
<Compile Include="src\lstate.cs" />
82+
<Compile Include="src\lstring.cs" />
83+
<Compile Include="src\lstrlib.cs" />
84+
<Compile Include="src\ltable.cs" />
85+
<Compile Include="src\ltablib.cs" />
86+
<Compile Include="src\ltm.cs" />
87+
<Compile Include="src\lua.cs" />
88+
<Compile Include="src\luaconf.cs" />
89+
<Compile Include="src\lualib.cs" />
90+
<Compile Include="src\lundump.cs" />
91+
<Compile Include="src\lvm.cs" />
92+
<Compile Include="src\lzio.cs" />
93+
<Compile Include="src\print.cs" />
94+
<Compile Include="src\printf\Tools.cs" />
95+
</ItemGroup>
96+
</Project>

0 commit comments

Comments
 (0)