File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212 ],
1313 "conditions" : [
1414 ["OS=='win'" , {
15- "libraries" : ["-lws2_32.lib" , "-lwinmm.lib" ],
16- "msvs_settings" : {
17- "VCCLCompilerTool" : {
18- "AdditionalOptions" : ["/EHsc" ]
19- }
20- }
15+ "libraries" : ["-lws2_32.lib" , "-lwinmm.lib" ]
2116 }]
2217 ],
2318 "dependencies" : [
4742 ],
4843 "conditions" : [
4944 ["OS=='linux'" , {
50- "cflags_cc" : ["-O3" , "-fPIC" , "-pedantic" , "-fexceptions" ]
45+ "cflags_cc" : ["-fPIC" , "-pedantic" , "-fexceptions" ],
46+ "cflags_cc!" : ["-fno-exceptions" ]
5147 }],
5248 ["OS=='win'" , {
5349 "msvs_settings" : {
5450 "VCCLCompilerTool" : {
55- "AdditionalOptions " : [ "/EHsc" ]
51+ "ExceptionHandling " : 1 # /Ehsc
5652 }
5753 }
54+ }],
55+ ["OS=='mac'" , {
56+ "xcode_settings" : {
57+ "GCC_ENABLE_CPP_EXCEPTIONS" : "YES" ,
58+ "GCC_DYNAMIC_NO_PIC" : "NO" ,
59+ "OTHER_CFLAGS" : ["-pedantic" ]
60+ }
5861 }]
5962 ]
6063 }]
You can’t perform that action at this time.
0 commit comments