mirror of
https://github.com/cookiengineer/audacity
synced 2026-01-11 07:05:47 +01:00
Provide a much easier way of building wxWidgets
I've added another project to the Audacity solution called wxWidgets-2.8.12. And updated the compile.txt file with instructions on how to build everything. It automatically copies our setup.h and the fixed window.h to the proper locations in the wx build tree. It uses NMAKE to build wxWidgets using the makefile in the wx tree. (No, I did not try to duplicate the wx project files. ;-)) Give it a try. I think you'll be surprised how easy it will be for new users.
This commit is contained in:
81
win/Projects/wxWidgets-2.8.12/wxWidgets-2.8.12.vcxproj
Executable file
81
win/Projects/wxWidgets-2.8.12/wxWidgets-2.8.12.vcxproj
Executable file
@@ -0,0 +1,81 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|Win32">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|Win32">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{D7B6910F-2AAB-4600-97FF-FE704897C448}</ProjectGuid>
|
||||
<Keyword>MakeFileProj</Keyword>
|
||||
<ProjectName>wxWidgets-2.8.12</ProjectName>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Makefile</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Makefile</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<NMakePreprocessorDefinitions>
|
||||
</NMakePreprocessorDefinitions>
|
||||
<NMakeBuildCommandLine>copy "$(SolutionDir)\wxWidgets_additions\setup.h" "$(WXWIN)\include\wx\msw\setup.h"
|
||||
copy "$(SolutionDir)\wxWidgets_additions\window.cpp" "$(WXWIN)\src/msw/window.cpp"
|
||||
cd "$(WXWIN)\build\msw"
|
||||
nmake -f makefile.vc SHARED=1 UNICODE=1 BUILD=debug
|
||||
nmake -f makefile.vc SHARED=1 UNICODE=1 BUILD=release</NMakeBuildCommandLine>
|
||||
<NMakeReBuildCommandLine>cd "$(WXWIN)\build\msw"
|
||||
nmake -f makefile.vc SHARED=1 UNICODE=1 BUILD=debug clean
|
||||
nmake -f makefile.vc SHARED=1 UNICODE=1 BUILD=release clean
|
||||
nmake -f makefile.vc SHARED=1 UNICODE=1 BUILD=debug
|
||||
nmake -f makefile.vc SHARED=1 UNICODE=1 BUILD=release</NMakeReBuildCommandLine>
|
||||
<NMakeCleanCommandLine>cd "$(WXWIN)\build\msw"
|
||||
nmake -f makefile.vc SHARED=1 UNICODE=1 BUILD=debug clean
|
||||
nmake -f makefile.vc SHARED=1 UNICODE=1 BUILD=release clean</NMakeCleanCommandLine>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<NMakePreprocessorDefinitions>
|
||||
</NMakePreprocessorDefinitions>
|
||||
<NMakeBuildCommandLine>copy "$(SolutionDir)\wxWidgets_additions\setup.h" "$(WXWIN)\include\wx\msw\setup.h"
|
||||
copy "$(SolutionDir)\wxWidgets_additions\window.cpp" "$(WXWIN)\src/msw/window.cpp"
|
||||
cd "$(WXWIN)\build\msw"
|
||||
nmake -f makefile.vc SHARED=1 UNICODE=1 BUILD=debug
|
||||
nmake -f makefile.vc SHARED=1 UNICODE=1 BUILD=release</NMakeBuildCommandLine>
|
||||
<NMakeReBuildCommandLine>cd "$(WXWIN)\build\msw"
|
||||
nmake -f makefile.vc SHARED=1 UNICODE=1 BUILD=debug clean
|
||||
nmake -f makefile.vc SHARED=1 UNICODE=1 BUILD=release clean
|
||||
nmake -f makefile.vc SHARED=1 UNICODE=1 BUILD=debug
|
||||
nmake -f makefile.vc SHARED=1 UNICODE=1 BUILD=release</NMakeReBuildCommandLine>
|
||||
<NMakeCleanCommandLine>cd "$(WXWIN)\build\msw"
|
||||
nmake -f makefile.vc SHARED=1 UNICODE=1 BUILD=debug clean
|
||||
nmake -f makefile.vc SHARED=1 UNICODE=1 BUILD=release clean</NMakeCleanCommandLine>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<Text Include="readme.txt" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
||||
20
win/Projects/wxWidgets-2.8.12/wxWidgets-2.8.12.vcxproj.filters
Executable file
20
win/Projects/wxWidgets-2.8.12/wxWidgets-2.8.12.vcxproj.filters
Executable file
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup>
|
||||
<Filter Include="Source Files">
|
||||
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
|
||||
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
|
||||
</Filter>
|
||||
<Filter Include="Header Files">
|
||||
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
|
||||
<Extensions>h;hh;hpp;hxx;hm;inl;inc;xsd</Extensions>
|
||||
</Filter>
|
||||
<Filter Include="Resource Files">
|
||||
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
|
||||
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
|
||||
</Filter>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Text Include="readme.txt" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
Reference in New Issue
Block a user