[vlc-devel] commit: macosx: modernise framework compilation flags ( Felix Paul Kühne )
git version control
git at videolan.org
Fri Jul 31 11:06:44 CEST 2009
vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Fri Jul 31 10:57:48 2009 +0200| [6330b73344f8a433ec648f468db405a58a4b97fc] | committer: Felix Paul Kühne
macosx: modernise framework compilation flags
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6330b73344f8a433ec648f468db405a58a4b97fc
---
.../framework/VLCKit.xcodeproj/project.pbxproj | 21 +++++++++++++++++--
1 files changed, 18 insertions(+), 3 deletions(-)
diff --git a/projects/macosx/framework/VLCKit.xcodeproj/project.pbxproj b/projects/macosx/framework/VLCKit.xcodeproj/project.pbxproj
index 3f6b018..7997498 100644
--- a/projects/macosx/framework/VLCKit.xcodeproj/project.pbxproj
+++ b/projects/macosx/framework/VLCKit.xcodeproj/project.pbxproj
@@ -553,6 +553,7 @@
1DEB91AE08733DA50010E9CD /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
+ ARCHS = "$(NATIVE_ARCH)";
COPY_PHASE_STRIP = NO;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
@@ -560,10 +561,11 @@
GCC_DYNAMIC_NO_PIC = NO;
GCC_ENABLE_FIX_AND_CONTINUE = YES;
GCC_ENABLE_OBJC_EXCEPTIONS = YES;
- GCC_MODEL_TUNING = G5;
+ GCC_MODEL_TUNING = "";
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = VLC_Prefix.pch;
+ GCC_VERSION = com.apple.compilers.llvmgcc42;
HEADER_SEARCH_PATHS = (
"$(VLC_SRC_DIR)/include",
"Headers/**",
@@ -574,6 +576,7 @@
LD_FLAGS_LIBVLC = "-dylib_file @loader_path/lib/libvlc.dylib:$(VLC_FRAMEWORK)/lib/libvlc.dylib";
LD_FLAGS_LIBVLC_CONTROL = "-dylib_file @loader_path/lib/libvlc-control.dylib:$(VLC_FRAMEWORK)/lib/libvlc-control.dylib";
LIBRARY_SEARCH_PATHS = "$(VLC_FRAMEWORK)/lib";
+ ONLY_ACTIVE_ARCH = YES;
OTHER_LDFLAGS = (
"-single_module",
"-read_only_relocs",
@@ -583,6 +586,7 @@
PRIVATE_HEADERS_FOLDER_PATH = "$(CONTENTS_FOLDER_PATH)/PrivateHeaders";
PRODUCT_NAME = VLCKit;
SCAN_ALL_SOURCE_FILES_FOR_INCLUDES = YES;
+ SDKROOT = /Developer/SDKs/MacOSX10.5.sdk;
VLC_BUILD_DIR = "$(SYMROOT)/vlc_build_dir";
VLC_FRAMEWORK = "$(TARGET_BUILD_DIR)/$(PROJECT_NAME).framework";
VLC_SRC_DIR = ../../..;
@@ -594,15 +598,16 @@
1DEB91AF08733DA50010E9CD /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
- ARCHS = i386;
+ ARCHS = "$(NATIVE_ARCH)";
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
FRAMEWORK_VERSION = A;
GCC_ENABLE_OBJC_EXCEPTIONS = YES;
GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
- GCC_MODEL_TUNING = G5;
+ GCC_MODEL_TUNING = "";
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = VLC_Prefix.pch;
+ GCC_VERSION = com.apple.compilers.llvmgcc42;
HEADER_SEARCH_PATHS = (
"$(VLC_SRC_DIR)/include",
"Headers/**",
@@ -613,6 +618,7 @@
LD_FLAGS_LIBVLC = "-dylib_file @loader_path/lib/libvlc.dylib:$(VLC_FRAMEWORK)/lib/libvlc.dylib -dylib_file @loader_path/../lib/libvlc.dylib:$(VLC_FRAMEWORK)/lib/libvlc.dylib";
LD_FLAGS_LIBVLC_CONTROL = "-dylib_file @loader_path/lib/libvlc-control.dylib:$(VLC_FRAMEWORK)/lib/libvlc-control.dylib";
LIBRARY_SEARCH_PATHS = "$(VLC_FRAMEWORK)/lib";
+ ONLY_ACTIVE_ARCH = YES;
OTHER_LDFLAGS = (
"-single_module",
"-read_only_relocs",
@@ -625,6 +631,7 @@
PRIVATE_HEADERS_FOLDER_PATH = "$(CONTENTS_FOLDER_PATH)/PrivateHeaders";
PRODUCT_NAME = VLCKit;
SCAN_ALL_SOURCE_FILES_FOR_INCLUDES = YES;
+ SDKROOT = /Developer/SDKs/MacOSX10.5.sdk;
VLC_BUILD_DIR = "$(VLC_SRC_DIR)";
VLC_FRAMEWORK = "$(TARGET_BUILD_DIR)/$(PROJECT_NAME).framework";
VLC_SRC_DIR = ../../..;
@@ -721,9 +728,13 @@
63FFDBD00D2AE2AE0092FC96 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
+ CC = "/Developer/usr/bin/llvm-gcc-4.2";
COPY_PHASE_STRIP = NO;
+ CXX = "/Developer/usr/bin/llvm-g++-4.2";
GCC_DYNAMIC_NO_PIC = NO;
GCC_OPTIMIZATION_LEVEL = 0;
+ GCC_VERSION = 4.2;
+ OBJC = "/Developer/usr/bin/llvm-gcc-4.2";
PRODUCT_NAME = "vlc-bootstrap";
};
name = Debug;
@@ -731,9 +742,13 @@
63FFDBD10D2AE2AE0092FC96 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
+ CC = "/Developer/usr/bin/llvm-gcc-4.2";
COPY_PHASE_STRIP = YES;
+ CXX = "/Developer/usr/bin/llvm-g++-4.2";
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
GCC_ENABLE_FIX_AND_CONTINUE = NO;
+ GCC_VERSION = 4.2;
+ OBJC = "/Developer/usr/bin/llvm-gcc-4.2";
PRODUCT_NAME = "vlc-bootstrap";
ZERO_LINK = NO;
};
More information about the vlc-devel
mailing list