summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weghorn <m.weghorn@posteo.de>2019-10-11 11:54:07 +0200
committerMichael Weghorn <m.weghorn@posteo.de>2019-11-04 08:07:46 +0100
commit64474993a698a6f3ec41588cd12db192ba7a8bae (patch)
tree35ea1ba0a1227df44e03c5d11ff63873edc45740
parent13e29d1b97667300263ade270eb9e0a822f8fc38 (diff)
qtcreator: Sort SUBDIRS in lo.pro alphabetically
... in particular to have a deterministic order and see more easily what relevant effects changes to the gbuild-to-ide script have while testing those. Change-Id: I4583a8ca5a779d1d1e8aa6db7bb0295abd6154ee Reviewed-on: https://gerrit.libreoffice.org/80653 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de> (cherry picked from commit 2ef2c031ce9ec730b13fca8bca808f382aab5fe4)
-rwxr-xr-xbin/gbuild-to-ide2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/gbuild-to-ide b/bin/gbuild-to-ide
index 412e1b7a0431..267eac13e83f 100755
--- a/bin/gbuild-to-ide
+++ b/bin/gbuild-to-ide
@@ -1606,7 +1606,7 @@ class QtCreatorIntegrationGenerator(IdeIntegrationGenerator):
# create meta .pro file (lists all sub projects)
qt_meta_pro_file = 'lo.pro'
try:
- subdirs = " \\\n".join(subdirs_list)
+ subdirs = " \\\n".join(sorted(subdirs_list))
content = QtCreatorIntegrationGenerator.pro_meta_template % {'subdirs': subdirs}
with open(qt_meta_pro_file, 'w+') as fmpro:
fmpro.write(content)