1802Salexander.borisov@nginx.com{ 2802Salexander.borisov@nginx.com 'targets': [{ 3802Salexander.borisov@nginx.com 'target_name': "unit-http", 41020Smax.romanov@nginx.com 'cflags!': [ '-fno-exceptions' ], 51020Smax.romanov@nginx.com 'cflags_cc!': [ '-fno-exceptions' ], 61020Smax.romanov@nginx.com 'conditions': [ 71020Smax.romanov@nginx.com ['OS=="mac"', { 81020Smax.romanov@nginx.com 'xcode_settings': { 91020Smax.romanov@nginx.com 'GCC_ENABLE_CPP_EXCEPTIONS': 'YES' 10*2576Sthresh@nginx.com }, 11*2576Sthresh@nginx.com 'conditions': [ 12*2576Sthresh@nginx.com [ 'target_arch=="arm64"', { 13*2576Sthresh@nginx.com 'include_dirs': [ 14*2576Sthresh@nginx.com '/opt/homebrew/include' 15*2576Sthresh@nginx.com ], 16*2576Sthresh@nginx.com 'libraries' : [ 17*2576Sthresh@nginx.com '-L/opt/homebrew/lib', 18*2576Sthresh@nginx.com '-lunit' 19*2576Sthresh@nginx.com ], 20*2576Sthresh@nginx.com }], 21*2576Sthresh@nginx.com ['target_arch=="x64"', { 22*2576Sthresh@nginx.com 'include_dirs': [ 23*2576Sthresh@nginx.com '/usr/local/include', 24*2576Sthresh@nginx.com ], 25*2576Sthresh@nginx.com 'libraries' : [ 26*2576Sthresh@nginx.com '-L/usr/local/lib', 27*2576Sthresh@nginx.com '-lunit' 28*2576Sthresh@nginx.com ], 29*2576Sthresh@nginx.com }] 30*2576Sthresh@nginx.com ]} 31*2576Sthresh@nginx.com ]], 32802Salexander.borisov@nginx.com 'sources': ["unit.cpp", "addon.cpp"], 33816Salexander.borisov@nginx.com 'libraries': ["-lunit"] 34802Salexander.borisov@nginx.com }] 35802Salexander.borisov@nginx.com} 36