mirror of https://github.com/odrling/Aegisub
332 lines
14 KiB
XML
332 lines
14 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>{5391A8B1-9C70-4DC4-92AD-D3E34C6B803F}</ProjectGuid>
|
||
|
<RootNamespace>luajit</RootNamespace>
|
||
|
</PropertyGroup>
|
||
|
|
||
|
<!-- Aegisub project configuration -->
|
||
|
<PropertyGroup Label="AegisubConfiguration">
|
||
|
<AegisubProjectType>lib</AegisubProjectType>
|
||
|
<SrcDir>..\..\vendor\luajit\</SrcDir>
|
||
|
</PropertyGroup>
|
||
|
<ImportGroup Label="PropertySheets">
|
||
|
<Import Project="$(MSBuildThisFileDirectory)..\aegisub.props" />
|
||
|
</ImportGroup>
|
||
|
|
||
|
<!-- Project specific configuration -->
|
||
|
<ItemDefinitionGroup>
|
||
|
<ClCompile>
|
||
|
<PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||
|
<AdditionalIncludeDirectories>$(AegisubObjectDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||
|
</ClCompile>
|
||
|
</ItemDefinitionGroup>
|
||
|
|
||
|
<!-- BuildVM stuff -->
|
||
|
<PropertyGroup>
|
||
|
<BuildVMCommand>$(AegisubBinaryDir)luajit-buildvm$(AegisubPlatformSuffix)</BuildVMCommand>
|
||
|
<AllLib>lib_base.c lib_math.c lib_bit.c lib_string.c lib_table.c lib_io.c lib_os.c lib_package.c lib_debug.c lib_jit.c lib_ffi.c</AllLib>
|
||
|
</PropertyGroup>
|
||
|
|
||
|
<Target
|
||
|
Name="BuildVM" BeforeTargets="ClCompile" DependsOnTargets="PrepareForBuild"
|
||
|
Inputs="$(SrcDir)src\lib_base.c;$(SrcDir)src\lib_math.c;$(SrcDir)src\lib_bit.c;$(SrcDir)src\lib_string.c;$(SrcDir)src\lib_table.c;$(SrcDir)src\lib_io.c;$(SrcDir)src\lib_os.c;$(SrcDir)src\lib_package.c;$(SrcDir)src\lib_debug.c;$(SrcDir)src\lib_jit.c;$(SrcDir)src\lib_ffi.c;$(SrcDir)src\lj_opt_fold.c"
|
||
|
Outputs="$(AegisubObjectDir)lj_bcdef.h;$(AegisubObjectDir)lj_vm.obj"
|
||
|
>
|
||
|
<Exec Command="$(BuildVMCommand) -m peobj -o lj_vm.obj" WorkingDirectory="$(AegisubObjectDir)" />
|
||
|
<Exec Command="$(BuildVMCommand) -m bcdef -o $(AegisubObjectDir)lj_bcdef.h $(AllLib)" WorkingDirectory="$(SrcDir)src" />
|
||
|
<Exec Command="$(BuildVMCommand) -m ffdef -o $(AegisubObjectDir)lj_ffdef.h $(AllLib)" WorkingDirectory="$(SrcDir)src" />
|
||
|
<Exec Command="$(BuildVMCommand) -m libdef -o $(AegisubObjectDir)lj_libdef.h $(AllLib)" WorkingDirectory="$(SrcDir)src" />
|
||
|
<Exec Command="$(BuildVMCommand) -m recdef -o $(AegisubObjectDir)lj_recdef.h $(AllLib)" WorkingDirectory="$(SrcDir)src" />
|
||
|
<Exec Command="$(BuildVMCommand) -m folddef -o $(AegisubObjectDir)lj_folddef.h lj_opt_fold.c" WorkingDirectory="$(SrcDir)src" />
|
||
|
</Target>
|
||
|
|
||
|
<!-- Source files -->
|
||
|
<ItemGroup>
|
||
|
<InstallHeader Include="$(SrcDir)\include\*.h" />
|
||
|
</ItemGroup>
|
||
|
|
||
|
<ItemGroup>
|
||
|
<ClCompile Include="$(SrcDir)src\ljamalg.c" />
|
||
|
<ClCompile Include="$(SrcDir)src\lib_aux.c">
|
||
|
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||
|
</ClCompile>
|
||
|
<ClCompile Include="$(SrcDir)src\lib_base.c">
|
||
|
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||
|
</ClCompile>
|
||
|
<ClCompile Include="$(SrcDir)src\lib_bit.c">
|
||
|
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||
|
</ClCompile>
|
||
|
<ClCompile Include="$(SrcDir)src\lib_debug.c">
|
||
|
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||
|
</ClCompile>
|
||
|
<ClCompile Include="$(SrcDir)src\lib_ffi.c">
|
||
|
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||
|
</ClCompile>
|
||
|
<ClCompile Include="$(SrcDir)src\lib_init.c">
|
||
|
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||
|
</ClCompile>
|
||
|
<ClCompile Include="$(SrcDir)src\lib_io.c">
|
||
|
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||
|
</ClCompile>
|
||
|
<ClCompile Include="$(SrcDir)src\lib_jit.c">
|
||
|
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||
|
</ClCompile>
|
||
|
<ClCompile Include="$(SrcDir)src\lib_math.c">
|
||
|
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||
|
</ClCompile>
|
||
|
<ClCompile Include="$(SrcDir)src\lib_os.c">
|
||
|
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||
|
</ClCompile>
|
||
|
<ClCompile Include="$(SrcDir)src\lib_package.c">
|
||
|
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||
|
</ClCompile>
|
||
|
<ClCompile Include="$(SrcDir)src\lib_string.c">
|
||
|
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||
|
</ClCompile>
|
||
|
<ClCompile Include="$(SrcDir)src\lib_table.c">
|
||
|
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||
|
</ClCompile>
|
||
|
<ClCompile Include="$(SrcDir)src\lj_alloc.c">
|
||
|
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||
|
</ClCompile>
|
||
|
<ClCompile Include="$(SrcDir)src\lj_api.c">
|
||
|
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||
|
</ClCompile>
|
||
|
<ClCompile Include="$(SrcDir)src\lj_asm.c">
|
||
|
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||
|
</ClCompile>
|
||
|
<ClCompile Include="$(SrcDir)src\lj_bc.c">
|
||
|
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||
|
</ClCompile>
|
||
|
<ClCompile Include="$(SrcDir)src\lj_bcread.c">
|
||
|
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||
|
</ClCompile>
|
||
|
<ClCompile Include="$(SrcDir)src\lj_bcwrite.c">
|
||
|
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||
|
</ClCompile>
|
||
|
<ClCompile Include="$(SrcDir)src\lj_carith.c">
|
||
|
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||
|
</ClCompile>
|
||
|
<ClCompile Include="$(SrcDir)src\lj_ccall.c">
|
||
|
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||
|
</ClCompile>
|
||
|
<ClCompile Include="$(SrcDir)src\lj_ccallback.c">
|
||
|
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||
|
</ClCompile>
|
||
|
<ClCompile Include="$(SrcDir)src\lj_cconv.c">
|
||
|
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||
|
</ClCompile>
|
||
|
<ClCompile Include="$(SrcDir)src\lj_cdata.c">
|
||
|
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||
|
</ClCompile>
|
||
|
<ClCompile Include="$(SrcDir)src\lj_char.c">
|
||
|
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||
|
</ClCompile>
|
||
|
<ClCompile Include="$(SrcDir)src\lj_clib.c">
|
||
|
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||
|
</ClCompile>
|
||
|
<ClCompile Include="$(SrcDir)src\lj_cparse.c">
|
||
|
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||
|
</ClCompile>
|
||
|
<ClCompile Include="$(SrcDir)src\lj_crecord.c">
|
||
|
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||
|
</ClCompile>
|
||
|
<ClCompile Include="$(SrcDir)src\lj_ctype.c">
|
||
|
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||
|
</ClCompile>
|
||
|
<ClCompile Include="$(SrcDir)src\lj_debug.c">
|
||
|
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||
|
</ClCompile>
|
||
|
<ClCompile Include="$(SrcDir)src\lj_dispatch.c">
|
||
|
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||
|
</ClCompile>
|
||
|
<ClCompile Include="$(SrcDir)src\lj_err.c">
|
||
|
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||
|
</ClCompile>
|
||
|
<ClCompile Include="$(SrcDir)src\lj_ffrecord.c">
|
||
|
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||
|
</ClCompile>
|
||
|
<ClCompile Include="$(SrcDir)src\lj_func.c">
|
||
|
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||
|
</ClCompile>
|
||
|
<ClCompile Include="$(SrcDir)src\lj_gc.c">
|
||
|
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||
|
</ClCompile>
|
||
|
<ClCompile Include="$(SrcDir)src\lj_gdbjit.c">
|
||
|
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||
|
</ClCompile>
|
||
|
<ClCompile Include="$(SrcDir)src\lj_ir.c">
|
||
|
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||
|
</ClCompile>
|
||
|
<ClCompile Include="$(SrcDir)src\lj_lex.c">
|
||
|
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||
|
</ClCompile>
|
||
|
<ClCompile Include="$(SrcDir)src\lj_lib.c">
|
||
|
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||
|
</ClCompile>
|
||
|
<ClCompile Include="$(SrcDir)src\lj_load.c">
|
||
|
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||
|
</ClCompile>
|
||
|
<ClCompile Include="$(SrcDir)src\lj_mcode.c">
|
||
|
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||
|
</ClCompile>
|
||
|
<ClCompile Include="$(SrcDir)src\lj_meta.c">
|
||
|
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||
|
</ClCompile>
|
||
|
<ClCompile Include="$(SrcDir)src\lj_obj.c">
|
||
|
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||
|
</ClCompile>
|
||
|
<ClCompile Include="$(SrcDir)src\lj_opt_dce.c">
|
||
|
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||
|
</ClCompile>
|
||
|
<ClCompile Include="$(SrcDir)src\lj_opt_fold.c">
|
||
|
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||
|
</ClCompile>
|
||
|
<ClCompile Include="$(SrcDir)src\lj_opt_loop.c">
|
||
|
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||
|
</ClCompile>
|
||
|
<ClCompile Include="$(SrcDir)src\lj_opt_mem.c">
|
||
|
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||
|
</ClCompile>
|
||
|
<ClCompile Include="$(SrcDir)src\lj_opt_narrow.c">
|
||
|
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||
|
</ClCompile>
|
||
|
<ClCompile Include="$(SrcDir)src\lj_opt_sink.c">
|
||
|
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||
|
</ClCompile>
|
||
|
<ClCompile Include="$(SrcDir)src\lj_opt_split.c">
|
||
|
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||
|
</ClCompile>
|
||
|
<ClCompile Include="$(SrcDir)src\lj_parse.c">
|
||
|
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||
|
</ClCompile>
|
||
|
<ClCompile Include="$(SrcDir)src\lj_record.c">
|
||
|
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||
|
</ClCompile>
|
||
|
<ClCompile Include="$(SrcDir)src\lj_snap.c">
|
||
|
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||
|
</ClCompile>
|
||
|
<ClCompile Include="$(SrcDir)src\lj_state.c">
|
||
|
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||
|
</ClCompile>
|
||
|
<ClCompile Include="$(SrcDir)src\lj_str.c">
|
||
|
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||
|
</ClCompile>
|
||
|
<ClCompile Include="$(SrcDir)src\lj_strscan.c">
|
||
|
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||
|
</ClCompile>
|
||
|
<ClCompile Include="$(SrcDir)src\lj_tab.c">
|
||
|
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||
|
</ClCompile>
|
||
|
<ClCompile Include="$(SrcDir)src\lj_trace.c">
|
||
|
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||
|
</ClCompile>
|
||
|
<ClCompile Include="$(SrcDir)src\lj_udata.c">
|
||
|
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||
|
</ClCompile>
|
||
|
<ClCompile Include="$(SrcDir)src\lj_vmevent.c">
|
||
|
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||
|
</ClCompile>
|
||
|
<ClCompile Include="$(SrcDir)src\lj_vmmath.c">
|
||
|
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||
|
</ClCompile>
|
||
|
</ItemGroup>
|
||
|
|
||
|
<ItemGroup>
|
||
|
<ClInclude Include="$(SrcDir)include\lauxlib.h" />
|
||
|
<ClInclude Include="$(SrcDir)include\lua.h" />
|
||
|
<ClInclude Include="$(SrcDir)include\lua.hpp" />
|
||
|
<ClInclude Include="$(SrcDir)include\luaconf.h" />
|
||
|
<ClInclude Include="$(SrcDir)include\luajit.h" />
|
||
|
<ClInclude Include="$(SrcDir)include\lualib.h" />
|
||
|
<ClInclude Include="$(SrcDir)src\lj_alloc.h" />
|
||
|
<ClInclude Include="$(SrcDir)src\lj_arch.h" />
|
||
|
<ClInclude Include="$(SrcDir)src\lj_asm.h" />
|
||
|
<ClInclude Include="$(SrcDir)src\lj_asm_arm.h" />
|
||
|
<ClInclude Include="$(SrcDir)src\lj_asm_mips.h" />
|
||
|
<ClInclude Include="$(SrcDir)src\lj_asm_ppc.h" />
|
||
|
<ClInclude Include="$(SrcDir)src\lj_asm_x86.h" />
|
||
|
<ClInclude Include="$(SrcDir)src\lj_bc.h" />
|
||
|
<ClInclude Include="$(SrcDir)src\lj_bcdef.h" />
|
||
|
<ClInclude Include="$(SrcDir)src\lj_bcdump.h" />
|
||
|
<ClInclude Include="$(SrcDir)src\lj_carith.h" />
|
||
|
<ClInclude Include="$(SrcDir)src\lj_ccall.h" />
|
||
|
<ClInclude Include="$(SrcDir)src\lj_ccallback.h" />
|
||
|
<ClInclude Include="$(SrcDir)src\lj_cconv.h" />
|
||
|
<ClInclude Include="$(SrcDir)src\lj_cdata.h" />
|
||
|
<ClInclude Include="$(SrcDir)src\lj_char.h" />
|
||
|
<ClInclude Include="$(SrcDir)src\lj_clib.h" />
|
||
|
<ClInclude Include="$(SrcDir)src\lj_cparse.h" />
|
||
|
<ClInclude Include="$(SrcDir)src\lj_crecord.h" />
|
||
|
<ClInclude Include="$(SrcDir)src\lj_ctype.h" />
|
||
|
<ClInclude Include="$(SrcDir)src\lj_debug.h" />
|
||
|
<ClInclude Include="$(SrcDir)src\lj_def.h" />
|
||
|
<ClInclude Include="$(SrcDir)src\lj_dispatch.h" />
|
||
|
<ClInclude Include="$(SrcDir)src\lj_emit_arm.h" />
|
||
|
<ClInclude Include="$(SrcDir)src\lj_emit_mips.h" />
|
||
|
<ClInclude Include="$(SrcDir)src\lj_emit_ppc.h" />
|
||
|
<ClInclude Include="$(SrcDir)src\lj_emit_x86.h" />
|
||
|
<ClInclude Include="$(SrcDir)src\lj_err.h" />
|
||
|
<ClInclude Include="$(SrcDir)src\lj_errmsg.h" />
|
||
|
<ClInclude Include="$(SrcDir)src\lj_ff.h" />
|
||
|
<ClInclude Include="$(SrcDir)src\lj_ffdef.h" />
|
||
|
<ClInclude Include="$(SrcDir)src\lj_ffrecord.h" />
|
||
|
<ClInclude Include="$(SrcDir)src\lj_folddef.h" />
|
||
|
<ClInclude Include="$(SrcDir)src\lj_frame.h" />
|
||
|
<ClInclude Include="$(SrcDir)src\lj_func.h" />
|
||
|
<ClInclude Include="$(SrcDir)src\lj_gc.h" />
|
||
|
<ClInclude Include="$(SrcDir)src\lj_gdbjit.h" />
|
||
|
<ClInclude Include="$(SrcDir)src\lj_ir.h" />
|
||
|
<ClInclude Include="$(SrcDir)src\lj_ircall.h" />
|
||
|
<ClInclude Include="$(SrcDir)src\lj_iropt.h" />
|
||
|
<ClInclude Include="$(SrcDir)src\lj_jit.h" />
|
||
|
<ClInclude Include="$(SrcDir)src\lj_lex.h" />
|
||
|
<ClInclude Include="$(SrcDir)src\lj_lib.h" />
|
||
|
<ClInclude Include="$(SrcDir)src\lj_libdef.h" />
|
||
|
<ClInclude Include="$(SrcDir)src\lj_mcode.h" />
|
||
|
<ClInclude Include="$(SrcDir)src\lj_meta.h" />
|
||
|
<ClInclude Include="$(SrcDir)src\lj_obj.h" />
|
||
|
<ClInclude Include="$(SrcDir)src\lj_parse.h" />
|
||
|
<ClInclude Include="$(SrcDir)src\lj_recdef.h" />
|
||
|
<ClInclude Include="$(SrcDir)src\lj_record.h" />
|
||
|
<ClInclude Include="$(SrcDir)src\lj_snap.h" />
|
||
|
<ClInclude Include="$(SrcDir)src\lj_state.h" />
|
||
|
<ClInclude Include="$(SrcDir)src\lj_str.h" />
|
||
|
<ClInclude Include="$(SrcDir)src\lj_strscan.h" />
|
||
|
<ClInclude Include="$(SrcDir)src\lj_tab.h" />
|
||
|
<ClInclude Include="$(SrcDir)src\lj_target.h" />
|
||
|
<ClInclude Include="$(SrcDir)src\lj_target_arm.h" />
|
||
|
<ClInclude Include="$(SrcDir)src\lj_target_mips.h" />
|
||
|
<ClInclude Include="$(SrcDir)src\lj_target_ppc.h" />
|
||
|
<ClInclude Include="$(SrcDir)src\lj_target_x86.h" />
|
||
|
<ClInclude Include="$(SrcDir)src\lj_trace.h" />
|
||
|
<ClInclude Include="$(SrcDir)src\lj_traceerr.h" />
|
||
|
<ClInclude Include="$(SrcDir)src\lj_udata.h" />
|
||
|
<ClInclude Include="$(SrcDir)src\lj_vm.h" />
|
||
|
<ClInclude Include="$(SrcDir)src\lj_vmevent.h" />
|
||
|
</ItemGroup>
|
||
|
|
||
|
<ItemGroup>
|
||
|
<Lib Include="$(AegisubObjectDir)lj_vm.obj" />
|
||
|
</ItemGroup>
|
||
|
|
||
|
<ItemGroup>
|
||
|
<None Include="$(SrcDir)src\jit\bc.lua" />
|
||
|
<None Include="$(SrcDir)src\jit\bcsave.lua" />
|
||
|
<None Include="$(SrcDir)src\jit\dis_arm.lua" />
|
||
|
<None Include="$(SrcDir)src\jit\dis_mips.lua" />
|
||
|
<None Include="$(SrcDir)src\jit\dis_mipsel.lua" />
|
||
|
<None Include="$(SrcDir)src\jit\dis_ppc.lua" />
|
||
|
<None Include="$(SrcDir)src\jit\dis_x64.lua" />
|
||
|
<None Include="$(SrcDir)src\jit\dis_x86.lua" />
|
||
|
<None Include="$(SrcDir)src\jit\dump.lua" />
|
||
|
<None Include="$(SrcDir)src\jit\v.lua" />
|
||
|
<None Include="$(SrcDir)src\jit\vmdef.lua" />
|
||
|
</ItemGroup>
|
||
|
<ItemGroup>
|
||
|
<ProjectReference Include="..\luajit-buildvm\luajit-buildvm.vcxproj">
|
||
|
<Project>{7ca6a4eb-a11b-4975-8f3a-f633111c6213}</Project>
|
||
|
</ProjectReference>
|
||
|
</ItemGroup>
|
||
|
</Project>
|