add write_file() function
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>
Fri, 27 Apr 2012 12:01:08 +0000 (14:01 +0200)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>
Tue, 19 Jun 2012 14:39:54 +0000 (16:39 +0200)
commit84614cabfaaab5eb4be04688a84cef8d79493f75
tree9aac33e1a42d498aa71a8da490116f37c55fc4fe
parent2702f7637e7a2955d37dcd8e748dbf3faf477b2d
add write_file() function

this dumps the contents of a variable into a file. each element of the
variable is considered a line; line terminators are added. all missing
directories are automatically created.

Change-Id: Idafeb873cea64e6705c894b3ab0ef21df69e7170
Reviewed-by: Marius Storm-Olsen <marius.storm-olsen@nokia.com>
qmake/project.cpp
tests/auto/tools/qmake/testdata/functions/functions.pro