diff --git a/.gitignore b/.gitignore index e371448d..c5fac6fa 100644 --- a/.gitignore +++ b/.gitignore @@ -22,7 +22,7 @@ Makefile.in aclocal.m4 autom4te.cache/ compile -config.* +./config.* configure depcomp install-sh @@ -44,7 +44,6 @@ libespeak-ng.so* # build output *.html -*.exe src/espeak-ng.1 src/speak-ng.1 @@ -53,6 +52,24 @@ src/espeak-ng src/espeakedit src/speak-ng +# Windows builds + +!src/windows/config.h + +*.obj +*.dll +*.exe + +*.idb +*.pdb +*.ilk +*.log +*.tlog/ + +.vs/ +*.VC.opendb +*.sdf + # Linux/Source distribution files praat-mod/ diff --git a/src/windows/config.h b/src/windows/config.h new file mode 100644 index 00000000..0f99b868 --- /dev/null +++ b/src/windows/config.h @@ -0,0 +1,12 @@ +// The Visual C++ C Runtime deprecates several standard library functions in +// preference for _s variants that are specific to Visual C++. This removes +// those deprecation warnings. +#define _CRT_SECURE_NO_WARNINGS + +// The Visual C++ C Runtime deprecates standard POSIX APIs that conflict with +// reserved ISO C names (like strdup) in favour of non-portable conforming +// variants that start with an '_'. This removes those deprecation warnings. +#define _CRT_NONSTDC_NO_DEPRECATE + +// Visual C++ 2010 and later support . +#define HAVE_STDINT_H 1 \ No newline at end of file diff --git a/src/windows/espeak-ng.sln b/src/windows/espeak-ng.sln new file mode 100644 index 00000000..6c12572a --- /dev/null +++ b/src/windows/espeak-ng.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 14 +VisualStudioVersion = 14.0.24720.0 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libespeak-ng", "libespeak-ng.vcxproj", "{A47A0CFD-FE52-40B4-8CEC-EE1BD4282CDD}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x64 = Debug|x64 + Debug|x86 = Debug|x86 + Release|x64 = Release|x64 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {A47A0CFD-FE52-40B4-8CEC-EE1BD4282CDD}.Debug|x64.ActiveCfg = Debug|x64 + {A47A0CFD-FE52-40B4-8CEC-EE1BD4282CDD}.Debug|x64.Build.0 = Debug|x64 + {A47A0CFD-FE52-40B4-8CEC-EE1BD4282CDD}.Debug|x86.ActiveCfg = Debug|Win32 + {A47A0CFD-FE52-40B4-8CEC-EE1BD4282CDD}.Debug|x86.Build.0 = Debug|Win32 + {A47A0CFD-FE52-40B4-8CEC-EE1BD4282CDD}.Release|x64.ActiveCfg = Release|x64 + {A47A0CFD-FE52-40B4-8CEC-EE1BD4282CDD}.Release|x64.Build.0 = Release|x64 + {A47A0CFD-FE52-40B4-8CEC-EE1BD4282CDD}.Release|x86.ActiveCfg = Release|Win32 + {A47A0CFD-FE52-40B4-8CEC-EE1BD4282CDD}.Release|x86.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/src/windows/libespeak-ng.vcxproj b/src/windows/libespeak-ng.vcxproj new file mode 100644 index 00000000..c240d49c --- /dev/null +++ b/src/windows/libespeak-ng.vcxproj @@ -0,0 +1,185 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + Debug + x64 + + + Release + x64 + + + + {A47A0CFD-FE52-40B4-8CEC-EE1BD4282CDD} + Win32Proj + libespeakng + 8.1 + + + + DynamicLibrary + true + v140 + Unicode + + + DynamicLibrary + false + v140 + true + Unicode + + + DynamicLibrary + true + v140 + Unicode + + + DynamicLibrary + false + v140 + true + Unicode + + + + + + + + + + + + + + + + + + + + + true + + + true + + + false + + + false + + + + + + Level3 + Disabled + $(ProjectDir);$(ProjectDir)/../include + _WINDLL;%(PreprocessorDefinitions) + + + Windows + true + + + + + + + Level3 + Disabled + _DEBUG;_WINDOWS;_USRDLL;LIBESPEAKNG_EXPORTS;%(PreprocessorDefinitions) + + + Windows + true + + + + + Level3 + + + MaxSpeed + true + true + $(ProjectDir);$(ProjectDir)/../include + _WINDLL;%(PreprocessorDefinitions) + + + Windows + true + true + true + + + + + Level3 + + + MaxSpeed + true + true + NDEBUG;_WINDOWS;_USRDLL;LIBESPEAKNG_EXPORTS;%(PreprocessorDefinitions) + + + Windows + true + true + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/windows/libespeak-ng.vcxproj.filters b/src/windows/libespeak-ng.vcxproj.filters new file mode 100644 index 00000000..a0fce69c --- /dev/null +++ b/src/windows/libespeak-ng.vcxproj.filters @@ -0,0 +1,120 @@ + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hh;hpp;hxx;hm;inl;inc;xsd + + + {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} + rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms + + + {7bec9d7b-17d5-4ff3-b0c8-0b6f746548a3} + + + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files\api + + + Header Files\api + + + Header Files + + + Header Files + + + Header Files + + + \ No newline at end of file