Skip to content
Snippets Groups Projects
Commit aca8dac4 authored by Ben Acland's avatar Ben Acland
Browse files

add environment specific xcconfig variables

addresses #74
parent 0c3273b4
No related branches found
No related tags found
No related merge requests found
......@@ -119,3 +119,5 @@ Introjucer/Builds/MacOSX/build
# 9. Plugin build dirs
build/
/Builds/MacOSX/Plugins/Config/Env.xcconfig
// To set environment-specific variables, copy this file to
// a file in the same directory named "Env.xcconfig". If you
// add a variable to this file and refer to it in a project
// config, please be sure to provide a sensible default
// behavior for folks who don't create their own Env.xcconfig.
MAC_PACKAGE_DIR = /usr/local
\ No newline at end of file
// Defaults for values that might be overridden in Env.xcconfig
MAC_PACKAGE_DIR = /opt/local
// Pull in machine-specific settings from git-ignored file, if it exists.
#include "Env.xcconfig"
ALWAYS_SEARCH_USER_PATHS = NO
CLANG_CXX_LANGUAGE_STANDARD = c++0x
CLANG_CXX_LIBRARY = libc++
......
......@@ -184,12 +184,12 @@
);
HEADER_SEARCH_PATHS = (
"$(inherited)",
/opt/local/include,
"$(MAC_PACKAGE_DIR)/include",
);
INFOPLIST_FILE = EventBroadcaster/Info.plist;
OTHER_LDFLAGS = (
"$(inherited)",
/opt/local/lib/libzmq.a,
"$(MAC_PACKAGE_DIR)/lib/libzmq.a",
);
PRODUCT_BUNDLE_IDENTIFIER = "org.open-ephys.gui.plugin.EventBroadcaster";
PRODUCT_NAME = "$(TARGET_NAME)";
......@@ -205,12 +205,12 @@
);
HEADER_SEARCH_PATHS = (
"$(inherited)",
/opt/local/include,
"$(MAC_PACKAGE_DIR)/include",
);
INFOPLIST_FILE = EventBroadcaster/Info.plist;
OTHER_LDFLAGS = (
"$(inherited)",
/opt/local/lib/libzmq.a,
"$(MAC_PACKAGE_DIR)/lib/libzmq.a",
);
PRODUCT_BUNDLE_IDENTIFIER = "org.open-ephys.gui.plugin.EventBroadcaster";
PRODUCT_NAME = "$(TARGET_NAME)";
......
......@@ -202,15 +202,15 @@
buildSettings = {
HEADER_SEARCH_PATHS = (
"$(inherited)",
/opt/local/include,
"$(MAC_PACKAGE_DIR)/include",
);
INFOPLIST_FILE = KWIKFormat/Info.plist;
OTHER_LDFLAGS = (
"$(inherited)",
"-lz",
/opt/local/lib/libsz.a,
/opt/local/lib/libhdf5.a,
/opt/local/lib/libhdf5_cpp.a,
"$(MAC_PACKAGE_DIR)/lib/libsz.a",
"$(MAC_PACKAGE_DIR)/lib/libhdf5.a",
"$(MAC_PACKAGE_DIR)/lib/libhdf5_cpp.a",
);
PRODUCT_BUNDLE_IDENTIFIER = "org.open-ephys.gui.plugin.KWIKFormat";
PRODUCT_NAME = "$(TARGET_NAME)";
......@@ -222,15 +222,15 @@
buildSettings = {
HEADER_SEARCH_PATHS = (
"$(inherited)",
/opt/local/include,
"$(MAC_PACKAGE_DIR)/include",
);
INFOPLIST_FILE = KWIKFormat/Info.plist;
OTHER_LDFLAGS = (
"$(inherited)",
"-lz",
/opt/local/lib/libsz.a,
/opt/local/lib/libhdf5.a,
/opt/local/lib/libhdf5_cpp.a,
"$(MAC_PACKAGE_DIR)/lib/libsz.a",
"$(MAC_PACKAGE_DIR)/lib/libhdf5.a",
"$(MAC_PACKAGE_DIR)/lib/libhdf5_cpp.a",
);
PRODUCT_BUNDLE_IDENTIFIER = "org.open-ephys.gui.plugin.KWIKFormat";
PRODUCT_NAME = "$(TARGET_NAME)";
......
......@@ -165,6 +165,11 @@
isa = XCBuildConfiguration;
baseConfigurationReference = E1F559251C9B2A0B0035F88B /* Plugin_Debug.xcconfig */;
buildSettings = {
HEADER_SEARCH_PATHS = (
../../../../Source/Plugins/Headers,
"$(inherited)",
"$(MAC_PACKAGE_DIR)/include",
);
};
name = Debug;
};
......@@ -172,6 +177,11 @@
isa = XCBuildConfiguration;
baseConfigurationReference = E1F559261C9B2A0B0035F88B /* Plugin_Release.xcconfig */;
buildSettings = {
HEADER_SEARCH_PATHS = (
../../../../Source/Plugins/Headers,
"$(inherited)",
"$(MAC_PACKAGE_DIR)/include",
);
};
name = Release;
};
......@@ -189,7 +199,7 @@
INFOPLIST_FILE = NetworkEvents/Info.plist;
OTHER_LDFLAGS = (
"$(inherited)",
/opt/local/lib/libzmq.a,
"$(MAC_PACKAGE_DIR)/lib/libzmq.a",
);
PRODUCT_BUNDLE_IDENTIFIER = "org.open-ephys.gui.plugin.NetworkEvents";
PRODUCT_NAME = "$(TARGET_NAME)";
......@@ -210,7 +220,7 @@
INFOPLIST_FILE = NetworkEvents/Info.plist;
OTHER_LDFLAGS = (
"$(inherited)",
/opt/local/lib/libzmq.a,
"$(MAC_PACKAGE_DIR)/lib/libzmq.a",
);
PRODUCT_BUNDLE_IDENTIFIER = "org.open-ephys.gui.plugin.NetworkEvents";
PRODUCT_NAME = "$(TARGET_NAME)";
......
......@@ -215,6 +215,7 @@
0363EF9D1CF9D6F90077C530 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment