1717 'addon/compression.h' ,
1818 'addon/compression.cpp'
1919 ],
20- 'xcode_settings' : {
21- 'GCC_ENABLE_CPP_EXCEPTIONS' : 'YES' ,
22- 'CLANG_CXX_LIBRARY' : 'libc++' ,
23- 'MACOSX_DEPLOYMENT_TARGET' : '11' ,
24- 'GCC_SYMBOLS_PRIVATE_EXTERN' : 'YES' , # -fvisibility=hidden
25- 'OTHER_CFLAGS' : [
26- '-std=c++17' ,
27- '-stdlib=libc++'
28- ],
29- },
3020 'conditions' : [
3121 [
3222 'OS=="win"' ,
3323 {
34- 'msvs_settings' : {
35- 'VCCLCompilerTool' : {
36- 'ExceptionHandling' : 1 ,
37- 'AdditionalOptions' : [
38- '-std:c++17'
39- ]
40- }
41- },
42- 'include_dirs' : [
43- '<(module_root_dir)/deps/include'
44- ],
4524 'link_settings' : {
4625 'libraries' : [
47- '<(module_root_dir)/deps/zstd/build/cmake/lib/libzstd.lib'
26+ '<(module_root_dir)/deps/zstd/build/cmake/lib/Debug/zstd_static.lib'
27+ ]
28+ },
29+ },
30+ { # macos and linux
31+ 'link_settings' : {
32+ 'libraries' : [
33+ '<(module_root_dir)/deps/zstd/build/cmake/lib/libzstd.a' ,
4834 ]
49- }
35+ },
5036 }
5137 ]
5238 ],
5339 'cflags!' : [ '-fno-exceptions' ],
5440 'cflags_cc!' : [ '-fno-exceptions' ],
5541 'cflags_cc' : ['-std=c++17' ],
56- 'msvs_settings' : {
57- 'VCCLCompilerTool' : { 'ExceptionHandling' : 1 },
42+ 'xcode_settings' : {
43+ 'GCC_ENABLE_CPP_EXCEPTIONS' : 'YES' ,
44+ 'CLANG_CXX_LIBRARY' : 'libc++' ,
45+ 'MACOSX_DEPLOYMENT_TARGET' : '11' ,
46+ 'GCC_SYMBOLS_PRIVATE_EXTERN' : 'YES' , # -fvisibility=hidden
47+ 'OTHER_CFLAGS' : [
48+ '-std=c++17' ,
49+ '-stdlib=libc++'
50+ ],
5851 },
59- 'link_settings' : {
60- 'libraries' : [
61- '<(module_root_dir)/deps/zstd/build/cmake/lib/libzstd.a' ,
62- ]
52+ 'msvs_settings' : {
53+ 'VCCLCompilerTool' : {
54+ 'ExceptionHandling' : 1 ,
55+ 'AdditionalOptions' : [
56+ '-std:c++17'
57+ ]
58+ }
6359 },
6460 }]
6561}
0 commit comments