Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR の目的
vcxproj内の重複した記述をまとめて、読みやすくします。
カテゴリ
※正確には、プロジェクトファイルの「リファクタリング」ですが、
アプリ機能を触らないので「その他」としました。
PR の背景
サクラエディタの「プロジェクト設定」は、
sakura.vcxproj
に書いています。vcxproj
は MSの汎用ビルドツールであるMsBuild
の設定ファイルです。「ビルドに汎用ツールを使う」ということは、フォーマットも汎用的なものになっています。
C#
やVB.NET
と同じ、XMLフォーマットになっています。XMLフォーマットってことは「人間に読めるフォーマット」です。
自動生成ではないんだから、
もっと「手作り仕様」にしようぜ?
#1730 の対応はそういう経緯と理解してます。
このPRは「手作り仕様」をもう一歩進めようとする試みです。
PR のメリット
PR のデメリット (トレードオフとかあれば)
仕様・動作説明
プロジェクト設定内の重複した記述をまとめます。
変更前イメージ
変更後イメージ
何が違うか?
PR の影響範囲
アプリの仕様・機能には影響しないと思われます。
MSVCビルドに影響する変更です。
ビルド設定の重複記述をまとめる修正なので、
ミスった場合はビルド設定が変わってしまう可能性があります。
※目視チェックできそうな分量なので問題はないと思いますが。
テスト内容
CIでビルドが通っていれば確認は十分と思います。
テスト1
手順
関連 issue, PR
参考資料