Im trying to generate some msvc solutions and projects in a directory that is separate from my source and .pro files.

My source and pro files reside in $$ROOT/src, while my batch file that generates the msvc solutions resides in $$ROOT/win.

But im having a problem generating them currectly. I know the cause, but I dont know why its a problem.

For some odd reason, the generator doesnt like me to set the DESTDIR to something like "$$PWD/../bin". However, if I let DESTDIR default ("debug" and "release" folders), it works just fine.

Here is a log of my console when I execute the batch file:
http://pastebin.com/d10d729ff

Any ideas?