AAX post build event msvc


#1

due to a space in my windows user name i have to manually place quotes around the call to CreatePackage.bat for AAX builds on windows

“C:\Users\Oliver Larkin\SDKs\AAX_SDK\Utilities\CreatePackage.bat”


#2

That’s odd the Projucer does add the quotes. See here. Does this need to be double-escaped somehow?


#3

I also have issues with AAX post build event msvc.
My target project folder is …/…/Builds/VS2015/controlPlugin
I use a relative path for the AAX sdk (…/…/…/assets/aax).
I need to manually update jucer_ProjectExport_MSVC.h
so that the path to CreatePackage.bat is correct.

It seems related to this recent commit:

> +                const String aaxSDKPath = File::isAbsolutePath(aaxPath.toString())
> +                                                          ? aaxPath.toString()
> +                                                          : String ("..\\..\\") + aaxPath.toString();

#4

i guess its because your target folder, is not on the default position, currently the exporter doesn’t handle this right


#5

Sure. It seems to me that path handling is a core feature of project generation / export, so it would be nice that the Projucer gets this right :slight_smile:


#6

still an issue, although i am having trouble working out exactly what is wrong - seems to work via IDE but not via MSBUILD. i had to hack/solve by moving my AAX SDK to a path without spaces.


#7

Ahh that’s odd. I’ll have a look - I stress tested this so, so much - but never in MSBuild. arggghh!