This solution and my solution it's the same hierachy and compilation options. ( see the Attach 7zfile )
I use Mingw ( TDM ).
Example :
I rebuild-All :
my targets are all build.
I modified :
In Lib_Test1 -> Math.cpp
return !aResult ; -> return aResult ;
I build-all in Codeblocks :
-------------- Build: Debug in Lib_Test1 ---------------
[ 50,0%] Compiling: ..\..\..\Test\Math.cpp
[100,0%] Linking dynamic library: ..\..\..\..\Bin\Mingw\Lib_Test1_d_CB.dll
Creating library file: ..\..\..\..\Bin\Mingw\libLib_Test1_d_CB.a
Output size is 83,50 KB
-------------- Build: Release in Lib_Test1 ---------------
[ 50,0%] Compiling: ..\..\..\Test\Math.cpp
[100,0%] Linking dynamic library: ..\..\..\..\Bin\Mingw\Lib_Test1_CB.dll
Creating library file: ..\..\..\..\Bin\Mingw\libLib_Test1_CB.a
Output size is 80,50 KB
-------------- Build: Debug in Lib_Test2 ---------------
[100,0%] Linking dynamic library: ..\..\..\..\Bin\Mingw\Lib_Test2_d_CB.dll
Creating library file: ..\..\..\..\Bin\Mingw\libLib_Test2_d_CB.a
Output size is 49,90 KB
-------------- Build: Release in Lib_Test2 ---------------
[100,0%] Linking dynamic library: ..\..\..\..\Bin\Mingw\Lib_Test2_CB.dll
Creating library file: ..\..\..\..\Bin\Mingw\libLib_Test2_CB.a
Output size is 9,50 KB
-------------- Build: Debug in App_Test1 ---------------
[100,0%] Linking console executable: ..\..\..\..\Bin\Mingw\App_Test1_d_CB.exe
Output size is 976,25 KB
-------------- Build: Release in App_Test1 ---------------
[100,0%] Linking console executable: ..\..\..\..\Bin\Mingw\App_Test1_CB.exe
Output size is 461,00 KB
-------------- Build: Debug in App_Test2 ---------------
[100,0%] Linking console executable: ..\..\..\..\Bin\Mingw\App_Test2_d_CB.exe
Output size is 976,84 KB
-------------- Build: Release in App_Test2 ---------------
[100,0%] Linking console executable: ..\..\..\..\Bin\Mingw\App_Test2_CB.exe
Output size is 461,50 KB
Process terminated with status 0 (0 minutes, 1 seconds)
0 errors, 0 warnings (0 minutes, 1 seconds)
Codeblocks re-link all targets.