Windows build dir as variable in Projucer...?


Is it possible to get the Windows build directory as a variable in the Projucer, or at least to put in place a variable that Visual Studio will replace with the build directory?

My use case is for code signing, and to do this I need a path to the built file, which is obviously different depending on whether it’s a 32-bit or 64-bit build.

What I would like to do is have a Post-build Command like:

..\..\Scripts\aax_sign.bat ${BUILD_DIR}\path\to\plugin.aaxplugin

Where ${BUILD_DIR} is substituted with e.g. “Release” or “x64\Release” at compile time.


Does $(SolutionDir) not do the trick?



If you have spaces in the path – put this in quotes.