From b87d8f470042628ac54386853cf877cec107c141 Mon Sep 17 00:00:00 2001 From: click Date: Wed, 29 Sep 2010 23:42:09 +0200 Subject: 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 --- cmake/compiler/xcode/settings.cmake | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 cmake/compiler/xcode/settings.cmake (limited to 'cmake/compiler/xcode') 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)"\") + -- cgit v1.2.3