[Avida-cvs] [Avida2-svn] r43 - trunk/source/python/AvidaGui2/AvidaEd.xcode

kaben at myxo.css.msu.edu kaben at myxo.css.msu.edu
Tue Mar 8 09:10:32 PST 2005


Author: kaben
Date: 2005-03-08 12:10:32 -0500 (Tue, 08 Mar 2005)
New Revision: 43

Modified:
   trunk/source/python/AvidaGui2/AvidaEd.xcode/project.pbxproj
Log:

* Made pyuic build target a little bit friendlier :
- target "pyui .ui files" has customized build setting PYUIC_EXE which
  can be set to a working pyuic executable
- target executable is named "(none)"
- target product is the command "echo done compiling .ui files"
- (Note : I'm not that familiar with Xcode customizations, so while this
  seems to work, there may be a better way; there may also be strange
  effects.)



Modified: trunk/source/python/AvidaGui2/AvidaEd.xcode/project.pbxproj
===================================================================
--- trunk/source/python/AvidaGui2/AvidaEd.xcode/project.pbxproj	2005-03-08 16:40:02 UTC (rev 42)
+++ trunk/source/python/AvidaGui2/AvidaEd.xcode/project.pbxproj	2005-03-08 17:10:32 UTC (rev 43)
@@ -574,18 +574,18 @@
 			);
 			buildSettings = {
 				INSTALL_PATH = /usr/local/bin;
-				OPTIMIZATION_CFLAGS = "";
 				OTHER_CFLAGS = "";
 				OTHER_LDFLAGS = "";
 				OTHER_REZFLAGS = "";
-				PRODUCT_NAME = pyuic;
+				PRODUCT_NAME = "echo \"done compiling .ui files\"";
+				PYUIC_EXE = "$(SRCROOT)/pyuic";
 				SECTORDER_FLAGS = "";
 				WARNING_CFLAGS = "-Wmost -Wno-four-char-constants -Wno-unknown-pragmas";
 			};
 			dependencies = (
 			);
 			isa = PBXNativeTarget;
-			name = pyuic;
+			name = "pyui .ui files";
 			productName = pyuic;
 			productReference = DC0BFF3307DE17DB00AAE422;
 			productType = "com.apple.product-type.tool";
@@ -594,7 +594,7 @@
 			explicitFileType = "compiled.mach-o.executable";
 			includeInIndex = 0;
 			isa = PBXFileReference;
-			path = pyuic;
+			path = "echo \"done compiling .ui files\"";
 			refType = 3;
 			sourceTree = BUILT_PRODUCTS_DIR;
 		};
@@ -616,7 +616,7 @@
 			outputFiles = (
 				"$(INPUT_FILE_DIR)/$(INPUT_FILE_BASE).py",
 			);
-			script = "$(SRCROOT)/pyuic -o $(INPUT_FILE_DIR)/$(INPUT_FILE_BASE).py $(INPUT_FILE_PATH)";
+			script = "$(PYUIC_EXE) -o $(INPUT_FILE_DIR)/$(INPUT_FILE_BASE).py $(INPUT_FILE_PATH)";
 		};
 		DC0BFF4B07DE1AE800AAE422 = {
 			fileRef = DC0BFE7407DDD78500AAE422;




More information about the Avida-cvs mailing list