Skip to content

Commit

Permalink
add c++17 flag for MSVC
Browse files Browse the repository at this point in the history
  • Loading branch information
neoxpert committed Nov 16, 2022
1 parent 926f618 commit 8cde058
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,13 @@
'xcode_settings': {
'OTHER_CPLUSPLUSFLAGS': ['-std=c++17', '-stdlib=libc++'],
},
'msvs_settings': {
'VCCLCompilerTool': {
'AdditionalOptions': [
'/std:c++17'
]
}
},
'conditions': [
['OS=="linux"', {
'ldflags': [
Expand Down

0 comments on commit 8cde058

Please sign in to comment.