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 16, 2022
1 parent f6946cf commit fcb8aed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions contrib/buildsystems/Generators/Vcxproj.pm
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 fcb8aed

Please sign in to comment.