Add a solution and windows config for Windows tinderbox building. Submitted by jfs, thanks!

Originally committed to SVN as r2840.
This commit is contained in:
Amar Takhar 2009-04-23 20:26:07 +00:00
parent b97bbf9792
commit bcf82c0f9f
2 changed files with 273 additions and 0 deletions

View File

@ -0,0 +1,96 @@
Microsoft Visual Studio Solution File, Format Version 10.00
# Visual Studio 2008
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "aegisub_vs2008", "..\..\build\aegisub_vs2008\aegisub_vs2008.vcproj", "{65C67A5D-D31C-4DB6-965B-69AF7EFA4B5A}"
ProjectSection(ProjectDependencies) = postProject
{4294BC27-91AC-4642-B5E1-042288478C2A} = {4294BC27-91AC-4642-B5E1-042288478C2A}
{F57D079E-3022-40FA-9BC9-C149D89D9EC9} = {F57D079E-3022-40FA-9BC9-C149D89D9EC9}
{1809269E-6E14-47E8-A9D0-147877EBCDBC} = {1809269E-6E14-47E8-A9D0-147877EBCDBC}
{53609BB3-D874-465C-AF7B-DF626DB0D89B} = {53609BB3-D874-465C-AF7B-DF626DB0D89B}
{6B6028DA-8702-4853-8FF1-B55BEDD4C8DB} = {6B6028DA-8702-4853-8FF1-B55BEDD4C8DB}
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "universalcharset_2008", "..\..\universalchardet\universalcharset_2008.vcproj", "{6B6028DA-8702-4853-8FF1-B55BEDD4C8DB}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "csri_2008", "..\..\..\contrib\csri\csri_2008.vcproj", "{4294BC27-91AC-4642-B5E1-042288478C2A}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libhunspell_2008", "..\..\..\contrib\hunspell\src\win_api\libhunspell_2008.vcproj", "{53609BB3-D874-465C-AF7B-DF626DB0D89B}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "lua50_vc9", "..\..\..\contrib\lua50\lua50_vc9.vcproj", "{9E046FFE-42C5-4FFA-991A-EA4A7F0E1E1E}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "lua51_vc9", "..\..\..\contrib\lua51\lua51_vc9.vcproj", "{1809269E-6E14-47E8-A9D0-147877EBCDBC}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "auto3_vc9", "..\..\src\libauto3\auto3_vc9.vcproj", "{F57D079E-3022-40FA-9BC9-C149D89D9EC9}"
ProjectSection(ProjectDependencies) = postProject
{9E046FFE-42C5-4FFA-991A-EA4A7F0E1E1E} = {9E046FFE-42C5-4FFA-991A-EA4A7F0E1E1E}
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32
Debug|x64 = Debug|x64
Release|Win32 = Release|Win32
Release|x64 = Release|x64
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{65C67A5D-D31C-4DB6-965B-69AF7EFA4B5A}.Debug|Win32.ActiveCfg = Debug|Win32
{65C67A5D-D31C-4DB6-965B-69AF7EFA4B5A}.Debug|Win32.Build.0 = Debug|Win32
{65C67A5D-D31C-4DB6-965B-69AF7EFA4B5A}.Debug|x64.ActiveCfg = Debug|x64
{65C67A5D-D31C-4DB6-965B-69AF7EFA4B5A}.Debug|x64.Build.0 = Debug|x64
{65C67A5D-D31C-4DB6-965B-69AF7EFA4B5A}.Release|Win32.ActiveCfg = Release|Win32
{65C67A5D-D31C-4DB6-965B-69AF7EFA4B5A}.Release|Win32.Build.0 = Release|Win32
{65C67A5D-D31C-4DB6-965B-69AF7EFA4B5A}.Release|x64.ActiveCfg = Release|x64
{65C67A5D-D31C-4DB6-965B-69AF7EFA4B5A}.Release|x64.Build.0 = Release|x64
{6B6028DA-8702-4853-8FF1-B55BEDD4C8DB}.Debug|Win32.ActiveCfg = Debug|Win32
{6B6028DA-8702-4853-8FF1-B55BEDD4C8DB}.Debug|Win32.Build.0 = Debug|Win32
{6B6028DA-8702-4853-8FF1-B55BEDD4C8DB}.Debug|x64.ActiveCfg = Debug|x64
{6B6028DA-8702-4853-8FF1-B55BEDD4C8DB}.Debug|x64.Build.0 = Debug|x64
{6B6028DA-8702-4853-8FF1-B55BEDD4C8DB}.Release|Win32.ActiveCfg = Release|Win32
{6B6028DA-8702-4853-8FF1-B55BEDD4C8DB}.Release|Win32.Build.0 = Release|Win32
{6B6028DA-8702-4853-8FF1-B55BEDD4C8DB}.Release|x64.ActiveCfg = Release|x64
{6B6028DA-8702-4853-8FF1-B55BEDD4C8DB}.Release|x64.Build.0 = Release|x64
{4294BC27-91AC-4642-B5E1-042288478C2A}.Debug|Win32.ActiveCfg = Debug|Win32
{4294BC27-91AC-4642-B5E1-042288478C2A}.Debug|Win32.Build.0 = Debug|Win32
{4294BC27-91AC-4642-B5E1-042288478C2A}.Debug|x64.ActiveCfg = Debug|x64
{4294BC27-91AC-4642-B5E1-042288478C2A}.Debug|x64.Build.0 = Debug|x64
{4294BC27-91AC-4642-B5E1-042288478C2A}.Release|Win32.ActiveCfg = Release|Win32
{4294BC27-91AC-4642-B5E1-042288478C2A}.Release|Win32.Build.0 = Release|Win32
{4294BC27-91AC-4642-B5E1-042288478C2A}.Release|x64.ActiveCfg = Release|x64
{4294BC27-91AC-4642-B5E1-042288478C2A}.Release|x64.Build.0 = Release|x64
{53609BB3-D874-465C-AF7B-DF626DB0D89B}.Debug|Win32.ActiveCfg = Debug|Win32
{53609BB3-D874-465C-AF7B-DF626DB0D89B}.Debug|Win32.Build.0 = Debug|Win32
{53609BB3-D874-465C-AF7B-DF626DB0D89B}.Debug|x64.ActiveCfg = Debug|x64
{53609BB3-D874-465C-AF7B-DF626DB0D89B}.Debug|x64.Build.0 = Debug|x64
{53609BB3-D874-465C-AF7B-DF626DB0D89B}.Release|Win32.ActiveCfg = Release|Win32
{53609BB3-D874-465C-AF7B-DF626DB0D89B}.Release|Win32.Build.0 = Release|Win32
{53609BB3-D874-465C-AF7B-DF626DB0D89B}.Release|x64.ActiveCfg = Release|x64
{53609BB3-D874-465C-AF7B-DF626DB0D89B}.Release|x64.Build.0 = Release|x64
{9E046FFE-42C5-4FFA-991A-EA4A7F0E1E1E}.Debug|Win32.ActiveCfg = Debug|Win32
{9E046FFE-42C5-4FFA-991A-EA4A7F0E1E1E}.Debug|Win32.Build.0 = Debug|Win32
{9E046FFE-42C5-4FFA-991A-EA4A7F0E1E1E}.Debug|x64.ActiveCfg = Debug|x64
{9E046FFE-42C5-4FFA-991A-EA4A7F0E1E1E}.Debug|x64.Build.0 = Debug|x64
{9E046FFE-42C5-4FFA-991A-EA4A7F0E1E1E}.Release|Win32.ActiveCfg = Release|Win32
{9E046FFE-42C5-4FFA-991A-EA4A7F0E1E1E}.Release|Win32.Build.0 = Release|Win32
{9E046FFE-42C5-4FFA-991A-EA4A7F0E1E1E}.Release|x64.ActiveCfg = Release|x64
{9E046FFE-42C5-4FFA-991A-EA4A7F0E1E1E}.Release|x64.Build.0 = Release|x64
{1809269E-6E14-47E8-A9D0-147877EBCDBC}.Debug|Win32.ActiveCfg = Debug|Win32
{1809269E-6E14-47E8-A9D0-147877EBCDBC}.Debug|Win32.Build.0 = Debug|Win32
{1809269E-6E14-47E8-A9D0-147877EBCDBC}.Debug|x64.ActiveCfg = Debug|x64
{1809269E-6E14-47E8-A9D0-147877EBCDBC}.Debug|x64.Build.0 = Debug|x64
{1809269E-6E14-47E8-A9D0-147877EBCDBC}.Release|Win32.ActiveCfg = Release|Win32
{1809269E-6E14-47E8-A9D0-147877EBCDBC}.Release|Win32.Build.0 = Release|Win32
{1809269E-6E14-47E8-A9D0-147877EBCDBC}.Release|x64.ActiveCfg = Release|x64
{1809269E-6E14-47E8-A9D0-147877EBCDBC}.Release|x64.Build.0 = Release|x64
{F57D079E-3022-40FA-9BC9-C149D89D9EC9}.Debug|Win32.ActiveCfg = Debug|Win32
{F57D079E-3022-40FA-9BC9-C149D89D9EC9}.Debug|Win32.Build.0 = Debug|Win32
{F57D079E-3022-40FA-9BC9-C149D89D9EC9}.Debug|x64.ActiveCfg = Debug|x64
{F57D079E-3022-40FA-9BC9-C149D89D9EC9}.Debug|x64.Build.0 = Debug|x64
{F57D079E-3022-40FA-9BC9-C149D89D9EC9}.Release|Win32.ActiveCfg = Release|Win32
{F57D079E-3022-40FA-9BC9-C149D89D9EC9}.Release|Win32.Build.0 = Release|Win32
{F57D079E-3022-40FA-9BC9-C149D89D9EC9}.Release|x64.ActiveCfg = Release|x64
{F57D079E-3022-40FA-9BC9-C149D89D9EC9}.Release|x64.Build.0 = Release|x64
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

View File

@ -0,0 +1,177 @@
// Copyright (c) 2007, Rodrigo Braz Monteiro
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the above copyright notice,
// this list of conditions and the following disclaimer.
// * Redistributions in binary form must reproduce the above copyright notice,
// this list of conditions and the following disclaimer in the documentation
// and/or other materials provided with the distribution.
// * Neither the name of the Aegisub Group nor the names of its contributors
// may be used to endorse or promote products derived from this software
// without specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
// POSSIBILITY OF SUCH DAMAGE.
//
// -----------------------------------------------------------------------------
//
// AEGISUB
//
// Website: http://aegisub.cellosoft.com
// Contact: mailto:zeratul@cellosoft.com
//
#pragma once
// Build credit: Set this to a string with your name as you want it to appear on the program
#ifndef BUILD_CREDIT
#define BUILD_CREDIT "Buildbot-ANPAN"
#endif
// Endianness: We don't support any Windows version that runs on big endian
#define HAVE_LITTLE_ENDIAN
#undef HAVE_BIG_ENDIAN
////////////// HIGH PRIORITY /////////////
// Enable Automation
// Requires: Nothing
#define WITH_AUTOMATION
// Enable Automation 4 Lua
// Requires: Lua 5.1 (in repository)
#define WITH_AUTO4_LUA
// Enable Automation 3
// Requires: auto3 dll (in repository), Lua (in repository)
#define WITH_AUTO3
// Enable DirectSound audio player
// Requires: DirectX SDK
#define WITH_DIRECTSOUND
// Enable Avisynth
// Requires: nothing (just the avisynth dlls)
#define WITH_AVISYNTH
///////////// MEDIUM PRIORITY ////////////
// Enable FreeType2 font lister for the fonts collector
// If you're on Visual Studio, also uncomment the library names and make sure they match the files that you have
// Requires: FreeType2
#define WITH_FREETYPE2
#define FT2_LIB_RELEASE "freetype239.lib"
#define FT2_LIB_DEBUG "freetype239_D.lib"
// Enable CSRI, required for styles previews in the style editor and some video providers
// Requires: csri (in repository)
#define WITH_CSRI
// Enable universal charset detector, so Aegisub can automatically detect the encoding of non-unicode subtitles
// Requires: universalcharset (in repository)
#define WITH_UNIVCHARDET
// Enable Hunspell-based spellchecker
// Requires: hunspell (in repository for Win32)
// If you have an old version of Hunspell (that uses Hunspell::put_word() instead of Hunspell::add()),
// uncomment the second line as well.
#define WITH_HUNSPELL
//#define WITH_OLD_HUNSPELL
/////////////// LOW PRIORITY ////////////
// Enable DirectShow video provider
// Requires: DirectShow "baseclasses", DirectX SDK
//#define WITH_DIRECTSHOW
// Enable Perl scripting
// Requires: perl library (ActivePerl comes with one for Visual C++ under lib\core\)
//#define WITH_PERL
// Enable PerlConsole (a debug tool for the perl engine)
// You don't want it
//#define WITH_PERLCONSOLE
///////////// NOT RECOMMENDED /////////////
// Enable FontConfig
// Requires: fontconfig
//#define WITH_FONTCONFIG
// Enable libass
// Requires: libass
//#define WITH_LIBASS
// Enable FFmpeg video and audio decoders
// Requires: libavcodec, libavformat, libswscale, libavutil
// If you compiled static libraries (yes, by default), uncomment the second line as well,
// and remember to add the correct .a files to the linker's additional dependencies.
// #define WITH_FFMPEG
// #define WITH_STATIC_FFMPEG
// Enable ffmpegsource video and audio providers
// Requires: ffmpegsource version 2
//#define WITH_FFMPEGSOURCE
// Enable Ruby support for Automation
// Requires: Ruby 1.9
//#define WITH_RUBY
// Enable PortAudio audio player
// Requires PortAudio release 18
//#define WITH_PORTAUDIO
// Enable PortAudio audio player version 2
// Requires PortAudio release 19
//#define WITH_PORTAUDIO2
// Enable ALSA audio player
// Requires Linux and libasound
//#define WITH_ALSA
// Enable OpenAL audio player
// Requires OpenAL development libraries and headers
//#define WITH_OPENAL
// Enable Pulse Audio audio player
// Requires libpulse (and a *NIX compatible system and a running sound server to actually use)
//#define WITH_PULSEAUDIO