From 033d4d6bd8fd1e8cbba6f59e3e3465ee324ee373 Mon Sep 17 00:00:00 2001 From: Markus Olsson Date: Mon, 3 Jun 2024 10:49:45 +0200 Subject: [PATCH] Try sharing build settings --- binding.gyp | 62 +++++++++++------------------------------------------ 1 file changed, 12 insertions(+), 50 deletions(-) diff --git a/binding.gyp b/binding.gyp index 47d762f..298cf03 100644 --- a/binding.gyp +++ b/binding.gyp @@ -1,15 +1,9 @@ { - 'targets': [ - { - 'target_name': 'desktop-trampoline', + 'target_defaults': { 'defines': [ "NAPI_VERSION=<(napi_build_version)", ], 'type': 'executable', - 'sources': [ - 'src/desktop-trampoline.c', - 'src/socket.c' - ], 'include_dirs': [ '