diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2010-10-25 08:08:07 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2010-10-25 08:08:07 +0000 |
| commit | 24e14c2470819e29626d1c3f7defac897fd8392a (patch) | |
| tree | c08decbdd0feb9e56b4df5acdc89493459067cd0 | |
| parent | 839ea708f7e9b1e0a43d3fab4f0988bd83cbbc3a (diff) | |
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
| -rw-r--r-- | README.OSX.txt | 36 | ||||
| -rw-r--r-- | ide/Xcode3/FLTK.xcodeproj/project.pbxproj | 4 |
2 files changed, 24 insertions, 16 deletions
diff --git a/README.OSX.txt b/README.OSX.txt index eec18a824..172a5519f 100644 --- a/README.OSX.txt +++ b/README.OSX.txt @@ -189,26 +189,26 @@ Launch Xcode. Open the project file in .../fltk-1.3.xxxx/ide/Xcode3/FLTK.xcodeproj -Use the "Project" pulldown menu to select the "Active Architecture" and -"Active Build Configuration". +Use the "Project" pulldown menu to change "Active Build Configuration" to +"Release". Change the "Active Architecture" and "Active Build Configuration" as +desired. Building FLTK --------------- -Use the "Project" pulldown menu to set the "Active Target" to "Demo". Select -"Build" form the "Build" menu to create all libraries and test applications. +Use the "Project" pulldown menu to set the "Active Target" to "Release". Use the +"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 -"./ide/Xcode3/build/Release/". +All frameworks and apps will be loacted in "./ide/Xcode3/build/Release/". Testing FLTK -------------- -Use the "Project" pulldown menu to set the "Active Target" to "Demo". Select -"Build and Run" form the "Build" menu to run the Demo program. Use Demo to -explore all test programs. +Select "Build and Run" form the "Build" menu to run the Demo program. Use "Demo" +to explore all test programs. Uninstalling previous versions of FLTK @@ -220,25 +220,29 @@ Remove FLTK frameworks: Remove Fluid and other possibly utilities: - sudo rm -r /Developer/Applications/Utilities/ + sudo rm -r /Developer/Applications/Utilities/FLTK/ Installing FLTK ----------------- -All FLTK frameworks should be copied from "./ide/Xcode3/build/Debug/" or -"./ide/Xcode3/build/Release/" to "/Library/Frameworks/". All required FLTK -header files will be at "/Library/Frameworks/fltk.framework/Headers/" which -should be added to the header search path. +When distributing FLTK applications, the FLTK frameworks should be made part of +the application package. For development however, it is very convenient to have +the Release-mode Frameworks in a standard location. - 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 generate C++ source code from .fl resource files. Add Fluid to the developer tools: 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 diff --git a/ide/Xcode3/FLTK.xcodeproj/project.pbxproj b/ide/Xcode3/FLTK.xcodeproj/project.pbxproj index f2324e9d0..777772270 100644 --- a/ide/Xcode3/FLTK.xcodeproj/project.pbxproj +++ b/ide/Xcode3/FLTK.xcodeproj/project.pbxproj @@ -501,6 +501,7 @@ C96290EC1274D134007D3CFE /* AudioToolbox.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C96290EB1274D133007D3CFE /* AudioToolbox.framework */; }; C962910E1274D1D7007D3CFE /* 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 */; }; C9C4C91FDA73557BB6B69F3D /* jchuff.c in Sources */ = {isa = PBXBuildFile; fileRef = D9DB580DCA05DE487FACA272 /* jchuff.c */; }; C9D72F10B7A22DD0349ABC68 /* fltk_forms.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 097D0B476E396B9AAC6FA1E0 /* fltk_forms.framework */; }; @@ -5088,6 +5089,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + C96291E712756D5E007D3CFE /* Carbon.framework in Frameworks */, C962910E1274D1D7007D3CFE /* Cocoa.framework in Frameworks */, 04C166D5213DD80648BE1F4D /* fltk.framework in Frameworks */, C96290E21274D0EF007D3CFE /* AGL.framework in Frameworks */, @@ -12956,6 +12958,7 @@ GCC_OPTIMIZATION_LEVEL = 0; GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PREFIX_HEADER = fltk.pch; + GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = NO; HEADER_SEARCH_PATHS = ( ../../ide/XCode3/, ../../, @@ -14678,6 +14681,7 @@ GCC_MODEL_TUNING = G5; GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PREFIX_HEADER = fltk.pch; + GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = NO; HEADER_SEARCH_PATHS = ( ../../ide/XCode3/, ../../, |
