Code:Blocks batch building

I think batch building is cool, I've made a batch for CodeBlocks. It's inspired from the SFML Code:Blocks batch 😁

BTW, codebocks bin must be in the path.

Code:
@echo off

REM Retrieve the Box2D path
set BOX2D="%CD%\..\..\.."
set TMP="%CD%\temp"

set PATH=%PATH%;"%CD%"

REM Compile the BOX2D libraries
cd %BOX2D%\build\codeblocks

for %%f in (Engine FreeGLUT GLUI HelloWorld TestBed) do (
   echo Compiling %%f...
   codeblocks -na -nd -ns --build %%f.cbp --target="Debug"
   codeblocks -na -nd -ns --build %%f.cbp --target="Release"
)

echo Done
pause

Original thread: https://box2d.org/forum/viewtopic.php?t=4295