diff --git a/binding.gyp b/binding.gyp index 818eeed..cb31a7c 100644 --- a/binding.gyp +++ b/binding.gyp @@ -10,6 +10,10 @@ "-fexceptions", "-std=c++2a" ], + "xcode_settings": { + "GCC_ENABLE_CPP_EXCEPTIONS": "YES", + "CLANG_CXX_LIBRARY": "libc++" + }, "actions": [ { "action_name": "prebuild", diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json index 03fc970..0e19f81 100644 --- a/npm-shrinkwrap.json +++ b/npm-shrinkwrap.json @@ -5,6 +5,7 @@ "requires": true, "packages": { "": { + "name": "liboqs-node", "version": "0.2.0", "hasInstallScript": true, "license": "MIT", diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt new file mode 100644 index 0000000..039caa6 --- /dev/null +++ b/src/CMakeLists.txt @@ -0,0 +1,2 @@ +add_subdirectory(src) +