Refactor Visual Studio 2008 build and make libauto3 and Lua 5.0 build on VC9.

* The most important project properties (especially paths) are now stored in VSProps files in generalised ways.
* Projects share VSProps files so they place output files in same locations and thus agree on where to find them.
* Avoid inconsistencies between build configurations/platforms as has happened often before.
* Now distributable binaries (aegisub.exe and aegisub-auto3.dll) will be placed in $(SolutionDir)/bin/, static libraries under $(SolutionDir)/lib/ and object files etc. under $(SolutionDir)/build/. Note that those locations are controlled by where the solution file is placed in the file system.
* libauto3 is no longer pulled in by a #pragma in auto4_auto3.c, but must instead be pulled in by making the aegisub project depend on the auto3 project, which must in turn depend on the lua50 project.
* Final binary filenames are now somewhat different. You get aegisub32.exe, aegisub64d.exe, aegisub-auto3lib32d.dll and more.
* There's still more that can be factored out, things like optimisation flags and defines.

Originally committed to SVN as r2819.
This commit is contained in:
Niels Martin Hansen 2009-04-17 21:53:48 +00:00
parent c55df071cf
commit 77791217a0
17 changed files with 1005 additions and 68 deletions

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioPropertySheet
ProjectType="Visual C++"
Version="8.00"
Name="aegisub_exe_filename"
>
<Tool
Name="VCLinkerTool"
OutputFile="$(ExecutableOutDir)/aegisub$(PlatformConfigSuffix).exe"
/>
</VisualStudioPropertySheet>

View File

@ -21,9 +21,9 @@
<Configurations>
<Configuration
Name="Debug|Win32"
OutputDirectory="$(SolutionDir)$(ConfigurationName)"
IntermediateDirectory="$(ConfigurationName)"
ConfigurationType="1"
InheritedPropertySheets=".\suffix_debug32.vsprops;.\libraries_outdirs.vsprops;.\contrib_includedirs.vsprops;.\aegisub_exe_filename.vsprops;.\shipped_stub_libs_dir.vsprops"
CharacterSet="1"
>
<Tool
@ -46,7 +46,6 @@
Name="VCCLCompilerTool"
AdditionalOptions="/MP"
Optimization="0"
AdditionalIncludeDirectories="../../../contrib/hunspell/src;../../../aegisub/src/msvc"
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS"
MinimalRebuild="true"
BasicRuntimeChecks="3"
@ -72,9 +71,7 @@
/>
<Tool
Name="VCLinkerTool"
OutputFile="../../bin/aegisub_d.exe"
LinkIncremental="2"
AdditionalLibraryDirectories="../../lib"
GenerateManifest="true"
DelayLoadDLLs="perl510.dll;ffms2.dll"
GenerateDebugInformation="true"
@ -107,9 +104,8 @@
</Configuration>
<Configuration
Name="Debug|x64"
OutputDirectory="$(SolutionDir)$(PlatformName)\$(ConfigurationName)"
IntermediateDirectory="$(PlatformName)\$(ConfigurationName)"
ConfigurationType="1"
InheritedPropertySheets=".\suffix_debug64.vsprops;.\libraries_outdirs.vsprops;.\contrib_includedirs.vsprops;.\aegisub_exe_filename.vsprops;.\shipped_stub_libs_dir.vsprops"
CharacterSet="1"
>
<Tool
@ -132,7 +128,6 @@
<Tool
Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories="../../../contrib/hunspell/src"
PreprocessorDefinitions="WIN32;WIN64;_DEBUG;_WINDOWS"
MinimalRebuild="true"
BasicRuntimeChecks="3"
@ -158,9 +153,7 @@
/>
<Tool
Name="VCLinkerTool"
OutputFile="../../bin/aegisub_d_x64.exe"
LinkIncremental="2"
AdditionalLibraryDirectories="../../lib"
GenerateManifest="true"
DelayLoadDLLs="perl510.dll"
GenerateDebugInformation="true"
@ -193,9 +186,8 @@
</Configuration>
<Configuration
Name="Release|Win32"
OutputDirectory="$(SolutionDir)$(ConfigurationName)"
IntermediateDirectory="$(ConfigurationName)"
ConfigurationType="1"
InheritedPropertySheets=".\suffix_release32.vsprops;.\libraries_outdirs.vsprops;.\contrib_includedirs.vsprops;.\aegisub_exe_filename.vsprops;.\shipped_stub_libs_dir.vsprops"
CharacterSet="1"
WholeProgramOptimization="1"
>
@ -218,8 +210,6 @@
<Tool
Name="VCCLCompilerTool"
AdditionalOptions="/MP"
WholeProgramOptimization="false"
AdditionalIncludeDirectories="../../../contrib/hunspell/src;../../src/msvc"
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS"
RuntimeLibrary="2"
OpenMP="true"
@ -244,9 +234,7 @@
/>
<Tool
Name="VCLinkerTool"
OutputFile="../../bin/aegisub.exe"
LinkIncremental="1"
AdditionalLibraryDirectories="../../lib"
GenerateManifest="true"
DelayLoadDLLs="perl510.dll;ffms2.dll;openal32.dll"
GenerateDebugInformation="true"
@ -283,9 +271,8 @@
</Configuration>
<Configuration
Name="Release|x64"
OutputDirectory="$(SolutionDir)$(PlatformName)\$(ConfigurationName)"
IntermediateDirectory="$(PlatformName)\$(ConfigurationName)"
ConfigurationType="1"
InheritedPropertySheets=".\suffix_release64.vsprops;.\libraries_outdirs.vsprops;.\contrib_includedirs.vsprops;.\aegisub_exe_filename.vsprops;.\shipped_stub_libs_dir.vsprops"
CharacterSet="1"
WholeProgramOptimization="1"
>
@ -308,7 +295,6 @@
/>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories="../../../contrib/hunspell/src"
PreprocessorDefinitions="WIN32;WIN64;NDEBUG;_WINDOWS"
RuntimeLibrary="2"
OpenMP="true"
@ -332,9 +318,7 @@
/>
<Tool
Name="VCLinkerTool"
OutputFile="../../bin/aegisub_x64.exe"
LinkIncremental="1"
AdditionalLibraryDirectories="../../lib"
GenerateManifest="true"
DelayLoadDLLs="perl510.dll"
GenerateDebugInformation="true"

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioPropertySheet
ProjectType="Visual C++"
Version="8.00"
Name="contrib_includedirs"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories="../../../contrib/hunspell/src;../../../aegisub/src/msvc"
/>
</VisualStudioPropertySheet>

View File

@ -0,0 +1,27 @@
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioPropertySheet
ProjectType="Visual C++"
Version="8.00"
Name="standard_outdirs"
OutputDirectory="$(SolutionDir)build/$(ProjectName)/$(PlatformName)/$(ConfigurationName)/"
IntermediateDirectory="$(OutDir)"
>
<Tool
Name="VCLibrarianTool"
OutputFile="$(LibraryOutDir)/$(ProjectName).lib"
/>
<Tool
Name="VCLinkerTool"
OutputFile=""
AdditionalLibraryDirectories="$(LibraryOutDir)"
ImportLibrary="$(LibraryOutDir)$(TargetName).lib"
/>
<UserMacro
Name="LibraryOutDir"
Value="$(SolutionDir)lib/$(PlatformName)/$(ConfigurationName)/"
/>
<UserMacro
Name="ExecutableOutDir"
Value="$(SolutionDir)bin/"
/>
</VisualStudioPropertySheet>

View File

@ -0,0 +1,7 @@
<?xml version="1.0"?>
<VisualStudioPropertySheet
ProjectType="Visual C++"
Version="8.00"
Name="shipped_stub_libs_dir"
>
</VisualStudioPropertySheet>

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioPropertySheet
ProjectType="Visual C++"
Version="8.00"
Name="suffix_debug32"
>
<UserMacro
Name="PlatformConfigSuffix"
Value="32d"
/>
</VisualStudioPropertySheet>

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioPropertySheet
ProjectType="Visual C++"
Version="8.00"
Name="suffix_debug64"
>
<UserMacro
Name="PlatformConfigSuffix"
Value="64d"
/>
</VisualStudioPropertySheet>

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioPropertySheet
ProjectType="Visual C++"
Version="8.00"
Name="suffix_release32"
>
<UserMacro
Name="PlatformConfigSuffix"
Value="32"
/>
</VisualStudioPropertySheet>

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioPropertySheet
ProjectType="Visual C++"
Version="8.00"
Name="suffix_release64"
>
<UserMacro
Name="PlatformConfigSuffix"
Value="64"
/>
</VisualStudioPropertySheet>

View File

@ -39,10 +39,6 @@
#ifdef WITH_AUTOMATION
#ifdef WITH_AUTO3
#if __VISUALC__ >= 1200
#pragma comment(lib,"aegisub-auto3.lib")
#endif
#include <wx/spinctrl.h>
#include <wx/tokenzr.h>
#include "auto4_auto3.h"

View File

@ -0,0 +1,375 @@
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
ProjectType="Visual C++"
Version="9.00"
Name="auto3_vc9"
ProjectGUID="{F57D079E-3022-40FA-9BC9-C149D89D9EC9}"
RootNamespace="auto3_vc9"
Keyword="Win32Proj"
TargetFrameworkVersion="196613"
>
<Platforms>
<Platform
Name="Win32"
/>
<Platform
Name="x64"
/>
</Platforms>
<ToolFiles>
</ToolFiles>
<Configurations>
<Configuration
Name="Debug|Win32"
ConfigurationType="2"
InheritedPropertySheets="..\..\build\aegisub_vs2008\suffix_debug32.vsprops;..\..\build\aegisub_vs2008\libraries_outdirs.vsprops;.\auto3_vc9.vsprops"
CharacterSet="0"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
/>
<Tool
Name="VCCLCompilerTool"
Optimization="0"
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;AUTO3_VC9_EXPORTS"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
WarningLevel="3"
DebugInformationFormat="4"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
LinkIncremental="2"
GenerateDebugInformation="true"
SubSystem="2"
TargetMachine="1"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
<Configuration
Name="Release|Win32"
ConfigurationType="2"
InheritedPropertySheets="..\..\build\aegisub_vs2008\suffix_release32.vsprops;..\..\build\aegisub_vs2008\libraries_outdirs.vsprops;.\auto3_vc9.vsprops"
CharacterSet="0"
WholeProgramOptimization="1"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
/>
<Tool
Name="VCCLCompilerTool"
Optimization="2"
EnableIntrinsicFunctions="true"
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;AUTO3_VC9_EXPORTS"
RuntimeLibrary="2"
EnableFunctionLevelLinking="true"
WarningLevel="3"
DebugInformationFormat="3"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
LinkIncremental="1"
GenerateDebugInformation="true"
SubSystem="2"
OptimizeReferences="2"
EnableCOMDATFolding="2"
TargetMachine="1"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
<Configuration
Name="Debug|x64"
ConfigurationType="2"
InheritedPropertySheets="..\..\build\aegisub_vs2008\suffix_debug64.vsprops;..\..\build\aegisub_vs2008\libraries_outdirs.vsprops;.\auto3_vc9.vsprops"
CharacterSet="0"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
TargetEnvironment="3"
/>
<Tool
Name="VCCLCompilerTool"
Optimization="0"
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;AUTO3_VC9_EXPORTS"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
WarningLevel="3"
DebugInformationFormat="3"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
LinkIncremental="2"
GenerateDebugInformation="true"
SubSystem="2"
TargetMachine="17"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
<Configuration
Name="Release|x64"
ConfigurationType="2"
InheritedPropertySheets="..\..\build\aegisub_vs2008\suffix_release64.vsprops;..\..\build\aegisub_vs2008\libraries_outdirs.vsprops;.\auto3_vc9.vsprops"
CharacterSet="0"
WholeProgramOptimization="1"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
TargetEnvironment="3"
/>
<Tool
Name="VCCLCompilerTool"
Optimization="2"
EnableIntrinsicFunctions="true"
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;AUTO3_VC9_EXPORTS"
RuntimeLibrary="2"
EnableFunctionLevelLinking="true"
WarningLevel="3"
DebugInformationFormat="3"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
LinkIncremental="1"
GenerateDebugInformation="true"
SubSystem="2"
OptimizeReferences="2"
EnableCOMDATFolding="2"
TargetMachine="17"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
</Configurations>
<References>
</References>
<Files>
<Filter
Name="Source Files"
Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
>
<File
RelativePath=".\auto3.c"
>
</File>
<File
RelativePath=".\callables.c"
>
<FileConfiguration
Name="Debug|Win32"
ExcludedFromBuild="true"
>
<Tool
Name="VCCLCompilerTool"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
ExcludedFromBuild="true"
>
<Tool
Name="VCCLCompilerTool"
/>
</FileConfiguration>
<FileConfiguration
Name="Debug|x64"
ExcludedFromBuild="true"
>
<Tool
Name="VCCLCompilerTool"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|x64"
ExcludedFromBuild="true"
>
<Tool
Name="VCCLCompilerTool"
/>
</FileConfiguration>
</File>
</Filter>
<Filter
Name="Header Files"
Filter="h;hpp;hxx;hm;inl;inc;xsd"
UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
>
<File
RelativePath=".\auto3.h"
>
</File>
</Filter>
<Filter
Name="Resource Files"
Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
>
</Filter>
</Files>
<Globals>
</Globals>
</VisualStudioProject>

View File

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioPropertySheet
ProjectType="Visual C++"
Version="8.00"
Name="auto3_vc9"
>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories="$(ProjectDir)../../contrib/lua50/include/"
PreprocessorDefinitions="_CRT_SECURE_NO_WARNINGS"
/>
<Tool
Name="VCLinkerTool"
OutputFile="$(ExecutableOutDir)/aegisub-auto3lib_$(PlatformConfigSuffix).dll"
/>
</VisualStudioPropertySheet>

View File

@ -21,9 +21,8 @@
<Configurations>
<Configuration
Name="Debug|Win32"
OutputDirectory="$(SolutionDir)$(ConfigurationName)"
IntermediateDirectory="$(ConfigurationName)"
ConfigurationType="4"
InheritedPropertySheets="..\build\aegisub_vs2008\libraries_outdirs.vsprops"
CharacterSet="1"
>
<Tool
@ -64,7 +63,6 @@
/>
<Tool
Name="VCLibrarianTool"
OutputFile="../lib/univcset_d.lib"
/>
<Tool
Name="VCALinkTool"
@ -84,9 +82,8 @@
</Configuration>
<Configuration
Name="Debug|x64"
OutputDirectory="$(SolutionDir)$(PlatformName)\$(ConfigurationName)"
IntermediateDirectory="$(PlatformName)\$(ConfigurationName)"
ConfigurationType="4"
InheritedPropertySheets="..\build\aegisub_vs2008\libraries_outdirs.vsprops"
CharacterSet="1"
>
<Tool
@ -128,7 +125,6 @@
/>
<Tool
Name="VCLibrarianTool"
OutputFile="../lib/univcset_d_x64.lib"
/>
<Tool
Name="VCALinkTool"
@ -148,9 +144,8 @@
</Configuration>
<Configuration
Name="Release|Win32"
OutputDirectory="$(SolutionDir)$(ConfigurationName)"
IntermediateDirectory="$(ConfigurationName)"
ConfigurationType="4"
InheritedPropertySheets="..\build\aegisub_vs2008\libraries_outdirs.vsprops"
CharacterSet="1"
WholeProgramOptimization="1"
>
@ -189,7 +184,6 @@
/>
<Tool
Name="VCLibrarianTool"
OutputFile="../lib/univcset.lib"
/>
<Tool
Name="VCALinkTool"
@ -209,9 +203,8 @@
</Configuration>
<Configuration
Name="Release|x64"
OutputDirectory="$(SolutionDir)$(PlatformName)\$(ConfigurationName)"
IntermediateDirectory="$(PlatformName)\$(ConfigurationName)"
ConfigurationType="4"
InheritedPropertySheets="..\build\aegisub_vs2008\libraries_outdirs.vsprops"
CharacterSet="1"
WholeProgramOptimization="1"
>
@ -251,7 +244,6 @@
/>
<Tool
Name="VCLibrarianTool"
OutputFile="../lib/univcset_x64.lib"
/>
<Tool
Name="VCALinkTool"

View File

@ -21,9 +21,8 @@
<Configurations>
<Configuration
Name="Debug|Win32"
OutputDirectory="$(SolutionDir)$(ConfigurationName)"
IntermediateDirectory="$(ConfigurationName)"
ConfigurationType="4"
InheritedPropertySheets="..\..\aegisub\build\aegisub_vs2008\libraries_outdirs.vsprops"
CharacterSet="1"
>
<Tool
@ -67,7 +66,6 @@
/>
<Tool
Name="VCLibrarianTool"
OutputFile="../lib/csri_d_x64.lib"
/>
<Tool
Name="VCALinkTool"
@ -87,9 +85,8 @@
</Configuration>
<Configuration
Name="Debug|x64"
OutputDirectory="$(SolutionDir)$(PlatformName)\$(ConfigurationName)"
IntermediateDirectory="$(PlatformName)\$(ConfigurationName)"
ConfigurationType="4"
InheritedPropertySheets="..\..\aegisub\build\aegisub_vs2008\libraries_outdirs.vsprops"
CharacterSet="1"
>
<Tool
@ -134,7 +131,6 @@
/>
<Tool
Name="VCLibrarianTool"
OutputFile="../lib/csri_d_x64.lib"
/>
<Tool
Name="VCALinkTool"
@ -154,9 +150,8 @@
</Configuration>
<Configuration
Name="Release|Win32"
OutputDirectory="$(SolutionDir)$(ConfigurationName)"
IntermediateDirectory="$(ConfigurationName)"
ConfigurationType="4"
InheritedPropertySheets="..\..\aegisub\build\aegisub_vs2008\libraries_outdirs.vsprops"
CharacterSet="1"
WholeProgramOptimization="1"
>
@ -197,7 +192,6 @@
/>
<Tool
Name="VCLibrarianTool"
OutputFile="../lib/csri.lib"
/>
<Tool
Name="VCALinkTool"
@ -217,9 +211,8 @@
</Configuration>
<Configuration
Name="Release|x64"
OutputDirectory="$(SolutionDir)$(PlatformName)\$(ConfigurationName)"
IntermediateDirectory="$(PlatformName)\$(ConfigurationName)"
ConfigurationType="4"
InheritedPropertySheets="..\..\aegisub\build\aegisub_vs2008\libraries_outdirs.vsprops"
CharacterSet="1"
WholeProgramOptimization="1"
>
@ -261,7 +254,6 @@
/>
<Tool
Name="VCLibrarianTool"
OutputFile="../lib/csri_x64.lib"
/>
<Tool
Name="VCALinkTool"

View File

@ -0,0 +1,7 @@
<?xml version="1.0"?>
<VisualStudioPropertySheet
ProjectType="Visual C++"
Version="8.00"
Name="includedirs"
>
</VisualStudioPropertySheet>

View File

@ -0,0 +1,487 @@
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
ProjectType="Visual C++"
Version="9.00"
Name="lua50_vc9"
ProjectGUID="{9E046FFE-42C5-4FFA-991A-EA4A7F0E1E1E}"
RootNamespace="lua50_vc9"
Keyword="Win32Proj"
TargetFrameworkVersion="196613"
>
<Platforms>
<Platform
Name="Win32"
/>
<Platform
Name="x64"
/>
</Platforms>
<ToolFiles>
</ToolFiles>
<Configurations>
<Configuration
Name="Debug|Win32"
ConfigurationType="4"
InheritedPropertySheets="..\..\aegisub\build\aegisub_vs2008\libraries_outdirs.vsprops;.\includedirs.vsprops"
CharacterSet="0"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
/>
<Tool
Name="VCCLCompilerTool"
Optimization="0"
PreprocessorDefinitions="WIN32;_DEBUG;_LIB"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
UsePrecompiledHeader="0"
WarningLevel="3"
DebugInformationFormat="4"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLibrarianTool"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
<Configuration
Name="Release|Win32"
ConfigurationType="4"
InheritedPropertySheets="..\..\aegisub\build\aegisub_vs2008\libraries_outdirs.vsprops;.\includedirs.vsprops"
CharacterSet="0"
WholeProgramOptimization="1"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
/>
<Tool
Name="VCCLCompilerTool"
Optimization="2"
EnableIntrinsicFunctions="true"
PreprocessorDefinitions="WIN32;NDEBUG;_LIB"
RuntimeLibrary="2"
EnableFunctionLevelLinking="true"
UsePrecompiledHeader="0"
WarningLevel="3"
DebugInformationFormat="3"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLibrarianTool"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
<Configuration
Name="Debug|x64"
ConfigurationType="4"
InheritedPropertySheets="..\..\aegisub\build\aegisub_vs2008\libraries_outdirs.vsprops;.\includedirs.vsprops"
CharacterSet="0"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
TargetEnvironment="3"
/>
<Tool
Name="VCCLCompilerTool"
Optimization="0"
PreprocessorDefinitions="WIN32;_DEBUG;_LIB"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
UsePrecompiledHeader="0"
WarningLevel="3"
DebugInformationFormat="3"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLibrarianTool"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
<Configuration
Name="Release|x64"
ConfigurationType="4"
InheritedPropertySheets="..\..\aegisub\build\aegisub_vs2008\libraries_outdirs.vsprops;.\includedirs.vsprops"
CharacterSet="0"
WholeProgramOptimization="1"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
TargetEnvironment="3"
/>
<Tool
Name="VCCLCompilerTool"
Optimization="2"
EnableIntrinsicFunctions="true"
PreprocessorDefinitions="WIN32;NDEBUG;_LIB"
RuntimeLibrary="2"
EnableFunctionLevelLinking="true"
UsePrecompiledHeader="0"
WarningLevel="3"
DebugInformationFormat="3"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLibrarianTool"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
</Configurations>
<References>
</References>
<Files>
<Filter
Name="Source Files"
Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
>
<File
RelativePath=".\src\lapi.c"
>
</File>
<File
RelativePath=".\src\lib\lauxlib.c"
>
</File>
<File
RelativePath=".\src\lib\lbaselib.c"
>
</File>
<File
RelativePath=".\src\lcode.c"
>
</File>
<File
RelativePath=".\src\lib\ldblib.c"
>
</File>
<File
RelativePath=".\src\ldebug.c"
>
</File>
<File
RelativePath=".\src\ldo.c"
>
</File>
<File
RelativePath=".\src\ldump.c"
>
</File>
<File
RelativePath=".\src\lfunc.c"
>
</File>
<File
RelativePath=".\src\lgc.c"
>
</File>
<File
RelativePath=".\src\lib\liolib.c"
>
</File>
<File
RelativePath=".\src\llex.c"
>
</File>
<File
RelativePath=".\src\lib\lmathlib.c"
>
</File>
<File
RelativePath=".\src\lmem.c"
>
</File>
<File
RelativePath=".\src\lib\loadlib.c"
>
</File>
<File
RelativePath=".\src\lobject.c"
>
</File>
<File
RelativePath=".\src\lopcodes.c"
>
</File>
<File
RelativePath=".\src\lparser.c"
>
</File>
<File
RelativePath=".\src\lstate.c"
>
</File>
<File
RelativePath=".\src\lstring.c"
>
</File>
<File
RelativePath=".\src\lib\lstrlib.c"
>
</File>
<File
RelativePath=".\src\ltable.c"
>
</File>
<File
RelativePath=".\src\lib\ltablib.c"
>
</File>
<File
RelativePath=".\src\ltm.c"
>
</File>
<File
RelativePath=".\src\lundump.c"
>
</File>
<File
RelativePath=".\src\lvm.c"
>
</File>
<File
RelativePath=".\src\lzio.c"
>
</File>
</Filter>
<Filter
Name="Header Files"
Filter="h;hpp;hxx;hm;inl;inc;xsd"
UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
>
<File
RelativePath=".\src\lapi.h"
>
</File>
<File
RelativePath=".\include\lauxlib.h"
>
</File>
<File
RelativePath=".\src\lcode.h"
>
</File>
<File
RelativePath=".\src\ldebug.h"
>
</File>
<File
RelativePath=".\src\ldo.h"
>
</File>
<File
RelativePath=".\src\lfunc.h"
>
</File>
<File
RelativePath=".\src\lgc.h"
>
</File>
<File
RelativePath=".\src\llex.h"
>
</File>
<File
RelativePath=".\src\llimits.h"
>
</File>
<File
RelativePath=".\src\lmem.h"
>
</File>
<File
RelativePath=".\src\lobject.h"
>
</File>
<File
RelativePath=".\src\lopcodes.h"
>
</File>
<File
RelativePath=".\src\lparser.h"
>
</File>
<File
RelativePath=".\src\lstate.h"
>
</File>
<File
RelativePath=".\src\lstring.h"
>
</File>
<File
RelativePath=".\src\ltable.h"
>
</File>
<File
RelativePath=".\src\ltm.h"
>
</File>
<File
RelativePath=".\include\lua.h"
>
</File>
<File
RelativePath=".\include\lualib.h"
>
</File>
<File
RelativePath=".\src\lundump.h"
>
</File>
<File
RelativePath=".\src\lvm.h"
>
</File>
<File
RelativePath=".\src\lzio.h"
>
</File>
</Filter>
<Filter
Name="Resource Files"
Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
>
</Filter>
</Files>
<Globals>
</Globals>
</VisualStudioProject>

View File

@ -21,11 +21,9 @@
<Configurations>
<Configuration
Name="Debug|Win32"
OutputDirectory="$(ProjectDir)..\lib\$(PlatformName)\"
IntermediateDirectory="$(ProjectDir)build_vc9\$(PlatformName)\$(ConfigurationName)\"
ConfigurationType="4"
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
CharacterSet="1"
InheritedPropertySheets="..\..\aegisub\build\aegisub_vs2008\libraries_outdirs.vsprops"
CharacterSet="0"
>
<Tool
Name="VCPreBuildEventTool"
@ -69,7 +67,6 @@
/>
<Tool
Name="VCLibrarianTool"
OutputFile="$(OutDir)lua51_D.lib"
/>
<Tool
Name="VCALinkTool"
@ -89,11 +86,9 @@
</Configuration>
<Configuration
Name="Debug|x64"
OutputDirectory="$(ProjectDir)..\lib\$(PlatformName)\"
IntermediateDirectory="$(ProjectDir)build_vc9\$(PlatformName)\$(ConfigurationName)\"
ConfigurationType="4"
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
CharacterSet="1"
InheritedPropertySheets="..\..\aegisub\build\aegisub_vs2008\libraries_outdirs.vsprops"
CharacterSet="0"
>
<Tool
Name="VCPreBuildEventTool"
@ -138,7 +133,6 @@
/>
<Tool
Name="VCLibrarianTool"
OutputFile="$(OutDir)lua51_D.lib"
/>
<Tool
Name="VCALinkTool"
@ -158,11 +152,9 @@
</Configuration>
<Configuration
Name="Release|Win32"
OutputDirectory="$(ProjectDir)..\lib\$(PlatformName)\"
IntermediateDirectory="$(ProjectDir)build_vc9\$(PlatformName)\$(ConfigurationName)\"
ConfigurationType="4"
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
CharacterSet="2"
InheritedPropertySheets="..\..\aegisub\build\aegisub_vs2008\libraries_outdirs.vsprops"
CharacterSet="0"
>
<Tool
Name="VCPreBuildEventTool"
@ -200,7 +192,6 @@
/>
<Tool
Name="VCLibrarianTool"
OutputFile="$(OutDir)lua51.lib"
/>
<Tool
Name="VCALinkTool"
@ -220,11 +211,9 @@
</Configuration>
<Configuration
Name="Release|x64"
OutputDirectory="$(ProjectDir)..\lib\$(PlatformName)\"
IntermediateDirectory="$(ProjectDir)build_vc9\$(PlatformName)\$(ConfigurationName)\"
ConfigurationType="4"
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
CharacterSet="2"
InheritedPropertySheets="..\..\aegisub\build\aegisub_vs2008\libraries_outdirs.vsprops"
CharacterSet="0"
>
<Tool
Name="VCPreBuildEventTool"
@ -263,7 +252,6 @@
/>
<Tool
Name="VCLibrarianTool"
OutputFile="$(OutDir)lua51.lib"
/>
<Tool
Name="VCALinkTool"