Skip to content

Commit

Permalink
Update VS build to C++17 build
Browse files Browse the repository at this point in the history
  • Loading branch information
mmicko committed Jun 17, 2024
1 parent f9b7b8f commit 2bbf311
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions misc/create_vcxsrc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ popd
tail -n +$((n+1)) "$vcxsrc"/YosysVS/YosysVS.vcxproj
} > "$vcxsrc"/YosysVS/YosysVS.vcxproj.new

sed -i 's,</AdditionalIncludeDirectories>,</AdditionalIncludeDirectories>\n <LanguageStandard>stdcpp17</LanguageStandard>\n <AdditionalOptions>/Zc:__cplusplus %(AdditionalOptions)</AdditionalOptions>,g' "$vcxsrc"/YosysVS/YosysVS.vcxproj.new
mv "$vcxsrc"/YosysVS/YosysVS.vcxproj.new "$vcxsrc"/YosysVS/YosysVS.vcxproj

mkdir -p "$vcxsrc"/yosys
Expand Down

0 comments on commit 2bbf311

Please sign in to comment.