From 6697e9eefbbc1a48c5a69dba2ca5e41bb77b2cf7 Mon Sep 17 00:00:00 2001
From: "Nyx (Neal Orman)" <nyx@lindenlab.com>
Date: Thu, 2 Feb 2012 18:08:37 -0500
Subject: [PATCH] PATH-194 WIP packaging up various headers needed by
 llphysicsextensions

fixed autobuild to have release and debug configurations,
as that's what build.sh expects.
---
 package_physicsextensions.sh  |  0
 package_physicsextensions.xml | 94 +++++++++++++++++++++++++++++++----
 2 files changed, 85 insertions(+), 9 deletions(-)
 mode change 100644 => 100755 package_physicsextensions.sh

diff --git a/package_physicsextensions.sh b/package_physicsextensions.sh
old mode 100644
new mode 100755
diff --git a/package_physicsextensions.xml b/package_physicsextensions.xml
index 3c79b34f694..6f5eb466f95 100644
--- a/package_physicsextensions.xml
+++ b/package_physicsextensions.xml
@@ -17,7 +17,7 @@
         <map>
           <key>configurations</key>
           <map>
-            <key>Default</key>
+            <key>Debug</key>
             <map>
               <key>build</key>
               <map>
@@ -28,13 +28,26 @@
                   <string>-c ../package_physicsextensions.sh</string>
                 </array>
               </map>
-              <key>configure</key>
+              <key>default</key>
+              <string>True</string>
+              <key>name</key>
+              <string>Debug</string>
+            </map>
+            <key>Release</key>
+            <map>
+              <key>build</key>
               <map>
+                <key>command</key>
+                <string>bash</string>
+                <key>options</key>
+                <array>
+                  <string>-c ../package_physicsextensions.sh</string>
+                </array>
               </map>
               <key>default</key>
               <string>True</string>
               <key>name</key>
-              <string>Default</string>
+              <string>Release</string>
             </map>
           </map>
           <key>name</key>
@@ -46,7 +59,7 @@
           <string>stage</string>
           <key>configurations</key>
           <map>
-            <key>common</key>
+            <key>Debug</key>
             <map>
               <key>build</key>
               <map>
@@ -65,7 +78,28 @@
                 <string>LICENSES</string>
               </array>
               <key>name</key>
-              <string>common</string>
+              <string>Debug</string>
+            </map>
+            <key>Release</key>
+            <map>
+              <key>build</key>
+              <map>
+                <key>command</key>
+                <string>bash</string>
+                <key>options</key>
+                <array>
+                  <string>-c ../package_physicsextensions.sh</string>
+                </array>
+              </map>
+              <key>default</key>
+              <string>true</string>
+              <key>manifest</key>
+              <array>
+                <string>include/</string>
+                <string>LICENSES</string>
+              </array>
+              <key>name</key>
+              <string>Release</string>
             </map>
           </map>
           <key>name</key>
@@ -77,7 +111,7 @@
           <string>stage</string>
           <key>configurations</key>
           <map>
-            <key>common</key>
+            <key>Debug</key>
             <map>
               <key>build</key>
               <map>
@@ -96,7 +130,28 @@
                 <string>LICENSES</string>
               </array>
               <key>name</key>
-              <string>common</string>
+              <string>Debug</string>
+            </map>
+            <key>Release</key>
+            <map>
+              <key>build</key>
+              <map>
+                <key>command</key>
+                <string>bash</string>
+                <key>options</key>
+                <array>
+                  <string>-c ../package_physicsextensions.sh</string>
+                </array>
+              </map>
+              <key>default</key>
+              <string>true</string>
+              <key>manifest</key>
+              <array>
+                <string>include/</string>
+                <string>LICENSES</string>
+              </array>
+              <key>name</key>
+              <string>Release</string>
             </map>
           </map>
           <key>name</key>
@@ -108,7 +163,28 @@
           <string>stage</string>
           <key>configurations</key>
           <map>
-            <key>common</key>
+            <key>Debug</key>
+            <map>
+              <key>build</key>
+              <map>
+                <key>command</key>
+                <string>bash</string>
+                <key>options</key>
+                <array>
+                  <string>-c ../package_physicsextensions.sh</string>
+                </array>
+              </map>
+              <key>default</key>
+              <string>true</string>
+              <key>manifest</key>
+              <array>
+                <string>include/</string>
+                <string>LICENSES</string>
+              </array>
+              <key>name</key>
+              <string>Debug</string>
+            </map>
+            <key>Release</key>
             <map>
               <key>build</key>
               <map>
@@ -127,7 +203,7 @@
                 <string>LICENSES</string>
               </array>
               <key>name</key>
-              <string>common</string>
+              <string>Release</string>
             </map>
           </map>
           <key>name</key>
-- 
GitLab