From 80828b025d1935219c5eabb05f4ce207f508e9cd Mon Sep 17 00:00:00 2001
From: Christopher Stawarz <cstawarz@mit.edu>
Date: Mon, 24 Oct 2016 10:08:30 -0400
Subject: [PATCH] Added Xcode config files for building dylib's that are
 embedded in open-ephys.app/Contents/Frameworks

---
 Builds/MacOSX/Plugins/Config/Library.xcconfig         | 11 +++++++++++
 Builds/MacOSX/Plugins/Config/Library_Debug.xcconfig   |  2 ++
 Builds/MacOSX/Plugins/Config/Library_Release.xcconfig |  2 ++
 3 files changed, 15 insertions(+)
 create mode 100644 Builds/MacOSX/Plugins/Config/Library.xcconfig
 create mode 100644 Builds/MacOSX/Plugins/Config/Library_Debug.xcconfig
 create mode 100644 Builds/MacOSX/Plugins/Config/Library_Release.xcconfig

diff --git a/Builds/MacOSX/Plugins/Config/Library.xcconfig b/Builds/MacOSX/Plugins/Config/Library.xcconfig
new file mode 100644
index 000000000..2edd34a86
--- /dev/null
+++ b/Builds/MacOSX/Plugins/Config/Library.xcconfig
@@ -0,0 +1,11 @@
+#include "Base.xcconfig"
+
+CONFIGURATION_BUILD_DIR = $(PROJECT_DIR)/../../../build/$(CONFIGURATION)/open-ephys.app/Contents/Frameworks
+DYLIB_COMPATIBILITY_VERSION = 1
+DYLIB_CURRENT_VERSION = 1
+EXECUTABLE_PREFIX = lib
+GCC_ENABLE_CPP_EXCEPTIONS = YES
+GCC_ENABLE_CPP_RTTI = YES
+HEADER_SEARCH_PATHS = ../../../../../JuceLibraryCode ../../../../../JuceLibraryCode/modules ../../../../../Source/Plugins/Headers $(inherited)
+INSTALL_PATH = @executable_path/../Frameworks
+WRAPPER_EXTENSION = dylib
diff --git a/Builds/MacOSX/Plugins/Config/Library_Debug.xcconfig b/Builds/MacOSX/Plugins/Config/Library_Debug.xcconfig
new file mode 100644
index 000000000..2ba5f194e
--- /dev/null
+++ b/Builds/MacOSX/Plugins/Config/Library_Debug.xcconfig
@@ -0,0 +1,2 @@
+#include "Library.xcconfig"
+#include "Debug.xcconfig"
diff --git a/Builds/MacOSX/Plugins/Config/Library_Release.xcconfig b/Builds/MacOSX/Plugins/Config/Library_Release.xcconfig
new file mode 100644
index 000000000..d078d3318
--- /dev/null
+++ b/Builds/MacOSX/Plugins/Config/Library_Release.xcconfig
@@ -0,0 +1,2 @@
+#include "Library.xcconfig"
+#include "Release.xcconfig"
-- 
GitLab