Moved the directory of generated precompiled header file to OUTPUT directory to fix...
authorjwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524>
Sat, 30 Sep 2006 01:34:36 +0000 (01:34 +0000)
committerjwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524>
Sat, 30 Sep 2006 01:34:36 +0000 (01:34 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1647 6f19259b-4bc3-4df7-8a09-765794883524

Tools/Conf/BuildMacro.xml

index 2731507..38c048b 100644 (file)
@@ -64,10 +64,10 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
           <if>\r
             <and>\r
               <equals arg1="${CC_FAMILY}" arg2="MSFT" casesensitive="false"/>\r
-              <available file="${DEST_DIR_DEBUG}/AutoGen.h.gch"/>\r
+              <available file="${DEST_DIR_OUTPUT}/AutoGen.h.gch"/>\r
             </and>\r
             <then>\r
-              <var name="LOCAL_CC_FLAGS" value="${CC_FLAGS} /Yu${DEST_DIR_DEBUG}/AutoGen.h /Fp${DEST_DIR_DEBUG}/AutoGen.h.gch"/>\r
+              <var name="LOCAL_CC_FLAGS" value="${CC_FLAGS} /Yu${DEST_DIR_DEBUG}/AutoGen.h /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch"/>\r
             </then>\r
             <else>\r
               <var name="LOCAL_CC_FLAGS" value="${CC_FLAGS}"/>\r
@@ -113,7 +113,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
       <mkdir dir="${DEST_DIR_OUTPUT}/@{FILEPATH}"/>\r
 \r
       <if>\r
-        <available type="file" file="${DEST_DIR_DEBUG}/AutoGen.h.gch"/>\r
+        <available type="file" file="${DEST_DIR_OUTPUT}/AutoGen.h.gch"/>\r
         <then>\r
           <makedeps DepsFile="${DEST_DIR_OUTPUT}/AutoGen.h.dep">\r
             <input file="${DEST_DIR_DEBUG}/AutoGen.h"/>\r
@@ -127,7 +127,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
           <file ListFile="${DEST_DIR_OUTPUT}/AutoGen.h.dep"/>\r
         </sourcefiles>\r
         <targetfiles>\r
-          <file Name="${DEST_DIR_DEBUG}/AutoGen.h.gch"/>\r
+          <file Name="${DEST_DIR_OUTPUT}/AutoGen.h.gch"/>\r
         </targetfiles>\r
 \r
         <sequential>\r
@@ -135,7 +135,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
           <if>\r
             <equals arg1="${CC_FAMILY}" arg2="MSFT" casesensitive="false"/>\r
             <then>\r
-              <var name="LOCAL_CC_FLAGS" value="${CC_FLAGS} /TC /Yc /Fp${DEST_DIR_DEBUG}/AutoGen.h.gch"/>\r
+              <var name="LOCAL_CC_FLAGS" value="${CC_FLAGS} /TC /Yc /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch"/>\r
               <cc userdefine="on">\r
                 <command type="CC" cmd="${CC}" workdir="${DEST_DIR_OUTPUT}" family="${CC_FAMILY}"\r
                     outputFile="${DEST_DIR_OUTPUT}/AutoGen.h.obj" dpath="${CC_DPATH}">\r
@@ -174,7 +174,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
           <if>\r
             <equals arg1="${CC_FAMILY}" arg2="MSFT" casesensitive="false"/>\r
             <then>\r
-              <var name="LOCAL_CC_FLAGS" value="${CC_FLAGS} /Yu${DEST_DIR_DEBUG}/AutoGen.h /Fp${DEST_DIR_DEBUG}/AutoGen.h.gch"/>\r
+              <var name="LOCAL_CC_FLAGS" value="${CC_FLAGS} /Yu${DEST_DIR_DEBUG}/AutoGen.h /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch"/>\r
             </then>\r
             <else>\r
               <var name="LOCAL_CC_FLAGS" value="${CC_FLAGS}"/>\r
@@ -643,10 +643,10 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
           <if>\r
             <and>\r
               <equals arg1="${CC_FAMILY}" arg2="MSFT" casesensitive="false"/>\r
-              <available file="${DEST_DIR_DEBUG}/AutoGen.h.gch"/>\r
+              <available file="${DEST_DIR_OUTPUT}/AutoGen.h.gch"/>\r
             </and>\r
             <then>\r
-              <var name="LOCAL_CC_FLAGS" value="${CC_FLAGS} /Yc${DEST_DIR_DEBUG}/AutoGen.h /Yu${DEST_DIR_DEBUG}/AutoGen.h /Fp${DEST_DIR_DEBUG}/AutoGen.h.gch"/>\r
+              <var name="LOCAL_CC_FLAGS" value="${CC_FLAGS} /Yc${DEST_DIR_DEBUG}/AutoGen.h /Yu${DEST_DIR_DEBUG}/AutoGen.h /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch"/>\r
             </then>\r
             <else>\r
               <var name="LOCAL_CC_FLAGS" value="${CC_FLAGS}"/>\r
@@ -720,10 +720,10 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
           <if>\r
             <and>\r
               <equals arg1="${CC_FAMILY}" arg2="MSFT" casesensitive="false"/>\r
-              <available file="${DEST_DIR_DEBUG}/AutoGen.h.gch"/>\r
+              <available file="${DEST_DIR_OUTPUT}/AutoGen.h.gch"/>\r
             </and>\r
             <then>\r
-              <var name="LOCAL_CC_FLAGS" value="${CC_FLAGS} /Yu${DEST_DIR_DEBUG}/AutoGen.h /Fp${DEST_DIR_DEBUG}/AutoGen.h.gch"/>\r
+              <var name="LOCAL_CC_FLAGS" value="${CC_FLAGS} /Yu${DEST_DIR_DEBUG}/AutoGen.h /Fp${DEST_DIR_OUTPUT}/AutoGen.h.gch"/>\r
             </then>\r
             <else>\r
               <var name="LOCAL_CC_FLAGS" value="${CC_FLAGS}"/>\r