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 <[email protected]>
  • Loading branch information
dscho committed Jan 7, 2025
1 parent 0aa5472 commit af26bf7
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 af26bf7

Please sign in to comment.