forked from mia/Aegisub
9492192b73
In preparation for switching to LuaJIT, which doesn't support PUC Lua's thing of using C++ exceptions for lua_error. Requires replacing all uses of lua_error (and things calling lua_error) with custom versions that throw an exception instead and adding an exception -> lua error wrapper at all C++ -> Lua boundaries.
44 lines
1.7 KiB
XML
44 lines
1.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<PropertyGroup Label="Globals">
|
|
<ProjectGuid>{A7A30702-8162-4E1A-A010-EF51B590C121}</ProjectGuid>
|
|
<RootNamespace>luabins</RootNamespace>
|
|
</PropertyGroup>
|
|
|
|
<!-- Aegisub project configuration -->
|
|
<PropertyGroup Label="AegisubConfiguration">
|
|
<AegisubProjectType>lib</AegisubProjectType>
|
|
<SrcDir>..\..\vendor\luabins\src\</SrcDir>
|
|
</PropertyGroup>
|
|
<ImportGroup Label="PropertySheets">
|
|
<Import Project="$(MSBuildThisFileDirectory)..\aegisub.props" />
|
|
</ImportGroup>
|
|
|
|
<!-- Project specific configuration -->
|
|
<ItemDefinitionGroup>
|
|
<ClCompile>
|
|
<PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
<AdditionalIncludeDirectories>$(SrcDir)..\..\lua51\src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
</ClCompile>
|
|
</ItemDefinitionGroup>
|
|
|
|
<!-- Source files -->
|
|
<ItemGroup>
|
|
<ClCompile Include="$(SrcDir)fwrite.c" />
|
|
<ClCompile Include="$(SrcDir)load.c" />
|
|
<ClCompile Include="$(SrcDir)luabins.c" />
|
|
<ClCompile Include="$(SrcDir)luainternals.c" />
|
|
<ClCompile Include="$(SrcDir)save.c" />
|
|
<ClCompile Include="$(SrcDir)savebuffer.c" />
|
|
<ClCompile Include="$(SrcDir)write.c" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ClInclude Include="$(SrcDir)fwrite.h" />
|
|
<ClInclude Include="$(SrcDir)luabins.h" />
|
|
<ClInclude Include="$(SrcDir)luaheaders.h" />
|
|
<ClInclude Include="$(SrcDir)luainternals.h" />
|
|
<ClInclude Include="$(SrcDir)savebuffer.h" />
|
|
<ClInclude Include="$(SrcDir)saveload.h" />
|
|
<ClInclude Include="$(SrcDir)write.h" />
|
|
</ItemGroup>
|
|
</Project>
|