Colon after Windows drive letter confuses Make
-
Need release application created in C:\Program Files\app_dir instead of default release dir. I wrote in .pro file:
@CONFIG(release,debug|release): DESTDIR += "$$(ProgramFiles)\app_dir"@
to use system defined variable ProgramFiles. But the Make tells an error: Multiplie target patterns. ProgramFiles opened by qmake in Makefile to line "C:\Program Files\app_dir" and Make confuses with comma after drive letter. It interprets comma as targets delimiter. Probably it is possible force Make get comma as common character using back slash. But if I wrote DESTDIR += "C:\Program Files\program_dir" then qmake replaces all backslashes to "C/:/Program Files/program_dir". Of course this doesn't work too.
Any suggestions how to properly pass comma in path from project file to Make?