Permalink
Browse files

Change the build products location for plug-ins to ../../MacOS/build

This is needed to make the build work when the XCode "Build Location"
preference is set to "Location Specified by Targets".  More importantly
the command line tool ignores this preference and always acts as if it
is on.  As a beneficial side effect, all the build directories in the
Plug-ins directory disappear.
  • Loading branch information...
mtalexander authored and mbert committed Dec 13, 2011
1 parent 0fc0b85 commit af52b0c48b50bbf316a7bd3b8f7fdea672de7491
View
@@ -25,8 +25,8 @@ build: buildplugins buildapp
buildplugins:
@for PLUGIN in $(BUILD_PLUGINS); do \
- echo "-->Building $$PLUGIN"; \
- xcodebuild -sdk ${SDK} -project ${MULBERRY_HOME}/Plug-ins/$$PLUGIN/$$PLUGIN.xcodeproj || exit 1; \
+ echo "-->Building $$PLUGIN ${APP_TARGET}"; \
+ xcodebuild -sdk ${SDK} -project ${MULBERRY_HOME}/Plug-ins/$$PLUGIN/$$PLUGIN.xcodeproj -configuration "${APP_TARGET}" || exit 1; \
echo "" ;\
done
@@ -211,6 +211,7 @@
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
MACH_O_TYPE = mh_bundle;
SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.6.sdk";
+ SYMROOT = ../../MacOS/build;
};
name = Release;
};
@@ -256,6 +257,7 @@
DEBUG_INFORMATION_FORMAT = dwarf;
MACH_O_TYPE = mh_bundle;
SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.6.sdk";
+ SYMROOT = ../../MacOS/build;
};
name = Debug;
};
@@ -382,6 +382,7 @@
PRODUCT_NAME = CocoaSpeller;
SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.6.sdk";
SEPARATE_STRIP = NO;
+ SYMROOT = ../../MacOS/build;
WRAPPER_EXTENSION = bundle;
};
name = Release;
@@ -443,6 +444,7 @@
);
PRODUCT_NAME = CocoaSpeller;
SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.6.sdk";
+ SYMROOT = ../../MacOS/build;
WRAPPER_EXTENSION = bundle;
};
name = Debug;
@@ -203,6 +203,7 @@
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
MACH_O_TYPE = mh_bundle;
SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.6.sdk";
+ SYMROOT = ../../MacOS/build;
};
name = Release;
};
@@ -263,6 +264,7 @@
DEBUG_INFORMATION_FORMAT = dwarf;
MACH_O_TYPE = mh_bundle;
SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.6.sdk";
+ SYMROOT = ../../MacOS/build;
};
name = Debug;
};
@@ -214,6 +214,7 @@
buildSettings = {
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.6.sdk";
+ SYMROOT = ../../MacOS/build;
};
name = Release;
};
@@ -261,6 +262,7 @@
buildSettings = {
DEBUG_INFORMATION_FORMAT = dwarf;
SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.6.sdk";
+ SYMROOT = ../../MacOS/build;
};
name = Debug;
};
@@ -185,6 +185,7 @@
buildSettings = {
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.6.sdk";
+ SYMROOT = ../../MacOS/build;
};
name = Release;
};
@@ -239,6 +240,7 @@
buildSettings = {
DEBUG_INFORMATION_FORMAT = dwarf;
SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.6.sdk";
+ SYMROOT = ../../MacOS/build;
};
name = Debug;
};
@@ -182,6 +182,7 @@
buildSettings = {
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.6.sdk";
+ SYMROOT = ../../MacOS/build;
};
name = Release;
};
@@ -230,6 +231,7 @@
buildSettings = {
DEBUG_INFORMATION_FORMAT = dwarf;
SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.6.sdk";
+ SYMROOT = ../../MacOS/build;
};
name = Debug;
};
@@ -196,6 +196,7 @@
buildSettings = {
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.6.sdk";
+ SYMROOT = ../../MacOS/build;
};
name = Release;
};
@@ -250,6 +251,7 @@
buildSettings = {
DEBUG_INFORMATION_FORMAT = dwarf;
SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.6.sdk";
+ SYMROOT = ../../MacOS/build;
};
name = Debug;
};
@@ -225,6 +225,7 @@
buildSettings = {
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.6.sdk";
+ SYMROOT = ../../MacOS/build;
};
name = Release;
};
@@ -273,6 +274,7 @@
buildSettings = {
DEBUG_INFORMATION_FORMAT = dwarf;
SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.6.sdk";
+ SYMROOT = ../../MacOS/build;
};
name = Debug;
};
@@ -225,6 +225,7 @@
buildSettings = {
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.6.sdk";
+ SYMROOT = ../../MacOS/build;
};
name = Release;
};
@@ -272,6 +273,7 @@
buildSettings = {
DEBUG_INFORMATION_FORMAT = dwarf;
SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.6.sdk";
+ SYMROOT = ../../MacOS/build;
};
name = Debug;
};
@@ -186,6 +186,7 @@
buildSettings = {
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.6.sdk";
+ SYMROOT = ../../MacOS/build;
};
name = Release;
};
@@ -238,6 +239,7 @@
buildSettings = {
DEBUG_INFORMATION_FORMAT = dwarf;
SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.6.sdk";
+ SYMROOT = ../../MacOS/build;
};
name = Debug;
};
@@ -184,6 +184,7 @@
buildSettings = {
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.6.sdk";
+ SYMROOT = ../../MacOS/build;
};
name = Release;
};
@@ -237,6 +238,7 @@
buildSettings = {
DEBUG_INFORMATION_FORMAT = dwarf;
SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.6.sdk";
+ SYMROOT = ../../MacOS/build;
};
name = Debug;
};
@@ -196,6 +196,7 @@
buildSettings = {
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.6.sdk";
+ SYMROOT = ../../MacOS/build;
};
name = Release;
};
@@ -250,6 +251,7 @@
buildSettings = {
DEBUG_INFORMATION_FORMAT = dwarf;
SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.6.sdk";
+ SYMROOT = ../../MacOS/build;
};
name = Debug;
};
@@ -184,6 +184,7 @@
buildSettings = {
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.6.sdk";
+ SYMROOT = ../../MacOS/build;
};
name = Release;
};
@@ -231,6 +232,7 @@
buildSettings = {
DEBUG_INFORMATION_FORMAT = dwarf;
SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.6.sdk";
+ SYMROOT = ../../MacOS/build;
};
name = Debug;
};
@@ -516,6 +516,7 @@
GCC_PREFIX_HEADER = ../Common/Plugin_Prefix_MacOSXcode.h;
SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.6.sdk";
SEPARATE_STRIP = YES;
+ SYMROOT = ../../MacOS/build;
};
name = Release;
};
@@ -565,6 +566,7 @@
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREFIX_HEADER = ../Common/Plugin_Prefix_MacOSXcode.h;
SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.6.sdk";
+ SYMROOT = ../../MacOS/build;
};
name = Debug;
};
@@ -184,6 +184,7 @@
buildSettings = {
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.6.sdk";
+ SYMROOT = ../../MacOS/build;
};
name = Release;
};
@@ -231,6 +232,7 @@
buildSettings = {
DEBUG_INFORMATION_FORMAT = dwarf;
SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.6.sdk";
+ SYMROOT = ../../MacOS/build;
};
name = Debug;
};
@@ -184,6 +184,7 @@
buildSettings = {
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.6.sdk";
+ SYMROOT = ../../MacOS/build;
};
name = Release;
};
@@ -231,6 +232,7 @@
buildSettings = {
DEBUG_INFORMATION_FORMAT = dwarf;
SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.6.sdk";
+ SYMROOT = ../../MacOS/build;
};
name = Debug;
};
@@ -194,6 +194,7 @@
buildSettings = {
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.6.sdk";
+ SYMROOT = ../../MacOS/build;
};
name = Release;
};
@@ -252,6 +253,7 @@
buildSettings = {
DEBUG_INFORMATION_FORMAT = dwarf;
SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.6.sdk";
+ SYMROOT = ../../MacOS/build;
};
name = Debug;
};
@@ -172,6 +172,7 @@
buildSettings = {
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.6.sdk";
+ SYMROOT = ../../MacOS/build;
};
name = Release;
};
@@ -220,6 +221,7 @@
buildSettings = {
DEBUG_INFORMATION_FORMAT = dwarf;
SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.6.sdk";
+ SYMROOT = ../../MacOS/build;
};
name = Debug;
};
@@ -198,6 +198,7 @@
buildSettings = {
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.6.sdk";
+ SYMROOT = ../../MacOS/build;
};
name = Release;
};
@@ -255,6 +256,7 @@
buildSettings = {
DEBUG_INFORMATION_FORMAT = dwarf;
SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.6.sdk";
+ SYMROOT = ../../MacOS/build;
};
name = Debug;
};

0 comments on commit af52b0c

Please sign in to comment.