NOTE: This patch MIGHT be worth committing to the SVN tree; but, needs more testing.
Patch to reduce the number of places in the CB core project where the monolithic DLL name is used.
Tim S.
Index: src/CodeBlocks_wx29.cbp
===================================================================
--- src/CodeBlocks_wx29.cbp (revision 7398)
+++ src/CodeBlocks_wx29.cbp (working copy)
@@ -214,7 +214,7 @@
<Option working_dir="devel\share\CodeBlocks\plugins" />
<Option type="3" />
<Option compiler="gcc" />
- <Option projectLinkerOptionsRelation="1" />
+ <Option projectLinkerOptionsRelation="2" />
<Compiler>
<Add option="-DBUILDING_PLUGIN" />
<Add option="-DWXMAKINGDLL_PROPGRID" />
@@ -230,7 +230,6 @@
<Add option="-Wl,--enable-auto-import" />
<Add option="-mthreads" />
<Add library="codeblocks" />
- <Add library="wxmsw$(WX_VERSION)$(WX_SUFFIX)" />
<Add directory="devel" />
</Linker>
</Target>
@@ -240,7 +239,7 @@
<Option external_deps="devel\libcodeblocks.a;" />
<Option type="3" />
<Option compiler="gcc" />
- <Option projectLinkerOptionsRelation="1" />
+ <Option projectLinkerOptionsRelation="2" />
<Compiler>
<Add option="-DBUILDING_PLUGIN" />
<Add option="-DWXMAKINGDLL_PROPGRID" />
@@ -254,7 +253,6 @@
<Add option="-Wl,--enable-auto-import" />
<Add option="-mthreads" />
<Add library="codeblocks" />
- <Add library="wxmsw$(WX_VERSION)$(WX_SUFFIX)" />
<Add directory="devel" />
</Linker>
</Target>
@@ -264,7 +262,7 @@
<Option external_deps="devel\libcodeblocks.a;" />
<Option type="3" />
<Option compiler="gcc" />
- <Option projectLinkerOptionsRelation="1" />
+ <Option projectLinkerOptionsRelation="2" />
<Compiler>
<Add option="-DBUILDING_PLUGIN" />
<Add option="-DWXMAKINGDLL_PROPGRID" />
@@ -277,7 +275,6 @@
<Add option="-Wl,--enable-auto-import" />
<Add option="-mthreads" />
<Add library="codeblocks" />
- <Add library="wxmsw$(WX_VERSION)$(WX_SUFFIX)" />
<Add directory="devel" />
</Linker>
</Target>
@@ -299,7 +297,7 @@
<Option external_deps="devel\libcodeblocks.a;plugins\compilergcc\depslib\libdepslib.a;" />
<Option type="3" />
<Option compiler="gcc" />
- <Option projectLinkerOptionsRelation="1" />
+ <Option projectLinkerOptionsRelation="2" />
<Compiler>
<Add option="-DBUILDING_PLUGIN" />
<Add option="-DWXMAKINGDLL_PROPGRID" />
@@ -315,7 +312,6 @@
<Add option="-Wl,--enable-auto-import" />
<Add option="-mthreads" />
<Add library="codeblocks" />
- <Add library="wxmsw$(WX_VERSION)$(WX_SUFFIX)" />
<Add library="depslib" />
<Add directory="devel" />
<Add directory="plugins\compilergcc\depslib" />
@@ -327,7 +324,7 @@
<Option external_deps="devel\libcodeblocks.a;" />
<Option type="3" />
<Option compiler="gcc" />
- <Option projectLinkerOptionsRelation="1" />
+ <Option projectLinkerOptionsRelation="2" />
<Compiler>
<Add option="-DBUILDING_PLUGIN" />
<Add option="-DWXMAKINGDLL_PROPGRID" />
@@ -342,7 +339,6 @@
<Add option="-Wl,--enable-auto-import" />
<Add option="-mthreads" />
<Add library="codeblocks" />
- <Add library="wxmsw$(WX_VERSION)$(WX_SUFFIX)" />
<Add directory="devel" />
</Linker>
</Target>
@@ -352,7 +348,7 @@
<Option external_deps="devel\libcodeblocks.a;" />
<Option type="3" />
<Option compiler="gcc" />
- <Option projectLinkerOptionsRelation="1" />
+ <Option projectLinkerOptionsRelation="2" />
<Compiler>
<Add option="-DBUILDING_PLUGIN" />
<Add option="-DWXMAKINGDLL_PROPGRID" />
@@ -366,7 +362,6 @@
<Add option="-Wl,--enable-auto-import" />
<Add option="-mthreads" />
<Add library="codeblocks" />
- <Add library="wxmsw$(WX_VERSION)$(WX_SUFFIX)" />
<Add directory="devel" />
</Linker>
</Target>
@@ -376,7 +371,7 @@
<Option external_deps="devel\libcodeblocks.a;" />
<Option type="3" />
<Option compiler="gcc" />
- <Option projectLinkerOptionsRelation="1" />
+ <Option projectLinkerOptionsRelation="2" />
<Compiler>
<Add option="-DBUILDING_PLUGIN" />
<Add option="-DWXMAKINGDLL_PROPGRID" />
@@ -389,7 +384,6 @@
<Add option="-Wl,--enable-auto-import" />
<Add option="-mthreads" />
<Add library="codeblocks" />
- <Add library="wxmsw$(WX_VERSION)$(WX_SUFFIX)" />
<Add directory="devel" />
</Linker>
</Target>
@@ -399,7 +393,7 @@
<Option external_deps="devel\libcodeblocks.a;" />
<Option type="3" />
<Option compiler="gcc" />
- <Option projectLinkerOptionsRelation="1" />
+ <Option projectLinkerOptionsRelation="2" />
<Compiler>
<Add option="-DBUILDING_PLUGIN" />
<Add option="-DWXMAKINGDLL_PROPGRID" />
@@ -412,7 +406,6 @@
<Add option="-Wl,--enable-auto-import" />
<Add option="-mthreads" />
<Add library="codeblocks" />
- <Add library="wxmsw$(WX_VERSION)$(WX_SUFFIX)" />
<Add directory="devel" />
</Linker>
</Target>
@@ -422,7 +415,7 @@
<Option external_deps="devel\libcodeblocks.a;" />
<Option type="3" />
<Option compiler="gcc" />
- <Option projectLinkerOptionsRelation="1" />
+ <Option projectLinkerOptionsRelation="2" />
<Compiler>
<Add option="-DBUILDING_PLUGIN" />
<Add option="-DWXMAKINGDLL_PROPGRID" />
@@ -435,7 +428,6 @@
<Add option="-Wl,--enable-auto-import" />
<Add option="-mthreads" />
<Add library="codeblocks" />
- <Add library="wxmsw$(WX_VERSION)$(WX_SUFFIX)" />
<Add directory="devel" />
</Linker>
</Target>
@@ -445,7 +437,7 @@
<Option external_deps="devel\libcodeblocks.a;" />
<Option type="3" />
<Option compiler="gcc" />
- <Option projectLinkerOptionsRelation="1" />
+ <Option projectLinkerOptionsRelation="2" />
<Compiler>
<Add option="-DBUILDING_PLUGIN" />
<Add option="-DWXMAKINGDLL_PROPGRID" />
@@ -459,7 +451,6 @@
<Add option="-Wl,--enable-auto-import" />
<Add option="-mthreads" />
<Add library="codeblocks" />
- <Add library="wxmsw$(WX_VERSION)$(WX_SUFFIX)" />
<Add directory="devel" />
</Linker>
</Target>
@@ -469,7 +460,7 @@
<Option external_deps="devel\libcodeblocks.a;" />
<Option type="3" />
<Option compiler="gcc" />
- <Option projectLinkerOptionsRelation="1" />
+ <Option projectLinkerOptionsRelation="2" />
<Compiler>
<Add option="-DBUILDING_PLUGIN" />
<Add option="-DWXMAKINGDLL_PROPGRID" />
@@ -484,7 +475,6 @@
<Add option="-Wl,--enable-auto-import" />
<Add option="-mthreads" />
<Add library="codeblocks" />
- <Add library="wxmsw$(WX_VERSION)$(WX_SUFFIX)" />
<Add directory="devel" />
</Linker>
</Target>
@@ -494,7 +484,7 @@
<Option external_deps="devel\libcodeblocks.a;" />
<Option type="3" />
<Option compiler="gcc" />
- <Option projectLinkerOptionsRelation="1" />
+ <Option projectLinkerOptionsRelation="2" />
<Compiler>
<Add option="-DBUILDING_PLUGIN" />
<Add option="-DWXMAKINGDLL_PROPGRID" />
@@ -508,7 +498,6 @@
<Add option="-Wl,--enable-auto-import" />
<Add option="-mthreads" />
<Add library="codeblocks" />
- <Add library="wxmsw$(WX_VERSION)$(WX_SUFFIX)" />
<Add directory="devel" />
</Linker>
</Target>
@@ -518,7 +507,7 @@
<Option external_deps="devel\libcodeblocks.a;" />
<Option type="3" />
<Option compiler="gcc" />
- <Option projectLinkerOptionsRelation="1" />
+ <Option projectLinkerOptionsRelation="2" />
<Compiler>
<Add option="-DBUILDING_PLUGIN" />
<Add option="-DWXMAKINGDLL_PROPGRID" />
@@ -531,7 +520,6 @@
<Add option="-Wl,--enable-auto-import" />
<Add option="-mthreads" />
<Add library="codeblocks" />
- <Add library="wxmsw$(WX_VERSION)$(WX_SUFFIX)" />
<Add directory="devel" />
</Linker>
</Target>
Index: src/CodeBlocks.cbp
===================================================================
--- src/CodeBlocks.cbp (revision 7398)
+++ src/CodeBlocks.cbp (working copy)
@@ -240,7 +240,7 @@
<Option external_deps="devel\libcodeblocks.a;" />
<Option type="3" />
<Option compiler="gcc" />
- <Option projectLinkerOptionsRelation="1" />
+ <Option projectLinkerOptionsRelation="2" />
<Compiler>
<Add option="-DBUILDING_PLUGIN" />
<Add option="-DWXMAKINGDLL_PROPGRID" />
@@ -256,7 +256,6 @@
<Add option="-Wl,--enable-auto-import" />
<Add option="-mthreads" />
<Add library="codeblocks" />
- <Add library="wxmsw$(WX_VERSION)$(WX_SUFFIX)" />
<Add directory="devel" />
</Linker>
</Target>
@@ -266,7 +265,7 @@
<Option external_deps="devel\libcodeblocks.a;" />
<Option type="3" />
<Option compiler="gcc" />
- <Option projectLinkerOptionsRelation="1" />
+ <Option projectLinkerOptionsRelation="2" />
<Compiler>
<Add option="-DBUILDING_PLUGIN" />
<Add option="-DWXMAKINGDLL_PROPGRID" />
@@ -280,7 +279,6 @@
<Add option="-Wl,--enable-auto-import" />
<Add option="-mthreads" />
<Add library="codeblocks" />
- <Add library="wxmsw$(WX_VERSION)$(WX_SUFFIX)" />
<Add directory="devel" />
</Linker>
</Target>
@@ -290,7 +288,7 @@
<Option external_deps="devel\libcodeblocks.a;" />
<Option type="3" />
<Option compiler="gcc" />
- <Option projectLinkerOptionsRelation="1" />
+ <Option projectLinkerOptionsRelation="2" />
<Compiler>
<Add option="-DBUILDING_PLUGIN" />
<Add option="-DWXMAKINGDLL_PROPGRID" />
@@ -303,7 +301,6 @@
<Add option="-Wl,--enable-auto-import" />
<Add option="-mthreads" />
<Add library="codeblocks" />
- <Add library="wxmsw$(WX_VERSION)$(WX_SUFFIX)" />
<Add directory="devel" />
</Linker>
</Target>
@@ -325,7 +322,7 @@
<Option external_deps="devel\libcodeblocks.a;plugins\compilergcc\depslib\libdepslib.a;" />
<Option type="3" />
<Option compiler="gcc" />
- <Option projectLinkerOptionsRelation="1" />
+ <Option projectLinkerOptionsRelation="2" />
<Compiler>
<Add option="-DBUILDING_PLUGIN" />
<Add option="-DWXMAKINGDLL_PROPGRID" />
@@ -341,7 +339,6 @@
<Add option="-Wl,--enable-auto-import" />
<Add option="-mthreads" />
<Add library="codeblocks" />
- <Add library="wxmsw$(WX_VERSION)$(WX_SUFFIX)" />
<Add library="depslib" />
<Add directory="devel" />
<Add directory="plugins\compilergcc\depslib" />
@@ -353,7 +350,7 @@
<Option external_deps="devel\libcodeblocks.a;" />
<Option type="3" />
<Option compiler="gcc" />
- <Option projectLinkerOptionsRelation="1" />
+ <Option projectLinkerOptionsRelation="2" />
<Compiler>
<Add option="-DBUILDING_PLUGIN" />
<Add option="-DWXMAKINGDLL_PROPGRID" />
@@ -368,7 +365,6 @@
<Add option="-Wl,--enable-auto-import" />
<Add option="-mthreads" />
<Add library="codeblocks" />
- <Add library="wxmsw$(WX_VERSION)$(WX_SUFFIX)" />
<Add directory="devel" />
</Linker>
</Target>
@@ -378,7 +374,7 @@
<Option external_deps="devel\libcodeblocks.a;" />
<Option type="3" />
<Option compiler="gcc" />
- <Option projectLinkerOptionsRelation="1" />
+ <Option projectLinkerOptionsRelation="2" />
<Compiler>
<Add option="-DBUILDING_PLUGIN" />
<Add option="-DWXMAKINGDLL_PROPGRID" />
@@ -392,7 +388,6 @@
<Add option="-Wl,--enable-auto-import" />
<Add option="-mthreads" />
<Add library="codeblocks" />
- <Add library="wxmsw$(WX_VERSION)$(WX_SUFFIX)" />
<Add directory="devel" />
</Linker>
</Target>
@@ -402,7 +397,7 @@
<Option external_deps="devel\libcodeblocks.a;" />
<Option type="3" />
<Option compiler="gcc" />
- <Option projectLinkerOptionsRelation="1" />
+ <Option projectLinkerOptionsRelation="2" />
<Compiler>
<Add option="-DBUILDING_PLUGIN" />
<Add option="-DWXMAKINGDLL_PROPGRID" />
@@ -415,7 +410,6 @@
<Add option="-Wl,--enable-auto-import" />
<Add option="-mthreads" />
<Add library="codeblocks" />
- <Add library="wxmsw$(WX_VERSION)$(WX_SUFFIX)" />
<Add directory="devel" />
</Linker>
</Target>
@@ -425,7 +419,7 @@
<Option external_deps="devel\libcodeblocks.a;" />
<Option type="3" />
<Option compiler="gcc" />
- <Option projectLinkerOptionsRelation="1" />
+ <Option projectLinkerOptionsRelation="2" />
<Compiler>
<Add option="-DBUILDING_PLUGIN" />
<Add option="-DWXMAKINGDLL_PROPGRID" />
@@ -438,7 +432,6 @@
<Add option="-Wl,--enable-auto-import" />
<Add option="-mthreads" />
<Add library="codeblocks" />
- <Add library="wxmsw$(WX_VERSION)$(WX_SUFFIX)" />
<Add directory="devel" />
</Linker>
</Target>
@@ -448,7 +441,7 @@
<Option external_deps="devel\libcodeblocks.a;" />
<Option type="3" />
<Option compiler="gcc" />
- <Option projectLinkerOptionsRelation="1" />
+ <Option projectLinkerOptionsRelation="2" />
<Compiler>
<Add option="-DBUILDING_PLUGIN" />
<Add option="-DWXMAKINGDLL_PROPGRID" />
@@ -461,7 +454,6 @@
<Add option="-Wl,--enable-auto-import" />
<Add option="-mthreads" />
<Add library="codeblocks" />
- <Add library="wxmsw$(WX_VERSION)$(WX_SUFFIX)" />
<Add directory="devel" />
</Linker>
</Target>
@@ -471,7 +463,7 @@
<Option external_deps="devel\libcodeblocks.a;" />
<Option type="3" />
<Option compiler="gcc" />
- <Option projectLinkerOptionsRelation="1" />
+ <Option projectLinkerOptionsRelation="2" />
<Compiler>
<Add option="-DBUILDING_PLUGIN" />
<Add option="-DWXMAKINGDLL_PROPGRID" />
@@ -485,7 +477,6 @@
<Add option="-Wl,--enable-auto-import" />
<Add option="-mthreads" />
<Add library="codeblocks" />
- <Add library="wxmsw$(WX_VERSION)$(WX_SUFFIX)" />
<Add directory="devel" />
</Linker>
</Target>
@@ -495,7 +486,7 @@
<Option external_deps="devel\libcodeblocks.a;" />
<Option type="3" />
<Option compiler="gcc" />
- <Option projectLinkerOptionsRelation="1" />
+ <Option projectLinkerOptionsRelation="2" />
<Compiler>
<Add option="-DBUILDING_PLUGIN" />
<Add option="-DWXMAKINGDLL_PROPGRID" />
@@ -510,7 +501,6 @@
<Add option="-Wl,--enable-auto-import" />
<Add option="-mthreads" />
<Add library="codeblocks" />
- <Add library="wxmsw$(WX_VERSION)$(WX_SUFFIX)" />
<Add directory="devel" />
</Linker>
</Target>
@@ -520,7 +510,7 @@
<Option external_deps="devel\libcodeblocks.a;" />
<Option type="3" />
<Option compiler="gcc" />
- <Option projectLinkerOptionsRelation="1" />
+ <Option projectLinkerOptionsRelation="2" />
<Compiler>
<Add option="-DBUILDING_PLUGIN" />
<Add option="-DWXMAKINGDLL_PROPGRID" />
@@ -534,7 +524,6 @@
<Add option="-Wl,--enable-auto-import" />
<Add option="-mthreads" />
<Add library="codeblocks" />
- <Add library="wxmsw$(WX_VERSION)$(WX_SUFFIX)" />
<Add directory="devel" />
</Linker>
</Target>
@@ -544,7 +533,7 @@
<Option external_deps="devel\libcodeblocks.a;" />
<Option type="3" />
<Option compiler="gcc" />
- <Option projectLinkerOptionsRelation="1" />
+ <Option projectLinkerOptionsRelation="2" />
<Compiler>
<Add option="-DBUILDING_PLUGIN" />
<Add option="-DWXMAKINGDLL_PROPGRID" />
@@ -557,7 +545,6 @@
<Add option="-Wl,--enable-auto-import" />
<Add option="-mthreads" />
<Add library="codeblocks" />
- <Add library="wxmsw$(WX_VERSION)$(WX_SUFFIX)" />
<Add directory="devel" />
</Linker>
</Target>