aboutsummaryrefslogtreecommitdiff
path: root/cmake/compiler/xcode/settings.cmake
diff options
context:
space:
mode:
authorclick <none@none>2010-09-29 23:42:09 +0200
committerclick <none@none>2010-09-29 23:42:09 +0200
commitb87d8f470042628ac54386853cf877cec107c141 (patch)
tree6fbd34d0adab95f831ade4cb5a630c9478a3d398 /cmake/compiler/xcode/settings.cmake
parentaf660f80ec2a4e8f6687ed8999f4bff75889eef2 (diff)
Buildsystem: Overhaul of the CMake buildsystem:
- utilize CMake for completely generating revision.h (kills off genrev and revision.h targets): - pull and set correct revision-ID/hash from Mercurial (hg) when using regular repository sourcetree - pull and set correct revision-ID/hash from archived releases (when pulled from googlecode) - set and use _BUILD_DIRECTIVE definition (earlier part of revision.h) as compiletime definition - delete genrev and related buildsystems (now deprecated) - Move some files around to adhere to buildsystem structure Thanks to Shauren for figuring out the definition-behaviour for MSVC while he was in the shower --HG-- branch : trunk rename : cmake_uninstall.cmake.in => cmake/platform/unix/cmake_uninstall.in.cmake
Diffstat (limited to 'cmake/compiler/xcode/settings.cmake')
-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)"\")
+