Author: matt
Date: 2009-11-16 14:52:42 -0800 (Mon, 16 Nov 2009)
New Revision: 6937
Log:
Added a template for Xcode that can be installed and provides a very quick way
of generating new FLTK applications.
Added:
branches/branch-1.3/ide/Xcode3.1/Project Templates/
branches/branch-1.3/ide/Xcode3.1/Project Templates/FLTK/
branches/branch-1.3/ide/Xcode3.1/Project Templates/FLTK/English.lproj/
branches/branch-1.3/ide/Xcode3.1/Project
Templates/FLTK/English.lproj/InfoPlist.strings
branches/branch-1.3/ide/Xcode3.1/Project
Templates/FLTK/___PROJECTNAMEASIDENTIFIER___-Info.plist
branches/branch-1.3/ide/Xcode3.1/Project
Templates/FLTK/___PROJECTNAME___.xcodeproj/
branches/branch-1.3/ide/Xcode3.1/Project
Templates/FLTK/___PROJECTNAME___.xcodeproj/project.pbxproj
branches/branch-1.3/ide/Xcode3.1/Project Templates/FLTK/main.cpp
branches/branch-1.3/ide/Xcode3.1/Project Templates/FLTK/main.h
branches/branch-1.3/ide/Xcode3.1/Project Templates/FLTK/ui.fl
branches/branch-1.3/ide/Xcode3.1/README.template
Modified:
branches/branch-1.3/CHANGES
branches/branch-1.3/ide/Xcode3.1/FLTK.xcodeproj/project.pbxproj
Modified: branches/branch-1.3/CHANGES
===================================================================
--- branches/branch-1.3/CHANGES 2009-11-14 19:13:20 UTC (rev 6936)
+++ branches/branch-1.3/CHANGES 2009-11-16 22:52:42 UTC (rev 6937)
@@ -1,5 +1,6 @@
CHANGES IN FLTK 1.3.0
+ - Added template to generate new projects with Xcode.
- Managing all Widget flags in a single location now (STR #2161)
- Fixed all color related call to Fl_Color type (STR #2208)
- File chooser preview now recognizes utf8 encoded
Modified: branches/branch-1.3/ide/Xcode3.1/FLTK.xcodeproj/project.pbxproj
===================================================================
--- branches/branch-1.3/ide/Xcode3.1/FLTK.xcodeproj/project.pbxproj
2009-11-14 19:13:20 UTC (rev 6936)
+++ branches/branch-1.3/ide/Xcode3.1/FLTK.xcodeproj/project.pbxproj
2009-11-16 22:52:42 UTC (rev 6937)
@@ -746,7 +746,7 @@
isa = PBXContainerItemProxy;
containerPortal = C9A3E93C0DD6332D00486E4F /* Project
object */;
proxyType = 1;
- remoteGlobalIDString = C904DE7110AEDD3700266003 /*
table */;
+ remoteGlobalIDString = C904DE7110AEDD3700266003;
remoteInfo = table;
};
C904DF2D10AEFF4A00266003 /* PBXContainerItemProxy */ = {
@@ -760,7 +760,7 @@
isa = PBXContainerItemProxy;
containerPortal = C9A3E93C0DD6332D00486E4F /* Project
object */;
proxyType = 1;
- remoteGlobalIDString = C904DF2B10AEFF4A00266003 /* tree
*/;
+ remoteGlobalIDString = C904DF2B10AEFF4A00266003;
remoteInfo = tree;
};
C918DB3D0DD9EE4600167E99 /* PBXContainerItemProxy */ = {
@@ -10441,6 +10441,7 @@
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER =
"$(SYSTEM_LIBRARY_DIR)/Frameworks/Carbon.framework/Headers/Carbon.h";
+ GCC_WARN_ABOUT_RETURN_TYPE = NO;
HEADER_SEARCH_PATHS = ../../;
INFOPLIST_FILE = "plists/valuators-Info.plist";
INSTALL_PATH = "$(HOME)/Applications";
@@ -10464,6 +10465,7 @@
GCC_MODEL_TUNING = G5;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER =
"$(SYSTEM_LIBRARY_DIR)/Frameworks/Carbon.framework/Headers/Carbon.h";
+ GCC_WARN_ABOUT_RETURN_TYPE = NO;
HEADER_SEARCH_PATHS = ../../;
INFOPLIST_FILE = "plists/valuators-Info.plist";
INSTALL_PATH = "$(HOME)/Applications";
Added: branches/branch-1.3/ide/Xcode3.1/Project
Templates/FLTK/English.lproj/InfoPlist.strings
===================================================================
--- branches/branch-1.3/ide/Xcode3.1/Project
Templates/FLTK/English.lproj/InfoPlist.strings (rev
0)
+++ branches/branch-1.3/ide/Xcode3.1/Project
Templates/FLTK/English.lproj/InfoPlist.strings 2009-11-16 22:52:42 UTC (rev
6937)
@@ -0,0 +1,2 @@
+/* Localized versions of Info.plist keys */
+
Added: branches/branch-1.3/ide/Xcode3.1/Project
Templates/FLTK/___PROJECTNAMEASIDENTIFIER___-Info.plist
===================================================================
--- branches/branch-1.3/ide/Xcode3.1/Project
Templates/FLTK/___PROJECTNAMEASIDENTIFIER___-Info.plist
(rev 0)
+++ branches/branch-1.3/ide/Xcode3.1/Project
Templates/FLTK/___PROJECTNAMEASIDENTIFIER___-Info.plist 2009-11-16 22:52:42
UTC (rev 6937)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>CFBundleDevelopmentRegion</key>
+ <string>English</string>
+ <key>CFBundleExecutable</key>
+ <string>${EXECUTABLE_NAME}</string>
+ <key>CFBundleIconFile</key>
+ <string></string>
+ <key>CFBundleIdentifier</key>
+ <string>com.yourcompany.${PRODUCT_NAME:rfc1034identifier}</string>
+ <key>CFBundleInfoDictionaryVersion</key>
+ <string>6.0</string>
+ <key>CFBundleName</key>
+ <string>${PRODUCT_NAME}</string>
+ <key>CFBundlePackageType</key>
+ <string>APPL</string>
+ <key>CFBundleShortVersionString</key>
+ <string>1.0</string>
+ <key>CFBundleSignature</key>
+ <string>????</string>
+ <key>CFBundleVersion</key>
+ <string>1.0</string>
+ <key>LSMinimumSystemVersion</key>
+ <string>${MACOSX_DEPLOYMENT_TARGET}</string>
+</dict>
+</plist>
Added: branches/branch-1.3/ide/Xcode3.1/Project
Templates/FLTK/___PROJECTNAME___.xcodeproj/project.pbxproj
===================================================================
--- branches/branch-1.3/ide/Xcode3.1/Project
Templates/FLTK/___PROJECTNAME___.xcodeproj/project.pbxproj
(rev 0)
+++ branches/branch-1.3/ide/Xcode3.1/Project
Templates/FLTK/___PROJECTNAME___.xcodeproj/project.pbxproj 2009-11-16 22:52:42
UTC (rev 6937)
@@ -0,0 +1,350 @@
+// !$*UTF8*$!
+{
+ archiveVersion = 1;
+ classes = {
+ };
+ objectVersion = 45;
+ objects = {
+
+/* Begin PBXBuildFile section */
+ 8D11072B0486CEB800E47090 /* InfoPlist.strings in Resources */ =
{isa = PBXBuildFile; fileRef = 089C165CFE840E0CC02AAC07 /* InfoPlist.strings
*/; };
+ C9601DD510B1FA9C0018BADE /* Carbon.framework in Frameworks */ =
{isa = PBXBuildFile; fileRef = C9601DD410B1FA9C0018BADE /* Carbon.framework */;
};
+ C9601E9910B1FAED0018BADE /* main.cpp in Sources */ = {isa =
PBXBuildFile; fileRef = C9601E9810B1FAED0018BADE /* main.cpp */; };
+ C9601EA810B1FB5B0018BADE /* libfltk.a in Frameworks */ = {isa =
PBXBuildFile; fileRef = C9601EA210B1FB5A0018BADE /* libfltk.a */; };
+ C9601EE410B2020B0018BADE /* ui.fl in Resources */ = {isa =
PBXBuildFile; fileRef = C9601EE310B2020B0018BADE /* ui.fl */; };
+ C9601EEC10B202440018BADE /* ui.cxx in Sources */ = {isa =
PBXBuildFile; fileRef = C9601EEA10B202440018BADE /* ui.cxx */; };
+/* End PBXBuildFile section */
+
+/* Begin PBXBuildRule section */
+ C9601C4B10B1F9B60018BADE /* PBXBuildRule */ = {
+ isa = PBXBuildRule;
+ compilerSpec = com.apple.compilers.proxy.script;
+ filePatterns = "*.fl";
+ fileType = pattern.proxy;
+ isEditable = 1;
+ outputFiles = (
+ "${INPUT_FILE_DIR}/${INPUT_FILE_BASE}.cxx",
+ "${INPUT_FILE_DIR}/${INPUT_FILE_BASE}.h",
+ );
+ script = "/usr/local/bin/fluid -c ${INPUT_FILE_NAME}";
+ };
+/* End PBXBuildRule section */
+
+/* Begin PBXFileReference section */
+ 089C165DFE840E0CC02AAC07 /* English */ = {isa =
PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings;
name = English; path = English.lproj/InfoPlist.strings; sourceTree = "<group>";
};
+ 8D1107310486CEB800E47090 /*
___PROJECTNAMEASIDENTIFIER___-Info.plist */ = {isa = PBXFileReference;
fileEncoding = 4; lastKnownFileType = text.plist.xml; path =
"___PROJECTNAMEASIDENTIFIER___-Info.plist"; sourceTree = "<group>"; };
+ 8D1107320486CEB800E47090 /* ___PROJECTNAME___.app */ = {isa =
PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0;
path = "___PROJECTNAME___.app"; sourceTree = BUILT_PRODUCTS_DIR; };
+ C9601DCB10B1FA890018BADE /* OpenGL.framework */ = {isa =
PBXFileReference; lastKnownFileType = wrapper.framework; name =
OpenGL.framework; path = /System/Library/Frameworks/OpenGL.framework;
sourceTree = "<absolute>"; };
+ C9601DCC10B1FA890018BADE /* AGL.framework */ = {isa =
PBXFileReference; lastKnownFileType = wrapper.framework; name = AGL.framework;
path = /System/Library/Frameworks/AGL.framework; sourceTree = "<absolute>"; };
+ C9601DD410B1FA9C0018BADE /* Carbon.framework */ = {isa =
PBXFileReference; lastKnownFileType = wrapper.framework; name =
Carbon.framework; path = /System/Library/Frameworks/Carbon.framework;
sourceTree = "<absolute>"; };
+ C9601E9710B1FAED0018BADE /* main.h */ = {isa =
PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path =
main.h; sourceTree = "<group>"; };
+ C9601E9810B1FAED0018BADE /* main.cpp */ = {isa =
PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp;
path = main.cpp; sourceTree = "<group>"; };
+ C9601E9D10B1FB5A0018BADE /* libfltk_forms.a */ = {isa =
PBXFileReference; lastKnownFileType = compiled.win32.library; name =
libfltk_forms.a; path = /usr/local/lib/libfltk_forms.a; sourceTree =
"<absolute>"; };
+ C9601E9E10B1FB5A0018BADE /* libfltk_gl.a */ = {isa =
PBXFileReference; lastKnownFileType = compiled.win32.library; name =
libfltk_gl.a; path = /usr/local/lib/libfltk_gl.a; sourceTree = "<absolute>"; };
+ C9601E9F10B1FB5A0018BADE /* libfltk_images.a */ = {isa =
PBXFileReference; lastKnownFileType = compiled.win32.library; name =
libfltk_images.a; path = /usr/local/lib/libfltk_images.a; sourceTree =
"<absolute>"; };
+ C9601EA010B1FB5A0018BADE /* libfltk_jpeg.a */ = {isa =
PBXFileReference; lastKnownFileType = compiled.win32.library; name =
libfltk_jpeg.a; path = /usr/local/lib/libfltk_jpeg.a; sourceTree =
"<absolute>"; };
+ C9601EA110B1FB5A0018BADE /* libfltk_png.a */ = {isa =
PBXFileReference; lastKnownFileType = compiled.win32.library; name =
libfltk_png.a; path = /usr/local/lib/libfltk_png.a; sourceTree = "<absolute>";
};
+ C9601EA210B1FB5A0018BADE /* libfltk.a */ = {isa =
PBXFileReference; lastKnownFileType = compiled.win32.library; name = libfltk.a;
path = /usr/local/lib/libfltk.a; sourceTree = "<absolute>"; };
+ C9601EB910B1FC150018BADE /* libz.dylib */ = {isa =
PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name =
libz.dylib; path = /usr/lib/libz.dylib; sourceTree = "<absolute>"; };
+ C9601EE310B2020B0018BADE /* ui.fl */ = {isa = PBXFileReference;
fileEncoding = 4; lastKnownFileType = text; path = ui.fl; sourceTree =
"<group>"; };
+ C9601EEA10B202440018BADE /* ui.cxx */ = {isa =
PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp;
path = ui.cxx; sourceTree = "<group>"; };
+ C9601EEB10B202440018BADE /* ui.h */ = {isa = PBXFileReference;
fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ui.h; sourceTree =
"<group>"; };
+/* End PBXFileReference section */
+
+/* Begin PBXFrameworksBuildPhase section */
+ 8D11072E0486CEB800E47090 /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ C9601DD510B1FA9C0018BADE /* Carbon.framework in
Frameworks */,
+ C9601EA810B1FB5B0018BADE /* libfltk.a in
Frameworks */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXFrameworksBuildPhase section */
+
+/* Begin PBXGroup section */
+ 1058C7A0FEA54F0111CA2CBB /* Linked Frameworks */ = {
+ isa = PBXGroup;
+ children = (
+ C9601DD410B1FA9C0018BADE /* Carbon.framework */,
+ );
+ name = "Linked Frameworks";
+ sourceTree = "<group>";
+ };
+ 1058C7A2FEA54F0111CA2CBB /* Other Frameworks */ = {
+ isa = PBXGroup;
+ children = (
+ C9601DCB10B1FA890018BADE /* OpenGL.framework */,
+ C9601DCC10B1FA890018BADE /* AGL.framework */,
+ );
+ name = "Other Frameworks";
+ sourceTree = "<group>";
+ };
+ 19C28FACFE9D520D11CA2CBB /* Products */ = {
+ isa = PBXGroup;
+ children = (
+ 8D1107320486CEB800E47090 /*
___PROJECTNAME___.app */,
+ );
+ name = Products;
+ sourceTree = "<group>";
+ };
+ 29B97314FDCFA39411CA2CEA /* ___PROJECTNAME___ */ = {
+ isa = PBXGroup;
+ children = (
+ C9601E9410B1FADC0018BADE /* Sources */,
+ C9601EED10B2024C0018BADE /* FLUID Sources */,
+ C9601EE910B2022E0018BADE /* Generated Sources
*/,
+ 29B97317FDCFA39411CA2CEA /* Resources */,
+ 29B97323FDCFA39411CA2CEA /* Frameworks */,
+ C9601E9C10B1FB2F0018BADE /* libs */,
+ 19C28FACFE9D520D11CA2CBB /* Products */,
+ );
+ name = "___PROJECTNAMEASXML___";
+ sourceTree = "<group>";
+ };
+ 29B97317FDCFA39411CA2CEA /* Resources */ = {
+ isa = PBXGroup;
+ children = (
+ 8D1107310486CEB800E47090 /*
___PROJECTNAMEASIDENTIFIER___-Info.plist */,
+ 089C165CFE840E0CC02AAC07 /* InfoPlist.strings
*/,
+ );
+ name = Resources;
+ sourceTree = "<group>";
+ };
+ 29B97323FDCFA39411CA2CEA /* Frameworks */ = {
+ isa = PBXGroup;
+ children = (
+ 1058C7A0FEA54F0111CA2CBB /* Linked Frameworks
*/,
+ 1058C7A2FEA54F0111CA2CBB /* Other Frameworks */,
+ );
+ name = Frameworks;
+ sourceTree = "<group>";
+ };
+ C9601E9410B1FADC0018BADE /* Sources */ = {
+ isa = PBXGroup;
+ children = (
+ C9601E9710B1FAED0018BADE /* main.h */,
+ C9601E9810B1FAED0018BADE /* main.cpp */,
+ );
+ name = Sources;
+ sourceTree = "<group>";
+ };
+ C9601E9C10B1FB2F0018BADE /* libs */ = {
+ isa = PBXGroup;
+ children = (
+ C9601E9D10B1FB5A0018BADE /* libfltk_forms.a */,
+ C9601E9E10B1FB5A0018BADE /* libfltk_gl.a */,
+ C9601E9F10B1FB5A0018BADE /* libfltk_images.a */,
+ C9601EA010B1FB5A0018BADE /* libfltk_jpeg.a */,
+ C9601EA110B1FB5A0018BADE /* libfltk_png.a */,
+ C9601EA210B1FB5A0018BADE /* libfltk.a */,
+ C9601EB910B1FC150018BADE /* libz.dylib */,
+ );
+ name = libs;
+ sourceTree = "<group>";
+ };
+ C9601EE910B2022E0018BADE /* Generated Sources */ = {
+ isa = PBXGroup;
+ children = (
+ C9601EEA10B202440018BADE /* ui.cxx */,
+ C9601EEB10B202440018BADE /* ui.h */,
+ );
+ name = "Generated Sources";
+ sourceTree = "<group>";
+ };
+ C9601EED10B2024C0018BADE /* FLUID Sources */ = {
+ isa = PBXGroup;
+ children = (
+ C9601EE310B2020B0018BADE /* ui.fl */,
+ );
+ name = "FLUID Sources";
+ sourceTree = "<group>";
+ };
+/* End PBXGroup section */
+
+/* Begin PBXNativeTarget section */
+ 8D1107260486CEB800E47090 /* ___PROJECTNAME___ */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = C01FCF4A08A954540054247B /*
Build configuration list for PBXNativeTarget "___PROJECTNAME___" */;
+ buildPhases = (
+ 8D1107290486CEB800E47090 /* Resources */,
+ 8D11072C0486CEB800E47090 /* Sources */,
+ 8D11072E0486CEB800E47090 /* Frameworks */,
+ );
+ buildRules = (
+ C9601C4B10B1F9B60018BADE /* PBXBuildRule */,
+ );
+ dependencies = (
+ );
+ name = "___PROJECTNAME___";
+ productInstallPath = "$(HOME)/Applications";
+ productName = "___PROJECTNAME___";
+ productReference = 8D1107320486CEB800E47090 /*
___PROJECTNAME___.app */;
+ productType = "com.apple.product-type.application";
+ };
+/* End PBXNativeTarget section */
+
+/* Begin PBXProject section */
+ 29B97313FDCFA39411CA2CEA /* Project object */ = {
+ isa = PBXProject;
+ buildConfigurationList = C01FCF4E08A954540054247B /*
Build configuration list for PBXProject "___PROJECTNAME___" */;
+ compatibilityVersion = "Xcode 3.1";
+ hasScannedForEncodings = 1;
+ mainGroup = 29B97314FDCFA39411CA2CEA /*
___PROJECTNAMEASXML___ */;
+ projectDirPath = "";
+ projectRoot = "";
+ targets = (
+ 8D1107260486CEB800E47090 /* ___PROJECTNAME___
*/,
+ );
+ };
+/* End PBXProject section */
+
+/* Begin PBXResourcesBuildPhase section */
+ 8D1107290486CEB800E47090 /* Resources */ = {
+ isa = PBXResourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 8D11072B0486CEB800E47090 /* InfoPlist.strings
in Resources */,
+ C9601EE410B2020B0018BADE /* ui.fl in Resources
*/,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXResourcesBuildPhase section */
+
+/* Begin PBXSourcesBuildPhase section */
+ 8D11072C0486CEB800E47090 /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ C9601E9910B1FAED0018BADE /* main.cpp in Sources
*/,
+ C9601EEC10B202440018BADE /* ui.cxx in Sources
*/,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXSourcesBuildPhase section */
+
+/* Begin PBXVariantGroup section */
+ 089C165CFE840E0CC02AAC07 /* InfoPlist.strings */ = {
+ isa = PBXVariantGroup;
+ children = (
+ 089C165DFE840E0CC02AAC07 /* English */,
+ );
+ name = InfoPlist.strings;
+ sourceTree = "<group>";
+ };
+/* End PBXVariantGroup section */
+
+/* Begin XCBuildConfiguration section */
+ C01FCF4B08A954540054247B /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = YES;
+ ARCHS = "$(ARCHS_STANDARD_32_BIT)";
+ COPY_PHASE_STRIP = NO;
+ GCC_DYNAMIC_NO_PIC = NO;
+ GCC_ENABLE_FIX_AND_CONTINUE = YES;
+ GCC_INLINES_ARE_PRIVATE_EXTERN = NO;
+ GCC_MODEL_TUNING = G5;
+ GCC_OPTIMIZATION_LEVEL = 0;
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER =
"$(SYSTEM_LIBRARY_DIR)/Frameworks/Carbon.framework/Headers/Carbon.h";
+ GCC_SYMBOLS_PRIVATE_EXTERN = NO;
+ GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = NO;
+ GCC_WARN_UNUSED_VARIABLE = NO;
+ HEADER_SEARCH_PATHS = (
+ /usr/local/include,
+ /usr/local/include/FL/images,
+ );
+ INFOPLIST_FILE =
"___PROJECTNAMEASIDENTIFIER___-Info.plist";
+ INSTALL_PATH = "$(HOME)/Applications";
+ ONLY_ACTIVE_ARCH = YES;
+ OTHER_CPLUSPLUSFLAGS = "$(OTHER_CFLAGS)";
+ OTHER_LDFLAGS = "";
+ PRODUCT_NAME = "___PROJECTNAME___";
+ SDKROOT = "";
+ STRINGS_FILE_OUTPUT_ENCODING = "UTF-8";
+ VALID_ARCHS = i386;
+ };
+ name = Debug;
+ };
+ C01FCF4C08A954540054247B /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = YES;
+ ARCHS = "$(ARCHS_STANDARD_32_BIT)";
+ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
+ GCC_INLINES_ARE_PRIVATE_EXTERN = NO;
+ GCC_MODEL_TUNING = G5;
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER =
"$(SYSTEM_LIBRARY_DIR)/Frameworks/Carbon.framework/Headers/Carbon.h";
+ GCC_SYMBOLS_PRIVATE_EXTERN = NO;
+ GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = NO;
+ GCC_WARN_UNUSED_VARIABLE = NO;
+ HEADER_SEARCH_PATHS = (
+ /usr/local/include,
+ /usr/local/include/FL/images,
+ );
+ INFOPLIST_FILE =
"___PROJECTNAMEASIDENTIFIER___-Info.plist";
+ INSTALL_PATH = "$(HOME)/Applications";
+ ONLY_ACTIVE_ARCH = YES;
+ OTHER_CPLUSPLUSFLAGS = "$(OTHER_CFLAGS)";
+ OTHER_LDFLAGS = "";
+ PRODUCT_NAME = "___PROJECTNAME___";
+ SDKROOT = "";
+ STRINGS_FILE_OUTPUT_ENCODING = "UTF-8";
+ VALID_ARCHS = i386;
+ };
+ name = Release;
+ };
+ C01FCF4F08A954540054247B /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ARCHS = "$(ARCHS_STANDARD_32_64_BIT)";
+ GCC_C_LANGUAGE_STANDARD = gnu99;
+ GCC_OPTIMIZATION_LEVEL = 0;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ ONLY_ACTIVE_ARCH = YES;
+ PREBINDING = NO;
+ SDKROOT = macosx10.6;
+ };
+ name = Debug;
+ };
+ C01FCF5008A954540054247B /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ARCHS = "$(ARCHS_STANDARD_32_64_BIT)";
+ GCC_C_LANGUAGE_STANDARD = gnu99;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ PREBINDING = NO;
+ SDKROOT = macosx10.6;
+ };
+ name = Release;
+ };
+/* End XCBuildConfiguration section */
+
+/* Begin XCConfigurationList section */
+ C01FCF4A08A954540054247B /* Build configuration list for
PBXNativeTarget "___PROJECTNAME___" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ C01FCF4B08A954540054247B /* Debug */,
+ C01FCF4C08A954540054247B /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+ C01FCF4E08A954540054247B /* Build configuration list for
PBXProject "___PROJECTNAME___" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ C01FCF4F08A954540054247B /* Debug */,
+ C01FCF5008A954540054247B /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+/* End XCConfigurationList section */
+ };
+ rootObject = 29B97313FDCFA39411CA2CEA /* Project object */;
+}
Added: branches/branch-1.3/ide/Xcode3.1/Project Templates/FLTK/main.cpp
===================================================================
--- branches/branch-1.3/ide/Xcode3.1/Project Templates/FLTK/main.cpp
(rev 0)
+++ branches/branch-1.3/ide/Xcode3.1/Project Templates/FLTK/main.cpp
2009-11-16 22:52:42 UTC (rev 6937)
@@ -0,0 +1,12 @@
+
+#include "main.h"
+#include "ui.h"
+
+#include <FL/FL.h>
+
+int main(int argc, char **argv)
+{
+ Fl_Window *win = make_window();
+ win->show(argc, argv);
+ return Fl::run();
+}
Added: branches/branch-1.3/ide/Xcode3.1/Project Templates/FLTK/main.h
===================================================================
--- branches/branch-1.3/ide/Xcode3.1/Project Templates/FLTK/main.h
(rev 0)
+++ branches/branch-1.3/ide/Xcode3.1/Project Templates/FLTK/main.h
2009-11-16 22:52:42 UTC (rev 6937)
@@ -0,0 +1,6 @@
+
+#ifndef MAIN_H
+#define MAIN_H
+
+#endif
+
Added: branches/branch-1.3/ide/Xcode3.1/Project Templates/FLTK/ui.fl
===================================================================
--- branches/branch-1.3/ide/Xcode3.1/Project Templates/FLTK/ui.fl
(rev 0)
+++ branches/branch-1.3/ide/Xcode3.1/Project Templates/FLTK/ui.fl
2009-11-16 22:52:42 UTC (rev 6937)
@@ -0,0 +1,15 @@
+# data file for the Fltk User Interface Designer (fluid)
+version 1.0300
+header_name {.h}
+code_name {.cxx}
+Function {make_window()} {open
+} {
+ Fl_Window {} {open selected
+ xywh {550 77 300 160} type Double visible
+ } {
+ Fl_Box {} {
+ label {Welcome to FLTK!}
+ xywh {50 25 200 100} box GTK_ROUND_UP_BOX color 50 labelsize 20
+ }
+ }
+}
Added: branches/branch-1.3/ide/Xcode3.1/README.template
===================================================================
--- branches/branch-1.3/ide/Xcode3.1/README.template
(rev 0)
+++ branches/branch-1.3/ide/Xcode3.1/README.template 2009-11-16 22:52:42 UTC
(rev 6937)
@@ -0,0 +1,20 @@
+
+To add FLTK projects as a new project template for Xcode 3, install the
+included files in the directory
+
+> "$(HOME)//Library/Application Support/Developer/Shared/Xcode/"
+
+and restart Xcode.
+
+The generated proects expects fltk 1.3 as it is installed
+using the command line.
+
+> sudo make install
+
+Enjoy!
+
+ - Matthias
+
+Please send me an EMail if you find errors or would like to suggest
+improvement: [email protected]
+
_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit