Skip to content

Commit

Permalink
vcxproj: avoid escaping double quotes in the defines
Browse files Browse the repository at this point in the history
Visual Studio 2022 does not like that at all.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
  • Loading branch information
dscho committed Sep 18, 2024
1 parent ba05b17 commit 85874a1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions contrib/buildsystems/Generators/Vcxproj.pm
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ sub createProject {
$defines =~ s/</&lt;/g;
$defines =~ s/>/&gt;/g;
$defines =~ s/\'//g;
$defines =~ s/\\"/"/g;

my $rcdefines = $defines;
$rcdefines =~ s/(?<!\\)"/\\$&/g;
Expand Down

0 comments on commit 85874a1

Please sign in to comment.