Can you change the Library name like the rest of them are?
Ok, no problem, but it should also be changed in plugin wizard too
BYO
I have no idea on the wizard, but keeping them all the same in Code::Blocks projects makes it easier to do the ANSI builds.
I updated the patch below.
Index: src/plugins/contrib/wxSmithContribItems/wxSmithContribItems.cbp
===================================================================
--- src/plugins/contrib/wxSmithContribItems/wxSmithContribItems.cbp (revision 3869)
+++ src/plugins/contrib/wxSmithContribItems/wxSmithContribItems.cbp (working copy)
@@ -13,6 +13,10 @@
<Option compiler="gcc" />
<Option host_application="$(#cb)\devel\codeblocks.exe" />
</Target>
+ <Environment>
+ <Variable name="WX_SUFFIX" value="u" />
+ <Variable name="WX_CFG" value="" />
+ </Environment>
</Build>
<VirtualTargets>
<Add alias="All" targets="wxSmithContribItems;" />
@@ -46,9 +50,9 @@
<Linker>
<Add library="wxsmith" />
<Add library="codeblocks" />
- <Add library="wxmsw26u" />
+ <Add library="wxmsw26$(WX_SUFFIX)" />
<Add directory="$(#cb)\devel" />
- <Add directory="$(#wx.lib)\gcc_dll" />
+ <Add directory="$(#wx.lib)\gcc_dll$(WX_CFG)" />
<Add directory="..\..\..\devel\share\CodeBlocks\plugins" />
</Linker>
<ExtraCommands>
Tim S