vs-ide-integration: add LibreOffice.ruleset to Utility items

Similar to .natvis and .natstepfilter files. There seems to be a bug
in VS IDE, which doesn't allow opening the .ruleset - but it's not a
reason to avoid this addition.

Change-Id: I9376d36129404fe32fab1340905ad25fe7a511f1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/191072
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
This commit is contained in:
Mike Kaganski
2025-09-17 12:43:01 +02:00
parent 93428fd81f
commit 713530d116
+3
View File
@@ -1011,6 +1011,9 @@ class VisualStudioIntegrationGenerator(IdeIntegrationGenerator):
# The natstepfilter file allows to skip specific functions when stepping into in debugging
natstepfilter_path = os.path.join(gbuildparser.srcdir, 'solenv/vs/LibreOffice.natstepfilter')
f.write('\t\t%(natstepfilter)s = %(natstepfilter)s\n' % {'natstepfilter': natstepfilter_path})
# The ruleset file defines the rules checked when --enable-msvc-analyze is used
ruleset_path = os.path.join(gbuildparser.srcdir, 'solenv/vs/LibreOffice.ruleset')
f.write('\t\t%(ruleset)s = %(ruleset)s\n' % {'ruleset': ruleset_path})
f.write('\tEndProjectSection\n')
f.write('EndProject\n')
# Folders to group tests/libraries/executables