-
Notifications
You must be signed in to change notification settings - Fork 12
/
plugin.xcconfig
36 lines (26 loc) · 1.15 KB
/
plugin.xcconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
//
// plugin.xcconfig
//
// Created by Grigory Markin on 19.08.2021.
//
// Configuration settings file format documentation can be found at:
// https://help.apple.com/xcode/#/dev745c5c974
#include "build.xcconfig"
///////////////////////////////////////
// build-plugin-package.sh variables //
///////////////////////////////////////
// Default location of a plugin package (can be overridden in a plugin build config)
PACKAGE_DIR = $(PROJECT_DIR)/../../Packages/$(PROJECT_NAME)
PACKAGE_BUILD_DIR = $(PROJECT_TEMP_DIR)/Packages
// Use workspace Xcode cache
PACKAGES_CACHE_DIR = $(OBJROOT)/../../SourcePackages
/////////////////////
// Xcode variables //
/////////////////////
SWIFT_INCLUDE_PATHS = $(inherited) $(PACKAGE_BUILD_DIR)/$(CONFIGURATION)
LIBRARY_SEARCH_PATHS = $(inherited) $(PACKAGE_BUILD_DIR)/$(CONFIGURATION)
FRAMEWORK_SEARCH_PATHS = $(inherited) $(PACKAGE_BUILD_DIR)/$(CONFIGURATION)
// Install RPATH for each plugin to point to the embedded Frameworks folder
LD_RUNPATH_SEARCH_PATHS = $(inherited) @executable_path/../Frameworks @loader_path/../Frameworks
// Link each product to the NimbleCore per default
OTHER_LDFLAGS = $(inherited) -lNimbleCore