Patch #862 2006-02-25 00:22

sethjackson

wx static build project template's
Download
862-wx_static_build.patch (15.2 KB)
Category
 
Status
Accepted
Close date
2006-03-07 09:20
Assigned to
 
Index: C:/CodeBlocks/src/templates/win32/wxwidgets.cbp
===================================================================
--- C:/CodeBlocks/src/templates/win32/wxwidgets.cbp    (revision 2073)
+++ C:/CodeBlocks/src/templates/win32/wxwidgets.cbp    (working copy)
@@ -1,48 +1,48 @@
 <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
 <CodeBlocks_project_file>
-    <FileVersion major="1" minor="2" />
-    <Project>
-        <Option title="wxWidgets application" />
-        <Option pch_mode="0" />
-        <Option compiler="0" />
-        <Build>
-            <Target title="default">
-                <Option output="wxwidgets.exe" />
-                <Option type="0" />
-                <Option compiler="0" />
-                <Option includeInTargetAll="1" />
-                <Option projectResourceIncludeDirsRelation="0" />
-            </Target>
-            <Environment>
-                <Variable name="WX_CFG" value="" />
-            </Environment>
-        </Build>
-        <Compiler>
-            <Add option="-pipe" />
-            <Add option="-mthreads" />
-            <Add option="-Winvalid-pch" />
-            <Add option='-include &quot;wx_pch.h&quot;' />
-            <Add option="-D__GNUWIN32__" />
-            <Add option="-D__WXMSW__" />
-            <Add option="-DWXUSINGDLL" />
-            <Add option="-DUSE_PCH" />
-            <Add directory="$(#WX.include)" />
-            <Add directory="$(#WX.lib)\gcc_dll$(WX_CFG)\msw" />
-            <Add directory="$(#WX)\contrib\include" />
-        </Compiler>
-        <ResourceCompiler>
-            <Add directory="$(#WX.include)" />
-        </ResourceCompiler>
-        <Linker>
-            <Add library="wxmsw26" />
-            <Add directory="$(#WX.lib)\gcc_dll$(WX_CFG)" />
-            <Add directory="$(#WX.lib)" />
-        </Linker>
-        <Unit filename="wx_pch.h">
-            <Option compilerVar="CPP" />
-            <Option link="0" />
-            <Option weight="0" />
-            <Option target="default" />
-        </Unit>
-    </Project>
-</CodeBlocks_project_file>
+    <FileVersion major="1" minor="3" />
+    <Project>
+        <Option title="wxWidgets application" />
+        <Option pch_mode="0" />
+        <Option compiler="gcc" />
+        <Build>
+            <Target title="default">
+                <Option output="wxwidgets.exe" />
+                <Option type="0" />
+                <Option compiler="gcc" />
+                <Option includeInTargetAll="1" />
+                <Option projectResourceIncludeDirsRelation="0" />
+            </Target>
+            <Environment>
+                <Variable name="WX_CFG" value="" />
+            </Environment>
+        </Build>
+        <Compiler>
+            <Add option="-pipe" />
+            <Add option="-mthreads" />
+            <Add option="-Winvalid-pch" />
+            <Add option='-include &quot;wx_pch.h&quot;' />
+            <Add option="-D__GNUWIN32__" />
+            <Add option="-D__WXMSW__" />
+            <Add option="-DWXUSINGDLL" />
+            <Add option="-DUSE_PCH" />
+            <Add directory="$(#WX.include)" />
+            <Add directory="$(#WX.lib)\gcc_dll$(WX_CFG)\msw" />
+            <Add directory="$(#WX)\contrib\include" />
+        </Compiler>
+        <ResourceCompiler>
+            <Add directory="$(#WX.include)" />
+        </ResourceCompiler>
+        <Linker>
+            <Add library="wxmsw26" />
+            <Add directory="$(#WX.lib)" />
+            <Add directory="$(#WX.lib)\gcc_dll$(WX_CFG)" />
+        </Linker>
+        <Unit filename="wx_pch.h">
+            <Option compilerVar="CPP" />
+            <Option link="0" />
+            <Option weight="0" />
+            <Option target="default" />
+        </Unit>
+    </Project>
+</CodeBlocks_project_file>
\ No newline at end of file
Index: C:/CodeBlocks/src/templates/win32/wxwidgets_static.cbp
===================================================================
--- C:/CodeBlocks/src/templates/win32/wxwidgets_static.cbp    (revision 2073)
+++ C:/CodeBlocks/src/templates/win32/wxwidgets_static.cbp    (working copy)
@@ -1,60 +1,60 @@
 <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
 <CodeBlocks_project_file>
-    <FileVersion major="1" minor="2" />
-    <Project>
-        <Option title="wxWidgets application" />
-        <Option pch_mode="0" />
-        <Option compiler="0" />
-        <Build>
-            <Target title="default">
-                <Option output="wxwidgets_static.exe" />
-                <Option type="0" />
-                <Option compiler="0" />
-                <Option includeInTargetAll="1" />
-                <Option projectResourceIncludeDirsRelation="0" />
-            </Target>
-            <Environment>
-                <Variable name="WX_CFG" value="" />
-            </Environment>
-        </Build>
-        <Compiler>
-            <Add option="-pipe" />
-            <Add option="-mthreads" />
-            <Add option="-Winvalid-pch" />
-
download for full patch...