mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-08 09:36:24 +01:00
Mac: script to build wx 3.1.1 & change xcodeproj to use 10.7 minimum
This commit is contained in:
@@ -8493,10 +8493,7 @@
|
|||||||
isa = XCBuildConfiguration;
|
isa = XCBuildConfiguration;
|
||||||
buildSettings = {
|
buildSettings = {
|
||||||
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
|
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
|
||||||
CLANG_CXX_LANGUAGE_STANDARD = "c++1z";
|
CLANG_CXX_LANGUAGE_STANDARD = "c++0x";
|
||||||
"CLANG_CXX_LANGUAGE_STANDARD[sdk=macosx10.6]" = "c++11";
|
|
||||||
"CLANG_CXX_LANGUAGE_STANDARD[sdk=macosx10.7]" = "c++1z";
|
|
||||||
"CLANG_CXX_LIBRARY[sdk=macosx10.6]" = "libstdc++";
|
|
||||||
"CLANG_CXX_LIBRARY[sdk=macosx10.7]" = "libc++";
|
"CLANG_CXX_LIBRARY[sdk=macosx10.7]" = "libc++";
|
||||||
CONFIG_DEBUG = yes;
|
CONFIG_DEBUG = yes;
|
||||||
CONFIG_FLAGS = "";
|
CONFIG_FLAGS = "";
|
||||||
@@ -8515,7 +8512,7 @@
|
|||||||
"-Xlinker",
|
"-Xlinker",
|
||||||
"-headerpad_max_install_names",
|
"-headerpad_max_install_names",
|
||||||
);
|
);
|
||||||
SDKROOT = macosx10.6;
|
SDKROOT = macosx10.7;
|
||||||
SSE_CPPFLAGS = "-Xarch_i386 -DAPPLE_I386";
|
SSE_CPPFLAGS = "-Xarch_i386 -DAPPLE_I386";
|
||||||
TOPLEVEL = ..;
|
TOPLEVEL = ..;
|
||||||
WARNING_CFLAGS = "";
|
WARNING_CFLAGS = "";
|
||||||
@@ -8525,7 +8522,7 @@
|
|||||||
WX_FLAVOR = debug;
|
WX_FLAVOR = debug;
|
||||||
WX_LDFLAGS = "-L$(WX_PREFIX)/lib -lwx_osx_cocoau_$(WX_FLAVOR)_xrc-$(WX_VER) -lwx_osx_cocoau_$(WX_FLAVOR)_webview-$(WX_VER) -lwx_osx_cocoau_$(WX_FLAVOR)_html-$(WX_VER) -lwx_osx_cocoau_$(WX_FLAVOR)_qa-$(WX_VER) -lwx_osx_cocoau_$(WX_FLAVOR)_adv-$(WX_VER) -lwx_osx_cocoau_$(WX_FLAVOR)_core-$(WX_VER) -lwx_baseu_$(WX_FLAVOR)_xml-$(WX_VER) -lwx_baseu_$(WX_FLAVOR)_net-$(WX_VER) -lwx_baseu_$(WX_FLAVOR)-$(WX_VER)";
|
WX_LDFLAGS = "-L$(WX_PREFIX)/lib -lwx_osx_cocoau_$(WX_FLAVOR)_xrc-$(WX_VER) -lwx_osx_cocoau_$(WX_FLAVOR)_webview-$(WX_VER) -lwx_osx_cocoau_$(WX_FLAVOR)_html-$(WX_VER) -lwx_osx_cocoau_$(WX_FLAVOR)_qa-$(WX_VER) -lwx_osx_cocoau_$(WX_FLAVOR)_adv-$(WX_VER) -lwx_osx_cocoau_$(WX_FLAVOR)_core-$(WX_VER) -lwx_baseu_$(WX_FLAVOR)_xml-$(WX_VER) -lwx_baseu_$(WX_FLAVOR)_net-$(WX_VER) -lwx_baseu_$(WX_FLAVOR)-$(WX_VER)";
|
||||||
WX_PREFIX = /usr/local;
|
WX_PREFIX = /usr/local;
|
||||||
WX_VER = 3.0;
|
WX_VER = 3.1;
|
||||||
ZERO_LINK = NO;
|
ZERO_LINK = NO;
|
||||||
};
|
};
|
||||||
name = Debug;
|
name = Debug;
|
||||||
@@ -8820,10 +8817,7 @@
|
|||||||
isa = XCBuildConfiguration;
|
isa = XCBuildConfiguration;
|
||||||
buildSettings = {
|
buildSettings = {
|
||||||
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
|
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
|
||||||
CLANG_CXX_LANGUAGE_STANDARD = "c++1z";
|
CLANG_CXX_LANGUAGE_STANDARD = "c++0x";
|
||||||
"CLANG_CXX_LANGUAGE_STANDARD[sdk=macosx10.6]" = "c++11";
|
|
||||||
"CLANG_CXX_LANGUAGE_STANDARD[sdk=macosx10.7]" = "c++1z";
|
|
||||||
"CLANG_CXX_LIBRARY[sdk=macosx10.6]" = "libstdc++";
|
|
||||||
"CLANG_CXX_LIBRARY[sdk=macosx10.7]" = "libc++";
|
"CLANG_CXX_LIBRARY[sdk=macosx10.7]" = "libc++";
|
||||||
CONFIG_DEBUG = no;
|
CONFIG_DEBUG = no;
|
||||||
CONFIG_FLAGS = "";
|
CONFIG_FLAGS = "";
|
||||||
@@ -8842,7 +8836,7 @@
|
|||||||
"-Xlinker",
|
"-Xlinker",
|
||||||
"-headerpad_max_install_names",
|
"-headerpad_max_install_names",
|
||||||
);
|
);
|
||||||
SDKROOT = macosx10.6;
|
SDKROOT = macosx10.7;
|
||||||
SSE_CPPFLAGS = "-Xarch_i386 -DAPPLE_I386";
|
SSE_CPPFLAGS = "-Xarch_i386 -DAPPLE_I386";
|
||||||
TOPLEVEL = ..;
|
TOPLEVEL = ..;
|
||||||
WARNING_CFLAGS = "";
|
WARNING_CFLAGS = "";
|
||||||
@@ -8852,7 +8846,7 @@
|
|||||||
WX_FLAVOR = release;
|
WX_FLAVOR = release;
|
||||||
WX_LDFLAGS = "-L$(WX_PREFIX)/lib -lwx_osx_cocoau_$(WX_FLAVOR)_xrc-$(WX_VER) -lwx_osx_cocoau_$(WX_FLAVOR)_webview-$(WX_VER) -lwx_osx_cocoau_$(WX_FLAVOR)_html-$(WX_VER) -lwx_osx_cocoau_$(WX_FLAVOR)_qa-$(WX_VER) -lwx_osx_cocoau_$(WX_FLAVOR)_adv-$(WX_VER) -lwx_osx_cocoau_$(WX_FLAVOR)_core-$(WX_VER) -lwx_baseu_$(WX_FLAVOR)_xml-$(WX_VER) -lwx_baseu_$(WX_FLAVOR)_net-$(WX_VER) -lwx_baseu_$(WX_FLAVOR)-$(WX_VER)";
|
WX_LDFLAGS = "-L$(WX_PREFIX)/lib -lwx_osx_cocoau_$(WX_FLAVOR)_xrc-$(WX_VER) -lwx_osx_cocoau_$(WX_FLAVOR)_webview-$(WX_VER) -lwx_osx_cocoau_$(WX_FLAVOR)_html-$(WX_VER) -lwx_osx_cocoau_$(WX_FLAVOR)_qa-$(WX_VER) -lwx_osx_cocoau_$(WX_FLAVOR)_adv-$(WX_VER) -lwx_osx_cocoau_$(WX_FLAVOR)_core-$(WX_VER) -lwx_baseu_$(WX_FLAVOR)_xml-$(WX_VER) -lwx_baseu_$(WX_FLAVOR)_net-$(WX_VER) -lwx_baseu_$(WX_FLAVOR)-$(WX_VER)";
|
||||||
WX_PREFIX = /usr/local;
|
WX_PREFIX = /usr/local;
|
||||||
WX_VER = 3.0;
|
WX_VER = 3.1;
|
||||||
ZERO_LINK = NO;
|
ZERO_LINK = NO;
|
||||||
};
|
};
|
||||||
name = Release;
|
name = Release;
|
||||||
|
|||||||
@@ -6,9 +6,9 @@
|
|||||||
# sudo <path to this script>/build_wxwidgets
|
# sudo <path to this script>/build_wxwidgets
|
||||||
#
|
#
|
||||||
|
|
||||||
# Currently, Audacity is built using the 10.6 SDK, but you may choose to target
|
# Currently, Audacity is built using the 10.7 SDK, but you may choose to target
|
||||||
# 10.7 or greater by changing this variable.
|
# 10.8 or greater by changing this variable.
|
||||||
min=10.6
|
min=10.7
|
||||||
|
|
||||||
# You shouldn't need to change this, but just in case you put Xcode in a non-standard
|
# You shouldn't need to change this, but just in case you put Xcode in a non-standard
|
||||||
# location, update this appropriately.
|
# location, update this appropriately.
|
||||||
@@ -52,8 +52,7 @@ function bld
|
|||||||
shift
|
shift
|
||||||
|
|
||||||
../configure --disable-accessibility \
|
../configure --disable-accessibility \
|
||||||
--disable-compat26 \
|
--enable-macosx-arch=i386 \
|
||||||
--disable-compat28 \
|
|
||||||
--with-expat=builtin \
|
--with-expat=builtin \
|
||||||
--with-zlib=builtin \
|
--with-zlib=builtin \
|
||||||
--with-regex=builtin \
|
--with-regex=builtin \
|
||||||
@@ -77,8 +76,8 @@ function inst
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Build all configurations
|
# Build all configurations
|
||||||
bld bld_debug --enable-debug=yes --enable-static=no --enable-shared=yes --with-flavour=debug
|
bld bld_debug --enable-debug=yes --enable-shared=yes --with-flavour=debug
|
||||||
bld bld_release --enable-debug=no --enable-static=no --enable-shared=yes --with-flavour=release
|
bld bld_release --enable-debug=no --enable-shared=yes --with-flavour=release
|
||||||
|
|
||||||
# Install all configurations
|
# Install all configurations
|
||||||
inst bld_debug
|
inst bld_debug
|
||||||
|
|||||||
Reference in New Issue
Block a user