forked from mia/Aegisub
Drop support for config_windows.h
This commit is contained in:
parent
0aba5206c0
commit
5db559265f
5 changed files with 14 additions and 199 deletions
|
@ -36,7 +36,6 @@
|
||||||
<!-- Default settings for build-time options -->
|
<!-- Default settings for build-time options -->
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<AegisubUseConfigWindowsH Condition="'$(AegisubUseConfigWindowsH)'==''">true</AegisubUseConfigWindowsH>
|
|
||||||
<AegisubUseDSound Condition="'$(AegisubUseDSound)'==''">true</AegisubUseDSound>
|
<AegisubUseDSound Condition="'$(AegisubUseDSound)'==''">true</AegisubUseDSound>
|
||||||
<DirectXSDKPath Condition="'$(DirectXSDKPath)'==''">$(DXSDK_DIR)</DirectXSDKPath>
|
<DirectXSDKPath Condition="'$(DirectXSDKPath)'==''">$(DXSDK_DIR)</DirectXSDKPath>
|
||||||
<AegisubUseAvisynth Condition="'$(AegisubUseAvisynth)|$(Platform)'=='|Win32'">true</AegisubUseAvisynth>
|
<AegisubUseAvisynth Condition="'$(AegisubUseAvisynth)|$(Platform)'=='|Win32'">true</AegisubUseAvisynth>
|
||||||
|
|
|
@ -61,13 +61,12 @@
|
||||||
/>
|
/>
|
||||||
</Target>
|
</Target>
|
||||||
|
|
||||||
|
|
||||||
<!-- Default configuration -->
|
<!-- Default configuration -->
|
||||||
<Import Project="$(MSBuildThisFileDirectory)Aegisub.DefaultConfiguration.props" />
|
<Import Project="$(MSBuildThisFileDirectory)Aegisub.DefaultConfiguration.props" />
|
||||||
|
|
||||||
|
|
||||||
<!-- Build credit text -->
|
<!-- Build credit text -->
|
||||||
<PropertyGroup Condition="'$(AegisubUseConfigWindowsH)'=='false' and '$(AegisubBuildCredit)'==''">
|
<PropertyGroup Condition="'$(AegisubBuildCredit)'==''">
|
||||||
<AegisubBuildCredit>Anonymous</AegisubBuildCredit>
|
<AegisubBuildCredit>Anonymous</AegisubBuildCredit>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemDefinitionGroup Condition="'$(AegisubBuildCredit)'!=''">
|
<ItemDefinitionGroup Condition="'$(AegisubBuildCredit)'!=''">
|
||||||
|
@ -76,24 +75,10 @@
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
|
|
||||||
<!-- Skip config_windows.h support -->
|
|
||||||
<ItemDefinitionGroup Condition="'$(AegisubUseConfigWindowsH)'=='false'">
|
|
||||||
<ClCompile>
|
|
||||||
<PreprocessorDefinitions>BUILD_SKIP_CONFIG_WINDOWS_H;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
||||||
</ClCompile>
|
|
||||||
</ItemDefinitionGroup>
|
|
||||||
<!-- Use config_windows.h support -->
|
|
||||||
<ItemGroup Condition="'$(AegisubUseConfigWindowsH)'!='false'">
|
|
||||||
<CreateDefaultConfigurationHeader Include="$(AegisubSourceBase)src\config\config_windows.h">
|
|
||||||
<TemplateFile>$(AegisubSourceBase)src\config\config_windows0.h</TemplateFile>
|
|
||||||
<TargetFile>$(AegisubSourceBase)src\config\config_windows.h</TargetFile>
|
|
||||||
</CreateDefaultConfigurationHeader>
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
<!-- Automation Lua support -->
|
<!-- Automation Lua support -->
|
||||||
<ItemDefinitionGroup>
|
<ItemDefinitionGroup>
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
<PreprocessorDefinitions Condition="'$(AegisubUseConfigWindowsH)'=='false'">WITH_AUTO4_LUA;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>WITH_AUTO4_LUA;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<AdditionalIncludeDirectories>$(AegisubContribBase)lua51\src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>$(AegisubContribBase)lua51\src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
|
@ -101,7 +86,7 @@
|
||||||
<!-- Hunspell support -->
|
<!-- Hunspell support -->
|
||||||
<ItemDefinitionGroup>
|
<ItemDefinitionGroup>
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
<PreprocessorDefinitions Condition="'$(AegisubUseConfigWindowsH)'=='false'">WITH_HUNSPELL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>WITH_HUNSPELL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<AdditionalIncludeDirectories>$(AegisubContribBase)hunspell\src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>$(AegisubContribBase)hunspell\src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
|
@ -109,14 +94,14 @@
|
||||||
<!-- CSRI helper library support -->
|
<!-- CSRI helper library support -->
|
||||||
<ItemDefinitionGroup Condition="'$(AegisubUseCsri)'=='HelperLibrary'">
|
<ItemDefinitionGroup Condition="'$(AegisubUseCsri)'=='HelperLibrary'">
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
<PreprocessorDefinitions Condition="'$(AegisubUseConfigWindowsH)'=='false'">WITH_CSRI;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>WITH_CSRI;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
|
|
||||||
<!-- CSRI external library support -->
|
<!-- CSRI external library support -->
|
||||||
<ItemDefinitionGroup Condition="'$(AegisubUseCsri)'=='External'">
|
<ItemDefinitionGroup Condition="'$(AegisubUseCsri)'=='External'">
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
<PreprocessorDefinitions Condition="'$(AegisubUseConfigWindowsH)'=='false'">WITH_CSRI;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>WITH_CSRI;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<Link>
|
<Link>
|
||||||
<AdditionalLibraryDirectories>$(CsriLibraryPath);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
<AdditionalLibraryDirectories>$(CsriLibraryPath);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||||
|
@ -127,7 +112,7 @@
|
||||||
<!-- libass support -->
|
<!-- libass support -->
|
||||||
<ItemDefinitionGroup Condition="'$(AegisubUseLibass)'=='true'">
|
<ItemDefinitionGroup Condition="'$(AegisubUseLibass)'=='true'">
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
<PreprocessorDefinitions Condition="'$(AegisubUseConfigWindowsH)'=='false'">WITH_LIBASS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>WITH_LIBASS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<AdditionalIncludeDirectories>$(LibassIncludePath);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>$(LibassIncludePath);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<Link>
|
<Link>
|
||||||
|
@ -139,7 +124,7 @@
|
||||||
<!-- Freetype 2 support -->
|
<!-- Freetype 2 support -->
|
||||||
<ItemDefinitionGroup Condition="'$(AegisubUseFreetype2)'=='true'">
|
<ItemDefinitionGroup Condition="'$(AegisubUseFreetype2)'=='true'">
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
<PreprocessorDefinitions Condition="'$(AegisubUseConfigWindowsH)'=='false'">WITH_FREETYPE2;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>WITH_FREETYPE2;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<AdditionalIncludeDirectories>$(Ft2IncludePath);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>$(Ft2IncludePath);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<Link>
|
<Link>
|
||||||
|
@ -151,7 +136,7 @@
|
||||||
<!-- FFmpegSource support -->
|
<!-- FFmpegSource support -->
|
||||||
<ItemDefinitionGroup Condition="'$(AegisubUseFfms)'=='true'">
|
<ItemDefinitionGroup Condition="'$(AegisubUseFfms)'=='true'">
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
<PreprocessorDefinitions Condition="'$(AegisubUseConfigWindowsH)'=='false'">WITH_FFMS2;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>WITH_FFMS2;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<AdditionalIncludeDirectories>$(FFmpegSourceIncludePath);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>$(FFmpegSourceIncludePath);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<Link>
|
<Link>
|
||||||
|
@ -163,14 +148,14 @@
|
||||||
<!-- Avisynth support -->
|
<!-- Avisynth support -->
|
||||||
<ItemDefinitionGroup Condition="'$(AegisubUseAvisynth)'=='true'">
|
<ItemDefinitionGroup Condition="'$(AegisubUseAvisynth)'=='true'">
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
<PreprocessorDefinitions Condition="'$(AegisubUseConfigWindowsH)'=='false'">WITH_AVISYNTH;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>WITH_AVISYNTH;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
|
|
||||||
<!-- FFTW support -->
|
<!-- FFTW support -->
|
||||||
<ItemDefinitionGroup Condition="'$(AegisubUseFftw)'=='true'">
|
<ItemDefinitionGroup Condition="'$(AegisubUseFftw)'=='true'">
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
<PreprocessorDefinitions Condition="'$(AegisubUseConfigWindowsH)'=='false'">WITH_FFTW3;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>WITH_FFTW3;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<AdditionalIncludeDirectories>$(FftwIncludePath);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>$(FftwIncludePath);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<Link>
|
<Link>
|
||||||
|
@ -185,7 +170,7 @@
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemDefinitionGroup Condition="'$(AegisubUseDSound)'=='true'">
|
<ItemDefinitionGroup Condition="'$(AegisubUseDSound)'=='true'">
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
<PreprocessorDefinitions Condition="'$(AegisubUseConfigWindowsH)'=='false'">WITH_DIRECTSOUND;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>WITH_DIRECTSOUND;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<AdditionalIncludeDirectories>$(DXSDK_DIR)\Include\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>$(DXSDK_DIR)\Include\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<Link>
|
<Link>
|
||||||
|
@ -205,7 +190,7 @@
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<!-- Special builds -->
|
<!-- Special builds -->
|
||||||
<ItemDefinitionGroup Condition="'$(AegisubUseConfigWindowsH)'=='false'">
|
<ItemDefinitionGroup>
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
<PreprocessorDefinitions Condition="'$(AegisubSpecialBuild)'=='FinalRelease'">FINAL_RELEASE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions Condition="'$(AegisubSpecialBuild)'=='FinalRelease'">FINAL_RELEASE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<PreprocessorDefinitions Condition="'$(AegisubSpecialBuild)'=='StartupLog'">WITH_STARTUPLOG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions Condition="'$(AegisubSpecialBuild)'=='StartupLog'">WITH_STARTUPLOG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
|
|
@ -47,13 +47,6 @@
|
||||||
<Category Name="BuildInfo" DisplayName="Build information" Description="Embed build information" />
|
<Category Name="BuildInfo" DisplayName="Build information" Description="Embed build information" />
|
||||||
</Rule.Categories>
|
</Rule.Categories>
|
||||||
|
|
||||||
<BoolProperty
|
|
||||||
Name="AegisubUseConfigWindowsH"
|
|
||||||
Category="Features"
|
|
||||||
DisplayName="Use config_windows.h"
|
|
||||||
Description="Specify whether to use config_windows.h or the configuration on this page to control features. The settings on this page still control automatic compiler and link settings for the features."
|
|
||||||
/>
|
|
||||||
|
|
||||||
<BoolProperty
|
<BoolProperty
|
||||||
Name="AegisubUseDSound"
|
Name="AegisubUseDSound"
|
||||||
Category="Features"
|
Category="Features"
|
||||||
|
|
|
@ -1,23 +1,6 @@
|
||||||
#ifndef AGI_PRE
|
#ifndef AGI_PRE
|
||||||
|
#ifndef _WIN32
|
||||||
#ifdef _WIN32
|
|
||||||
|
|
||||||
// Define min and max macros to identity.
|
|
||||||
// This will prevent WinDef.h defining them to functions, which prevents
|
|
||||||
// using std::min and std::max.
|
|
||||||
#define min min
|
|
||||||
#define max max
|
|
||||||
|
|
||||||
// Windows specific settings
|
|
||||||
#ifndef BUILD_SKIP_CONFIG_WINDOWS_H
|
|
||||||
#include "config/config_windows.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#else
|
|
||||||
|
|
||||||
// Generated by configure.in
|
// Generated by configure.in
|
||||||
#include "../acconf.h"
|
#include "../acconf.h"
|
||||||
|
#endif
|
||||||
#endif // __WINDOWS__
|
|
||||||
|
|
||||||
#endif // AGI_PRE
|
#endif // AGI_PRE
|
||||||
|
|
|
@ -1,145 +0,0 @@
|
||||||
// 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 Project http://www.aegisub.org/
|
|
||||||
|
|
||||||
/// @file config/config_windows0.h
|
|
||||||
/// @brief Base configuration for Windows builds, to be copied to config_windows.h and edited by the developer
|
|
||||||
/// @ingroup build
|
|
||||||
///
|
|
||||||
|
|
||||||
#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 "Anonymous"
|
|
||||||
#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 4 Lua
|
|
||||||
// Requires: Lua 5.1 (in repository)
|
|
||||||
#define WITH_AUTO4_LUA
|
|
||||||
|
|
||||||
// Enable DirectSound audio player
|
|
||||||
// Requires: DirectX SDK
|
|
||||||
#define WITH_DIRECTSOUND
|
|
||||||
#ifdef WITH_DIRECTSOUND
|
|
||||||
#pragma comment(lib, "dsound.lib")
|
|
||||||
#pragma comment(lib, "dxguid.lib")
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// Enable Avisynth
|
|
||||||
// Requires: nothing (just the avisynth dlls at runtime)
|
|
||||||
#define WITH_AVISYNTH
|
|
||||||
|
|
||||||
|
|
||||||
// Enable FFMS2 video and audio providers
|
|
||||||
// Requires: FFMS2 SDK
|
|
||||||
//#define WITH_FFMS2
|
|
||||||
#ifdef WITH_FFMS2
|
|
||||||
#pragma comment(lib, "ffms2.lib")
|
|
||||||
#endif
|
|
||||||
|
|
||||||
///////////// MEDIUM PRIORITY ////////////
|
|
||||||
|
|
||||||
// Enable CSRI, required for styles previews in the style editor and some video providers
|
|
||||||
// Requires: csri (in repository)
|
|
||||||
#define WITH_CSRI
|
|
||||||
|
|
||||||
|
|
||||||
// Enable Hunspell-based spellchecker
|
|
||||||
// Requires: hunspell (in repository for Win32)
|
|
||||||
#define WITH_HUNSPELL
|
|
||||||
|
|
||||||
|
|
||||||
// Use FFTW instead of shipped FFT code
|
|
||||||
// FFTW <http://fftw.org/> is a very fast library for computing the discrete fourier transform, but is a bit
|
|
||||||
// tricky to get working on Windows, and has the additional problem of being GPL licensed.
|
|
||||||
// Enable this option to use FFTW to get faster rendering of the audio spectrogram
|
|
||||||
//#define WITH_FFTW3
|
|
||||||
#ifdef WITH_FFTW3
|
|
||||||
#pragma comment(lib,libfftw.lib)
|
|
||||||
#endif
|
|
||||||
// Specify tags the update checker accepts
|
|
||||||
// See <http://devel.aegisub.org/wiki/Technical/UpdateChecker> for details on tags.
|
|
||||||
// Depending on who will be using your build, you may or may not want to have the
|
|
||||||
// "source" tag in here. If the string is empty, the update checker will reject any
|
|
||||||
// update offered.
|
|
||||||
#if defined(_M_IX86)
|
|
||||||
# define UPDATE_CHECKER_ACCEPT_TAGS "windows source"
|
|
||||||
#elif defined(_M_X64)
|
|
||||||
# define UPDATE_CHECKER_ACCEPT_TAGS "win64 source"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// Where the update checker should look for updates
|
|
||||||
#define UPDATE_CHECKER_SERVER "updates.aegisub.org"
|
|
||||||
#define UPDATE_CHECKER_BASE_URL "/trunk"
|
|
||||||
|
|
||||||
///////////// NOT RECOMMENDED /////////////
|
|
||||||
|
|
||||||
// Enable FontConfig
|
|
||||||
// Requires: fontconfig
|
|
||||||
//#define WITH_FONTCONFIG
|
|
||||||
#ifdef WITH_FONTCONFIG
|
|
||||||
#define WITH_FREETYPE2
|
|
||||||
#pragma comment(lib,"libfontconfig.lib")
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// Enable libass
|
|
||||||
// Requires: libass
|
|
||||||
//#define WITH_LIBASS
|
|
||||||
#ifdef WITH_LIBASS
|
|
||||||
#pragma comment(lib, "libass.lib")
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// Enable PortAudio audio player
|
|
||||||
// Requires PortAudio release 19
|
|
||||||
//#define WITH_PORTAUDIO
|
|
||||||
#ifdef WITH_PORTAUDIO
|
|
||||||
#pragma comment(lib,"portaudio_x86.lib")
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// 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_LIBPULSE
|
|
||||||
|
|
||||||
// Display trace-level diagnostic messages during startup
|
|
||||||
// Only enable for making special builds for end users having trouble with starting Aegisub
|
|
||||||
//#define WITH_STARTUPLOG
|
|
Loading…
Reference in a new issue