bin/gbuild-to-ide | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit 713530d116c5fdeb3300049826c8ee454f24a219
Author: Mike Kaganski <[email protected]>
AuthorDate: Wed Sep 17 13:25:30 2025 +0500
Commit: Mike Kaganski <[email protected]>
CommitDate: Wed Sep 17 12:43:01 2025 +0200
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 <[email protected]>
diff --git a/bin/gbuild-to-ide b/bin/gbuild-to-ide
index b9e93690c337..8912e8cca255 100755
--- a/bin/gbuild-to-ide
+++ b/bin/gbuild-to-ide
@@ -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(' %(natstepfilter)s = %(natstepfilter)s
' % {'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(' %(ruleset)s = %(ruleset)s
' % {'ruleset': ruleset_path})
f.write(' EndProjectSection
')
f.write('EndProject
')
# Folders to group tests/libraries/executables