Windows Vista, Code::Blocks 10.05
I have a workspace containing 2 projects: Ut (dll) and Test (Win32 console application).
I want to compile Ut project, copy it's target DLL to Test output directory, compile Test.
As I plan to add many more DLL and to use them in other worspaces as well I set in Test pre-build steps:
xcopy /d /y ..\Ut\bin\Debug\Ut.dll .\bin\Debug\.
Build Log follows. As you can see pre-build steps is executed twice and it also seems to be executed as part of Ut project build steps.
I found a similar message in this forum dated April 2008, last reply on April 2009 but no solution seems to have been found.
So does anyone have hints?
...omitted (Ut project file compiled) ...
Creating library file: bin\Debug\libUt.dll.a
Output size is 1.25 MB
Running project pre-build steps
xcopy /d /y ..\Ut\bin\Debug\Ut.dll .\bin\Debug\.
..\Ut\bin\Debug\Ut.dll
1 File copiati
Running project pre-build steps
xcopy /d /y ..\Ut\bin\Debug\Ut.dll .\bin\Debug\.
0 File copiati
-------------- Build: Debug in Test ---------------
...omitted (Test project file compiled) ...
Output size is 916.22 KB
Process terminated with status 0 (0 minutes, 12 seconds)
0 errors, 8 warnings