aboutsummaryrefslogtreecommitdiff
path: root/cmake/compiler/xcode
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/compiler/xcode')
-rw-r--r--cmake/compiler/xcode/settings.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmake/compiler/xcode/settings.cmake b/cmake/compiler/xcode/settings.cmake
new file mode 100644
index 00000000000..5a01cee61ec
--- /dev/null
+++ b/cmake/compiler/xcode/settings.cmake
@@ -0,0 +1,3 @@
+# Set build-directive (used in core to tell which buildtype we used)
+add_definitions(-D_BUILD_DIRECTIVE="\"$(CONFIGURATION)"\")
+