|
From: <jww...@us...> - 2018-10-04 20:15:56
|
Revision: 3356
http://sourceforge.net/p/quesa/code/3356
Author: jwwalker
Date: 2018-10-04 20:15:54 +0000 (Thu, 04 Oct 2018)
Log Message:
-----------
Update Cocoa Example for Xcode 10.
Modified Paths:
--------------
trunk/quesa/SDK/Extras/Cocoa Example/Quesa3DView/AppDelegate.m
trunk/quesa/SDK/Extras/Cocoa Example/Quesa3DView/Quesa3DView.xcodeproj/project.pbxproj
trunk/quesa/SDK/Extras/Cocoa Example/Quesa3DView/project.xcconfig
Modified: trunk/quesa/SDK/Extras/Cocoa Example/Quesa3DView/AppDelegate.m
===================================================================
--- trunk/quesa/SDK/Extras/Cocoa Example/Quesa3DView/AppDelegate.m 2018-10-04 20:13:01 UTC (rev 3355)
+++ trunk/quesa/SDK/Extras/Cocoa Example/Quesa3DView/AppDelegate.m 2018-10-04 20:15:54 UTC (rev 3356)
@@ -98,7 +98,7 @@
NSLog(@"createTextureFromFile:fileName:[%@]", fileName);
- theImage = [NSBitmapImageRep imageRepWithContentsOfFile: fileName];
+ theImage = (NSBitmapImageRep*) [NSBitmapImageRep imageRepWithContentsOfFile: fileName];
if (theImage)
{
Modified: trunk/quesa/SDK/Extras/Cocoa Example/Quesa3DView/Quesa3DView.xcodeproj/project.pbxproj
===================================================================
--- trunk/quesa/SDK/Extras/Cocoa Example/Quesa3DView/Quesa3DView.xcodeproj/project.pbxproj 2018-10-04 20:13:01 UTC (rev 3355)
+++ trunk/quesa/SDK/Extras/Cocoa Example/Quesa3DView/Quesa3DView.xcodeproj/project.pbxproj 2018-10-04 20:15:54 UTC (rev 3356)
@@ -251,6 +251,8 @@
/* Begin PBXProject section */
29B97313FDCFA39411CA2CEA /* Project object */ = {
isa = PBXProject;
+ attributes = {
+ };
buildConfigurationList = B1FFA3480906B1A30010DA99 /* Build configuration list for PBXProject "Quesa3DView" */;
compatibilityVersion = "Xcode 3.0";
developmentRegion = English;
@@ -318,7 +320,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
- shellScript = "cd \"$CONFIGURATION_BUILD_DIR\"\n\n# Make a symbolic link in the configuration build directory, pointing to the right version of Quesa.\necho \"ln -h -f -s \" \"../../../../../Libraries/Mac/Framework_Modern/$CONFIGURATION/Quesa.framework\" Quesa.framework\nln -h -f -s \"../../../../../Libraries/Mac/Framework_Modern/$CONFIGURATION/Quesa.framework/\" Quesa.framework\n";
+ shellScript = "cd \"$CONFIGURATION_BUILD_DIR\"\n\n# Make a symbolic link in the configuration build directory, pointing to the right version of Quesa.\necho \"ln -h -f -s \" \"$PROJECT_DIR/../../../Libraries/Mac/Framework_Modern/$CONFIGURATION/Quesa.framework\" Quesa.framework\nln -h -f -s \"$PROJECT_DIR/../../../Libraries/Mac/Framework_Modern/$CONFIGURATION/Quesa.framework/\" Quesa.framework\n";
};
/* End PBXShellScriptBuildPhase section */
@@ -382,10 +384,6 @@
isa = XCBuildConfiguration;
baseConfigurationReference = BE13530F0C3C190300B20B60 /* project.xcconfig */;
buildSettings = {
- ARCHS = (
- ppc,
- i386,
- );
};
name = Release;
};
@@ -392,6 +390,7 @@
BE1352A40C3C14F400B20B60 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
+ ONLY_ACTIVE_ARCH = YES;
WARNING_CFLAGS = (
"-Wmost",
"-Wno-four-char-constants",
@@ -403,6 +402,7 @@
BE1352A50C3C14F400B20B60 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
+ ONLY_ACTIVE_ARCH = YES;
};
name = Release;
};
Modified: trunk/quesa/SDK/Extras/Cocoa Example/Quesa3DView/project.xcconfig
===================================================================
--- trunk/quesa/SDK/Extras/Cocoa Example/Quesa3DView/project.xcconfig 2018-10-04 20:13:01 UTC (rev 3355)
+++ trunk/quesa/SDK/Extras/Cocoa Example/Quesa3DView/project.xcconfig 2018-10-04 20:15:54 UTC (rev 3356)
@@ -1,10 +1,10 @@
// Architectures
-ARCHS = i386 x86_64
+ARCHS = x86_64
ONLY_ACTIVE_ARCH = NO
SDKROOT = macosx
// Deployment
-MACOSX_DEPLOYMENT_TARGET = 10.6
+MACOSX_DEPLOYMENT_TARGET = 10.7
// Compiler version
GCC_VERSION =
@@ -11,7 +11,8 @@
// Search Paths
FSP_QUESA = "$(SRCROOT)/../../../Libraries/Mac/Framework_Modern/Debug"
-FRAMEWORK_SEARCH_PATHS = $(FSP_QUESA) $(SDKROOT)/Library/Frameworks
+FRAMEWORK_SEARCH_PATHS = $(FSP_QUESA)
+ALWAYS_SEARCH_USER_PATHS = NO
// Build Options
DEBUG_INFORMATION_FORMAT = dwarf
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|