Author: matt
Date: 2011-08-06 14:22:00 -0700 (Sat, 06 Aug 2011)
New Revision: 8919
Log:
Fluid3: moving stuff from the template into natie code (going from statis to 
procedural).

Modified:
   branches/branch-3.0/fltk.flw
   branches/branch-3.0/fluid/file_xcode.cxx
   branches/branch-3.0/ide/Xcode4/FLTK.xcodeproj/project.pbxproj
   branches/branch-3.0/ide/templates/Xcode4.tmpl

Modified: branches/branch-3.0/fltk.flw
===================================================================
--- branches/branch-3.0/fltk.flw        2011-08-06 20:08:48 UTC (rev 8918)
+++ branches/branch-3.0/fltk.flw        2011-08-06 21:22:00 UTC (rev 8919)
@@ -200,8 +200,13 @@
   }
 } 
 
-folder Libraries {} {
-  lib_target fltk {} {
+folder Libraries {open
+} {
+  lib_target fltk {open
+    uuid_Xcode4_BuildConfigurationList {F8A317C2-0F96-4681-8A97-DA6FDEF118E2}
+    uuid_Xcode4_DebugBuildConfiguration {034870F2-FE15-4D23-AD0D-62ED38449392}
+    uuid_Xcode4_ReleaseBuildConfiguration 
{D584B52C-FED3-4E71-A47E-A60BA05375B9}
+  } {
     folder Headers {open
     } {
       file_ref {Adjuster.h} {
@@ -211,7 +216,7 @@
         list_env 92
         filename_and_path {fltk3/Adjuster.h}
       }
-      file_ref {ask.h} {
+      file_ref {ask.h} {selected
         uuid_Xcode4_PBXBuildFile {AEDF2A15-B44B-4BD8-B754-2E54A44DB5B5}
         uuid_Xcode4_PBXFileRef {D31DE8AC-9AC3-4E54-98FE-200462A57910}
         build_env 64
@@ -1213,8 +1218,7 @@
         filename_and_path {fltk3/Xutf8.h}
       }
     }
-    folder Sources {open
-    } {
+    folder Sources {} {
       file_ref {Fl_cocoa.mm} {
         uuid_Xcode4_PBXBuildFile {99D08647-5486-4C7E-8CC9-51B70074F29C}
         uuid_Xcode4_PBXFileRef {F6BB47B6-F621-4FC2-A7DC-BFD6B7C5F16D}
@@ -2611,8 +2615,7 @@
   }
 } 
 
-folder Tests {open selected
-} {
+folder Tests {} {
   app_target Demo {} {
     file_ref {demo.cxx} {}
     file_ref {demo.menu} {

Modified: branches/branch-3.0/fluid/file_xcode.cxx
===================================================================
--- branches/branch-3.0/fluid/file_xcode.cxx    2011-08-06 20:08:48 UTC (rev 
8918)
+++ branches/branch-3.0/fluid/file_xcode.cxx    2011-08-06 21:22:00 UTC (rev 
8919)
@@ -89,6 +89,109 @@
   return buf;
 }
 
+
+static int writeBuildConfigurations(FILE *out, const char *debugKey, const 
char *releaseKey, const char *productName) {
+  // Write the Debug Build Configuration
+  fprintf(out, "\t\t%s /* Debug */ = {\n", debugKey);
+  fprintf(out, "\t\t\tisa = XCBuildConfiguration;\n");
+  fprintf(out, "\t\t\tbuildSettings = {\n");
+  fprintf(out, "\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n");
+  fprintf(out, "\t\t\t\tCOPY_PHASE_STRIP = NO;\n");
+  fprintf(out, "\t\t\t\tDEPLOYMENT_LOCATION = NO;\n");
+  fprintf(out, "\t\t\t\tDEPLOYMENT_POSTPROCESSING = NO;\n");
+  fprintf(out, "\t\t\t\tDYLIB_COMPATIBILITY_VERSION = 1;\n");
+  fprintf(out, "\t\t\t\tDYLIB_CURRENT_VERSION = 1;\n");
+  fprintf(out, "\t\t\t\tFRAMEWORK_VERSION = A;\n");
+  fprintf(out, "\t\t\t\tGCC_DYNAMIC_NO_PIC = NO;\n");
+  fprintf(out, "\t\t\t\tGCC_ENABLE_FIX_AND_CONTINUE = YES;\n");
+  fprintf(out, "\t\t\t\tGCC_MODEL_TUNING = G5;\n");
+  fprintf(out, "\t\t\t\tGCC_OPTIMIZATION_LEVEL = 0;\n");
+  fprintf(out, "\t\t\t\tGCC_PRECOMPILE_PREFIX_HEADER = YES;\n");
+  fprintf(out, "\t\t\t\tGCC_PREFIX_HEADER = fltk.pch;\n");
+  fprintf(out, "\t\t\t\tGCC_PREPROCESSOR_DEFINITIONS = FL_LIBRARY;\n");
+  fprintf(out, "\t\t\t\tGCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = NO;\n");
+  fprintf(out, "\t\t\t\tHEADER_SEARCH_PATHS = (\n");
+  fprintf(out, "\t\t\t\t\t../../ide/XCode4/,\n");
+  fprintf(out, "\t\t\t\t\t../../,\n");
+  fprintf(out, "\t\t\t\t\t../../png,\n");
+  fprintf(out, "\t\t\t\t\t../../jpeg,\n");
+  fprintf(out, "\t\t\t\t);\n");
+  fprintf(out, "\t\t\t\tINFOPLIST_FILE = \"plists/fltk-Info.plist\";\n");
+  fprintf(out, "\t\t\t\tINSTALL_PATH = \"@executable_path/../Frameworks\";\n");
+  fprintf(out, "\t\t\t\tOTHER_LDFLAGS = \"\";\n");
+  fprintf(out, "\t\t\t\tPREBINDING = NO;\n");
+  fprintf(out, "\t\t\t\tPRODUCT_NAME = \"%s\";\n", productName);
+  fprintf(out, "\t\t\t\tSDKROOT = \"$(DEVELOPER_SDK_DIR)/MacOSX10.6.sdk\";\n");
+  fprintf(out, "\t\t\t\tWARNING_CFLAGS = (\n");
+  fprintf(out, "\t\t\t\t\t\"-Wno-format-security\",\n");
+  fprintf(out, "\t\t\t\t\t\"-Wall\",\n");
+  fprintf(out, "\t\t\t\t);\n");
+  fprintf(out, "\t\t\t};\n");
+  fprintf(out, "\t\t\tname = Debug;\n");
+  fprintf(out, "\t\t};\n");
+  
+  // Write the Release Build Configuration
+  fprintf(out, "\t\t%s /* Release */ = {\n", releaseKey);
+  fprintf(out, "\t\t\tisa = XCBuildConfiguration;\n");
+  fprintf(out, "\t\t\tbuildSettings = {\n");
+  fprintf(out, "\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n");
+  fprintf(out, "\t\t\t\tCOPY_PHASE_STRIP = YES;\n");
+  fprintf(out, "\t\t\t\tDEBUG_INFORMATION_FORMAT = \"dwarf-with-dsym\";\n");
+  fprintf(out, "\t\t\t\tDEPLOYMENT_LOCATION = NO;\n");
+  fprintf(out, "\t\t\t\tDEPLOYMENT_POSTPROCESSING = NO;\n");
+  fprintf(out, "\t\t\t\tDYLIB_COMPATIBILITY_VERSION = 1;\n");
+  fprintf(out, "\t\t\t\tDYLIB_CURRENT_VERSION = 1;\n");
+  fprintf(out, "\t\t\t\tFRAMEWORK_VERSION = A;\n");
+  fprintf(out, "\t\t\t\tGCC_ENABLE_FIX_AND_CONTINUE = NO;\n");
+  fprintf(out, "\t\t\t\tGCC_MODEL_TUNING = G5;\n");
+  fprintf(out, "\t\t\t\tGCC_PRECOMPILE_PREFIX_HEADER = YES;\n");
+  fprintf(out, "\t\t\t\tGCC_PREFIX_HEADER = fltk.pch;\n");
+  fprintf(out, "\t\t\t\tGCC_PREPROCESSOR_DEFINITIONS = FL_LIBRARY;\n");
+  fprintf(out, "\t\t\t\tGCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = NO;\n");
+  fprintf(out, "\t\t\t\tHEADER_SEARCH_PATHS = (\n");
+  fprintf(out, "\t\t\t\t\t../../ide/XCode4/,\n");
+  fprintf(out, "\t\t\t\t\t../../,\n");
+  fprintf(out, "\t\t\t\t\t../../png,\n");
+  fprintf(out, "\t\t\t\t\t../../jpeg,\n");
+  fprintf(out, "\t\t\t\t);\n");
+  fprintf(out, "\t\t\t\tINFOPLIST_FILE = \"plists/fltk-Info.plist\";\n");
+  fprintf(out, "\t\t\t\tINSTALL_PATH = \"@executable_path/../Frameworks\";\n");
+  fprintf(out, "\t\t\t\tOTHER_LDFLAGS = \"\";\n");
+  fprintf(out, "\t\t\t\tPREBINDING = NO;\n");
+  fprintf(out, "\t\t\t\tPRODUCT_NAME = \"%s\";\n", productName);
+  fprintf(out, "\t\t\t\tSDKROOT = \"$(DEVELOPER_SDK_DIR)/MacOSX10.6.sdk\";\n");
+  fprintf(out, "\t\t\t\tWARNING_CFLAGS = (\n");
+  fprintf(out, "\t\t\t\t\t\"-Wno-format-security\",\n");
+  fprintf(out, "\t\t\t\t\t\"-Wall\",\n");
+  fprintf(out, "\t\t\t\t);\n");
+  fprintf(out, "\t\t\t\tZERO_LINK = NO;\n");
+  fprintf(out, "\t\t\t};\n");
+  fprintf(out, "\t\t\tname = Release;\n");
+  fprintf(out, "\t\t};\n");
+
+  return 0;
+}
+
+static int writeBuildConfigurationList(FILE *out, const char *listKey, const 
char *debugKey, const char *releaseKey, const char *productName) {
+  fprintf(out, "\t\t%s /* Build configuration list for PBXNativeTarget \"%s\" 
*/ = {\n", listKey, productName);
+  fprintf(out, "\t\t\tisa = XCConfigurationList;\n");
+  fprintf(out, "\t\t\tbuildConfigurations = (\n");
+  fprintf(out, "\t\t\t\t%s /* Debug */,\n", debugKey);
+  fprintf(out, "\t\t\t\t%s /* Release */,\n", releaseKey);
+  fprintf(out, "\t\t\t);\n");
+  fprintf(out, "\t\t\tdefaultConfigurationIsVisible = 0;\n");
+  fprintf(out, "\t\t\tdefaultConfigurationName = Debug;\n");
+  fprintf(out, "\t\t};\n");
+  return 0;
+}
+
+static int writeNativeTarget(FILE *out, const char *listKey, const char 
*productName) {
+  // currently writes only one entry inside the native target!
+  fprintf(out, "\t\t\tbuildConfigurationList = %s /* Build configuration list 
for PBXNativeTarget \"%s\" */;", listKey, productName);
+  return 0;
+}
+
+
 int write_fltk_ide_xcode4() {
   // for now, we use a template file in FLTK/ide/templates/VisualC2008.tmpl .
   // When done, everything will likely be integrated into the executable to 
make one compact package.
@@ -242,7 +345,55 @@
             }
           }
           hash = strchr(hash, ';')+1;
+        } else if (strncmp(hash, "#BuildConfigurations(", 21)==0) {
+          Fl_Target_Type *tgt = Fl_Target_Type::find(hash+21, ')');
+          if (!tgt) {
+            printf("ERROR writing Xcode 4 file: target not found!");
+            return -1;
+          }
+          char debugKey[32]; strcpy(debugKey, 
tgt->get_UUID_Xcode("Xcode4_DebugBuildConfiguration"));
+          char releaseKey[32]; strcpy(releaseKey, 
tgt->get_UUID_Xcode("Xcode4_ReleaseBuildConfiguration"));
+          writeBuildConfigurations(out, debugKey, releaseKey, tgt->name());
+          hash = strchr(hash, ';')+1;
+        } else if (strncmp(hash, "#BuildConfigurationList(", 24)==0) {
+          Fl_Target_Type *tgt = Fl_Target_Type::find(hash+24, ')');
+          if (!tgt) {
+            printf("ERROR writing Xcode 4 file: target not found!");
+            return -1;
+          }
+          char listKey[32]; strcpy(listKey, 
tgt->get_UUID_Xcode("Xcode4_BuildConfigurationList"));
+          char debugKey[32]; strcpy(debugKey, 
tgt->get_UUID_Xcode("Xcode4_DebugBuildConfiguration"));
+          char releaseKey[32]; strcpy(releaseKey, 
tgt->get_UUID_Xcode("Xcode4_ReleaseBuildConfiguration"));
+          writeBuildConfigurationList(out, listKey, debugKey, releaseKey, 
tgt->name());
+          hash = strchr(hash, ';')+1;
+        } else if (strncmp(hash, "#NativeTarget(", 14)==0) {
+          Fl_Target_Type *tgt = Fl_Target_Type::find(hash+14, ')');
+          if (!tgt) {
+            printf("ERROR writing Xcode 4 file: target not found!");
+            return -1;
+          }
+          char listKey[32]; strcpy(listKey, 
tgt->get_UUID_Xcode("Xcode4_BuildConfigurationList"));
+          writeNativeTarget(out, listKey, tgt->name());
+          hash = strchr(hash, ';')+1;
         } else {
+#if 0
+          fltk.framework starts here: A57FDE871C99A52BEEDEE68C
+          
+          rootObject = 4BF1A7FFEACF5F31B4127482, contains fltk as a target
+            fltk (NativeTarget) = A57FDE871C99A52BEEDEE68C
+              buildConfigurationList (ConfigurationList) = 
3BD5FFB6FCC8F21A23C23DF4 /* Build configuration list for PBXNativeTarget "fltk" 
*/;
+                Debug (BuildConfiguration) = 78446623B2E9921ED6B05986
+                Release (BuildConfiguration) = BFEB622BA8B40E851AF0E91F
+              Resources build phase (ResourcesBuildPhase) = 
6715D162BEFF87372B2A31E0 (can reference files (BuildFile))
+              Headers build phase (HeadersBuildPhas) = 
C9EDD5C81274C6BA00ADB21C (can reference files (BuildFile))
+              CopyFilesBuildPhase = C9EDD42D1274B84100ADB21C /* CopyFiles */,
+              CopyFilesBuildPhase = C9EDD4DD1274BB4100ADB21C /* CopyFiles */,
+              SourcesBuildPhase = 4DA82C38AA0403E56A1E3545 /* Sources */,
+              FrameworksBuildPhase = D2A1AD2D93B0EED43F624520
+                Cocoa.framework = C96290C21274D0CF007D3CFE (BuildFile -> 
FileReference)
+              buildRules (BuildRule) = EFFAAB905A54B0BFE13CB56C (Fluid build 
rule, no more references)
+              productReference = FEB0F8FE6383384180570D94 (-> FileReference, 
is also referenced in "Products")
+#endif
           printf("Unknown command in template: <<%s>>\n", hash);
           copyLine = 1;
           hash++;

Modified: branches/branch-3.0/ide/Xcode4/FLTK.xcodeproj/project.pbxproj
===================================================================
--- branches/branch-3.0/ide/Xcode4/FLTK.xcodeproj/project.pbxproj       
2011-08-06 20:08:48 UTC (rev 8918)
+++ branches/branch-3.0/ide/Xcode4/FLTK.xcodeproj/project.pbxproj       
2011-08-06 21:22:00 UTC (rev 8919)
@@ -8496,8 +8496,7 @@
                };
                A57FDE871C99A52BEEDEE68C /* fltk */ = {
                        isa = PBXNativeTarget;
-                       buildConfigurationList = 3BD5FFB6FCC8F21A23C23DF4 /* 
Build configuration list for PBXNativeTarget "fltk" */;
-                       buildPhases = (
+                       buildConfigurationList = F8A317C2491750F8DEF118E2 /* 
Build configuration list for PBXNativeTarget "fltk" */;                    
buildPhases = (
                                6715D162BEFF87372B2A31E0 /* Resources */,
                                C9EDD5C81274C6BA00ADB21C /* Headers */,
                                C9EDD42D1274B84100ADB21C /* CopyFiles */,
@@ -13779,7 +13778,7 @@
                        };
                        name = Release;
                };
-               78446623B2E9921ED6B05986 /* Debug */ = {
+               034870F2B336CFE038449392 /* Debug */ = {
                        isa = XCBuildConfiguration;
                        buildSettings = {
                                ALWAYS_SEARCH_USER_PATHS = NO;
@@ -13798,7 +13797,7 @@
                                GCC_PREPROCESSOR_DEFINITIONS = FL_LIBRARY;
                                GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = NO;
                                HEADER_SEARCH_PATHS = (
-                                       ../../ide/XCode3/,
+                                       ../../ide/XCode4/,
                                        ../../,
                                        ../../png,
                                        ../../jpeg,
@@ -13807,7 +13806,7 @@
                                INSTALL_PATH = "@executable_path/../Frameworks";
                                OTHER_LDFLAGS = "";
                                PREBINDING = NO;
-                               PRODUCT_NAME = fltk;
+                               PRODUCT_NAME = "fltk";
                                SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.6.sdk";
                                WARNING_CFLAGS = (
                                        "-Wno-format-security",
@@ -13816,6 +13815,43 @@
                        };
                        name = Debug;
                };
+               D584B52CB0A20275A05375B9 /* Release */ = {
+                       isa = XCBuildConfiguration;
+                       buildSettings = {
+                               ALWAYS_SEARCH_USER_PATHS = NO;
+                               COPY_PHASE_STRIP = YES;
+                               DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
+                               DEPLOYMENT_LOCATION = NO;
+                               DEPLOYMENT_POSTPROCESSING = NO;
+                               DYLIB_COMPATIBILITY_VERSION = 1;
+                               DYLIB_CURRENT_VERSION = 1;
+                               FRAMEWORK_VERSION = A;
+                               GCC_ENABLE_FIX_AND_CONTINUE = NO;
+                               GCC_MODEL_TUNING = G5;
+                               GCC_PRECOMPILE_PREFIX_HEADER = YES;
+                               GCC_PREFIX_HEADER = fltk.pch;
+                               GCC_PREPROCESSOR_DEFINITIONS = FL_LIBRARY;
+                               GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = NO;
+                               HEADER_SEARCH_PATHS = (
+                                       ../../ide/XCode4/,
+                                       ../../,
+                                       ../../png,
+                                       ../../jpeg,
+                               );
+                               INFOPLIST_FILE = "plists/fltk-Info.plist";
+                               INSTALL_PATH = "@executable_path/../Frameworks";
+                               OTHER_LDFLAGS = "";
+                               PREBINDING = NO;
+                               PRODUCT_NAME = "fltk";
+                               SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.6.sdk";
+                               WARNING_CFLAGS = (
+                                       "-Wno-format-security",
+                                       "-Wall",
+                               );
+                               ZERO_LINK = NO;
+                       };
+                       name = Release;
+               };
                7852BC9638DB86312B634FCC /* Release */ = {
                        isa = XCBuildConfiguration;
                        buildSettings = {
@@ -15366,43 +15402,6 @@
                        };
                        name = Debug;
                };
-               BFEB622BA8B40E851AF0E91F /* Release */ = {
-                       isa = XCBuildConfiguration;
-                       buildSettings = {
-                               ALWAYS_SEARCH_USER_PATHS = NO;
-                               COPY_PHASE_STRIP = YES;
-                               DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
-                               DEPLOYMENT_LOCATION = NO;
-                               DEPLOYMENT_POSTPROCESSING = NO;
-                               DYLIB_COMPATIBILITY_VERSION = 1;
-                               DYLIB_CURRENT_VERSION = 1;
-                               FRAMEWORK_VERSION = A;
-                               GCC_ENABLE_FIX_AND_CONTINUE = NO;
-                               GCC_MODEL_TUNING = G5;
-                               GCC_PRECOMPILE_PREFIX_HEADER = YES;
-                               GCC_PREFIX_HEADER = fltk.pch;
-                               GCC_PREPROCESSOR_DEFINITIONS = FL_LIBRARY;
-                               GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = NO;
-                               HEADER_SEARCH_PATHS = (
-                                       ../../ide/XCode3/,
-                                       ../../,
-                                       ../../png,
-                                       ../../jpeg,
-                               );
-                               INFOPLIST_FILE = "plists/fltk-Info.plist";
-                               INSTALL_PATH = "@executable_path/../Frameworks";
-                               OTHER_LDFLAGS = "";
-                               PREBINDING = NO;
-                               PRODUCT_NAME = fltk;
-                               SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.6.sdk";
-                               WARNING_CFLAGS = (
-                                       "-Wno-format-security",
-                                       "-Wall",
-                               );
-                               ZERO_LINK = NO;
-                       };
-                       name = Release;
-               };
                BFF26783A7FAE12B0EA16C83 /* Release */ = {
                        isa = XCBuildConfiguration;
                        buildSettings = {
@@ -16929,11 +16928,11 @@
                        defaultConfigurationIsVisible = 0;
                        defaultConfigurationName = Debug;
                };
-               3BD5FFB6FCC8F21A23C23DF4 /* Build configuration list for 
PBXNativeTarget "fltk" */ = {
+               F8A317C2491750F8DEF118E2 /* Build configuration list for 
PBXNativeTarget "fltk" */ = {
                        isa = XCConfigurationList;
                        buildConfigurations = (
-                               78446623B2E9921ED6B05986 /* Debug */,
-                               BFEB622BA8B40E851AF0E91F /* Release */,
+                               034870F2B336CFE038449392 /* Debug */,
+                               D584B52CB0A20275A05375B9 /* Release */,
                        );
                        defaultConfigurationIsVisible = 0;
                        defaultConfigurationName = Debug;

Modified: branches/branch-3.0/ide/templates/Xcode4.tmpl
===================================================================
--- branches/branch-3.0/ide/templates/Xcode4.tmpl       2011-08-06 20:08:48 UTC 
(rev 8918)
+++ branches/branch-3.0/ide/templates/Xcode4.tmpl       2011-08-06 21:22:00 UTC 
(rev 8919)
@@ -7376,7 +7376,7 @@
                };
                A57FDE871C99A52BEEDEE68C /* fltk */ = {
                        isa = PBXNativeTarget;
-                       buildConfigurationList = 3BD5FFB6FCC8F21A23C23DF4 /* 
Build configuration list for PBXNativeTarget "fltk" */;
+#NativeTarget(fltk);
                        buildPhases = (
                                6715D162BEFF87372B2A31E0 /* Resources */,
                                C9EDD5C81274C6BA00ADB21C /* Headers */,
@@ -12485,43 +12485,7 @@
                        };
                        name = Release;
                };
-               78446623B2E9921ED6B05986 /* Debug */ = {
-                       isa = XCBuildConfiguration;
-                       buildSettings = {
-                               ALWAYS_SEARCH_USER_PATHS = NO;
-                               COPY_PHASE_STRIP = NO;
-                               DEPLOYMENT_LOCATION = NO;
-                               DEPLOYMENT_POSTPROCESSING = NO;
-                               DYLIB_COMPATIBILITY_VERSION = 1;
-                               DYLIB_CURRENT_VERSION = 1;
-                               FRAMEWORK_VERSION = A;
-                               GCC_DYNAMIC_NO_PIC = NO;
-                               GCC_ENABLE_FIX_AND_CONTINUE = YES;
-                               GCC_MODEL_TUNING = G5;
-                               GCC_OPTIMIZATION_LEVEL = 0;
-                               GCC_PRECOMPILE_PREFIX_HEADER = YES;
-                               GCC_PREFIX_HEADER = fltk.pch;
-                               GCC_PREPROCESSOR_DEFINITIONS = FL_LIBRARY;
-                               GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = NO;
-                               HEADER_SEARCH_PATHS = (
-                                       ../../ide/XCode3/,
-                                       ../../,
-                                       ../../png,
-                                       ../../jpeg,
-                               );
-                               INFOPLIST_FILE = "plists/fltk-Info.plist";
-                               INSTALL_PATH = "@executable_path/../Frameworks";
-                               OTHER_LDFLAGS = "";
-                               PREBINDING = NO;
-                               PRODUCT_NAME = fltk;
-                               SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.6.sdk";
-                               WARNING_CFLAGS = (
-                                       "-Wno-format-security",
-                                       "-Wall",
-                               );
-                       };
-                       name = Debug;
-               };
+#BuildConfigurations(fltk);
                7852BC9638DB86312B634FCC /* Release */ = {
                        isa = XCBuildConfiguration;
                        buildSettings = {
@@ -14072,43 +14036,6 @@
                        };
                        name = Debug;
                };
-               BFEB622BA8B40E851AF0E91F /* Release */ = {
-                       isa = XCBuildConfiguration;
-                       buildSettings = {
-                               ALWAYS_SEARCH_USER_PATHS = NO;
-                               COPY_PHASE_STRIP = YES;
-                               DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
-                               DEPLOYMENT_LOCATION = NO;
-                               DEPLOYMENT_POSTPROCESSING = NO;
-                               DYLIB_COMPATIBILITY_VERSION = 1;
-                               DYLIB_CURRENT_VERSION = 1;
-                               FRAMEWORK_VERSION = A;
-                               GCC_ENABLE_FIX_AND_CONTINUE = NO;
-                               GCC_MODEL_TUNING = G5;
-                               GCC_PRECOMPILE_PREFIX_HEADER = YES;
-                               GCC_PREFIX_HEADER = fltk.pch;
-                               GCC_PREPROCESSOR_DEFINITIONS = FL_LIBRARY;
-                               GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = NO;
-                               HEADER_SEARCH_PATHS = (
-                                       ../../ide/XCode3/,
-                                       ../../,
-                                       ../../png,
-                                       ../../jpeg,
-                               );
-                               INFOPLIST_FILE = "plists/fltk-Info.plist";
-                               INSTALL_PATH = "@executable_path/../Frameworks";
-                               OTHER_LDFLAGS = "";
-                               PREBINDING = NO;
-                               PRODUCT_NAME = fltk;
-                               SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.6.sdk";
-                               WARNING_CFLAGS = (
-                                       "-Wno-format-security",
-                                       "-Wall",
-                               );
-                               ZERO_LINK = NO;
-                       };
-                       name = Release;
-               };
                BFF26783A7FAE12B0EA16C83 /* Release */ = {
                        isa = XCBuildConfiguration;
                        buildSettings = {
@@ -15635,15 +15562,7 @@
                        defaultConfigurationIsVisible = 0;
                        defaultConfigurationName = Debug;
                };
-               3BD5FFB6FCC8F21A23C23DF4 /* Build configuration list for 
PBXNativeTarget "fltk" */ = {
-                       isa = XCConfigurationList;
-                       buildConfigurations = (
-                               78446623B2E9921ED6B05986 /* Debug */,
-                               BFEB622BA8B40E851AF0E91F /* Release */,
-                       );
-                       defaultConfigurationIsVisible = 0;
-                       defaultConfigurationName = Debug;
-               };
+#BuildConfigurationList(fltk);
                3D5D2D23D2C59411880AB2D2 /* Build configuration list for 
PBXNativeTarget "arc" */ = {
                        isa = XCConfigurationList;
                        buildConfigurations = (

_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit

Reply via email to