Fixed a pretty fatal instruction in the Xcode README (oooops) and modified the project files for a correct Universal Build.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7736 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Matthias Melcher
2010-10-25 08:08:07 +00:00
parent 839ea708f7
commit 24e14c2470
2 changed files with 24 additions and 16 deletions
+20 -16
View File
@@ -189,26 +189,26 @@ Launch Xcode. Open the project file in
.../fltk-1.3.xxxx/ide/Xcode3/FLTK.xcodeproj .../fltk-1.3.xxxx/ide/Xcode3/FLTK.xcodeproj
Use the "Project" pulldown menu to select the "Active Architecture" and Use the "Project" pulldown menu to change "Active Build Configuration" to
"Active Build Configuration". "Release". Change the "Active Architecture" and "Active Build Configuration" as
desired.
Building FLTK Building FLTK
--------------- ---------------
Use the "Project" pulldown menu to set the "Active Target" to "Demo". Select Use the "Project" pulldown menu to set the "Active Target" to "Release". Use the
"Build" form the "Build" menu to create all libraries and test applications. "Project" pulldown menu to set the "Active Target" to "Demo". Select "Build"
form the "Build" menu to create all libraries and test applications.
All frameworks and apps will be loacted in "./ide/Xcode3/build/Debug/" or All frameworks and apps will be loacted in "./ide/Xcode3/build/Release/".
"./ide/Xcode3/build/Release/".
Testing FLTK Testing FLTK
-------------- --------------
Use the "Project" pulldown menu to set the "Active Target" to "Demo". Select Select "Build and Run" form the "Build" menu to run the Demo program. Use "Demo"
"Build and Run" form the "Build" menu to run the Demo program. Use Demo to to explore all test programs.
explore all test programs.
Uninstalling previous versions of FLTK Uninstalling previous versions of FLTK
@@ -220,25 +220,29 @@ Remove FLTK frameworks:
Remove Fluid and other possibly utilities: Remove Fluid and other possibly utilities:
sudo rm -r /Developer/Applications/Utilities/ sudo rm -r /Developer/Applications/Utilities/FLTK/
Installing FLTK Installing FLTK
----------------- -----------------
All FLTK frameworks should be copied from "./ide/Xcode3/build/Debug/" or When distributing FLTK applications, the FLTK frameworks should be made part of
"./ide/Xcode3/build/Release/" to "/Library/Frameworks/". All required FLTK the application package. For development however, it is very convenient to have
header files will be at "/Library/Frameworks/fltk.framework/Headers/" which the Release-mode Frameworks in a standard location.
should be added to the header search path.
sudo cp -R ide/Xcode3/build/Debug/fltk*.framework /Library/Frameworks/ For Xcode project template use, all FLTK frameworks should be copied from
"./ide/Xcode3/build/Release/" to "/Library/Frameworks/". The FLTK header files
for all FLTK frameworks will then be at "/Library/Frameworks/fltk.framework/
Headers/". Add this path to the header search path of your projects.
sudo cp -R ide/Xcode3/build/Release/fltk*.framework /Library/Frameworks/
Many FLTK applications will use Fluid, the FLTK User Interface builder, to Many FLTK applications will use Fluid, the FLTK User Interface builder, to
generate C++ source code from .fl resource files. Add Fluid to the developer generate C++ source code from .fl resource files. Add Fluid to the developer
tools: tools:
sudo mkdir /Developer/Applications/Utilities/FLTK/ sudo mkdir /Developer/Applications/Utilities/FLTK/
sudo cp -R ide/Xcode3/build/Debug/Fluid.app /Developer/Applications/Utilities/FLTK/ sudo cp -R ide/Xcode3/build/Release/Fluid.app /Developer/Applications/Utilities/FLTK/
Installing Little Helpers Installing Little Helpers
@@ -501,6 +501,7 @@
C96290EC1274D134007D3CFE /* AudioToolbox.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C96290EB1274D133007D3CFE /* AudioToolbox.framework */; }; C96290EC1274D134007D3CFE /* AudioToolbox.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C96290EB1274D133007D3CFE /* AudioToolbox.framework */; };
C962910E1274D1D7007D3CFE /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C9628FFD1274D0B3007D3CFE /* Cocoa.framework */; }; C962910E1274D1D7007D3CFE /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C9628FFD1274D0B3007D3CFE /* Cocoa.framework */; };
C96291151274D1FD007D3CFE /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C9628FFD1274D0B3007D3CFE /* Cocoa.framework */; }; C96291151274D1FD007D3CFE /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C9628FFD1274D0B3007D3CFE /* Cocoa.framework */; };
C96291E712756D5E007D3CFE /* Carbon.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C9628FFB1274D0B3007D3CFE /* Carbon.framework */; };
C9A374AB3AD29E141C659819 /* fltk.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = FEB0F8FE6383384180570D94 /* fltk.framework */; }; C9A374AB3AD29E141C659819 /* fltk.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = FEB0F8FE6383384180570D94 /* fltk.framework */; };
C9C4C91FDA73557BB6B69F3D /* jchuff.c in Sources */ = {isa = PBXBuildFile; fileRef = D9DB580DCA05DE487FACA272 /* jchuff.c */; }; C9C4C91FDA73557BB6B69F3D /* jchuff.c in Sources */ = {isa = PBXBuildFile; fileRef = D9DB580DCA05DE487FACA272 /* jchuff.c */; };
C9D72F10B7A22DD0349ABC68 /* fltk_forms.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 097D0B476E396B9AAC6FA1E0 /* fltk_forms.framework */; }; C9D72F10B7A22DD0349ABC68 /* fltk_forms.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 097D0B476E396B9AAC6FA1E0 /* fltk_forms.framework */; };
@@ -5088,6 +5089,7 @@
isa = PBXFrameworksBuildPhase; isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647; buildActionMask = 2147483647;
files = ( files = (
C96291E712756D5E007D3CFE /* Carbon.framework in Frameworks */,
C962910E1274D1D7007D3CFE /* Cocoa.framework in Frameworks */, C962910E1274D1D7007D3CFE /* Cocoa.framework in Frameworks */,
04C166D5213DD80648BE1F4D /* fltk.framework in Frameworks */, 04C166D5213DD80648BE1F4D /* fltk.framework in Frameworks */,
C96290E21274D0EF007D3CFE /* AGL.framework in Frameworks */, C96290E21274D0EF007D3CFE /* AGL.framework in Frameworks */,
@@ -12956,6 +12958,7 @@
GCC_OPTIMIZATION_LEVEL = 0; GCC_OPTIMIZATION_LEVEL = 0;
GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = fltk.pch; GCC_PREFIX_HEADER = fltk.pch;
GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = NO;
HEADER_SEARCH_PATHS = ( HEADER_SEARCH_PATHS = (
../../ide/XCode3/, ../../ide/XCode3/,
../../, ../../,
@@ -14678,6 +14681,7 @@
GCC_MODEL_TUNING = G5; GCC_MODEL_TUNING = G5;
GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = fltk.pch; GCC_PREFIX_HEADER = fltk.pch;
GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = NO;
HEADER_SEARCH_PATHS = ( HEADER_SEARCH_PATHS = (
../../ide/XCode3/, ../../ide/XCode3/,
../../, ../../,