From 04527db1831299fb3cba5c3127fd462939b448cf Mon Sep 17 00:00:00 2001 From: Starscouts Date: Tue, 2 Jul 2024 22:23:01 +0200 Subject: Cancel Rust rewrite --- sql/mac/binding.gyp | 58 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100755 sql/mac/binding.gyp (limited to 'sql/mac/binding.gyp') diff --git a/sql/mac/binding.gyp b/sql/mac/binding.gyp new file mode 100755 index 0000000..a8fccd0 --- /dev/null +++ b/sql/mac/binding.gyp @@ -0,0 +1,58 @@ +{ + "includes": [ "deps/common-sqlite.gypi" ], + "variables": { + "sqlite%":"internal", + "sqlite_libname%":"sqlite3", + "module_name": "node_sqlite3", + }, + "targets": [ + { + "target_name": "<(module_name)", + "cflags!": [ "-fno-exceptions" ], + "cflags_cc!": [ "-fno-exceptions" ], + "xcode_settings": { "GCC_ENABLE_CPP_EXCEPTIONS": "YES", + "CLANG_CXX_LIBRARY": "libc++", + "MACOSX_DEPLOYMENT_TARGET": "10.7", + }, + "msvs_settings": { + "VCCLCompilerTool": { "ExceptionHandling": 1 }, + }, + "include_dirs": [ + "