diff options
author | click <none@none> | 2010-09-29 23:42:09 +0200 |
---|---|---|
committer | click <none@none> | 2010-09-29 23:42:09 +0200 |
commit | b87d8f470042628ac54386853cf877cec107c141 (patch) | |
tree | 6fbd34d0adab95f831ade4cb5a630c9478a3d398 /cmake/platform/unix/settings.cmake | |
parent | af660f80ec2a4e8f6687ed8999f4bff75889eef2 (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/platform/unix/settings.cmake')
-rw-r--r-- | cmake/platform/unix/settings.cmake | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cmake/platform/unix/settings.cmake b/cmake/platform/unix/settings.cmake index 9dae9f5ca9f..72d4ea30927 100644 --- a/cmake/platform/unix/settings.cmake +++ b/cmake/platform/unix/settings.cmake @@ -12,9 +12,9 @@ endif() # configure uninstaller configure_file( - "${CMAKE_CURRENT_SOURCE_DIR}/cmake_uninstall.cmake.in" - "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake" - IMMEDIATE @ONLY + "${CMAKE_SOURCE_DIR}/cmake/platform/unix/cmake_uninstall.in.cmake" + "${CMAKE_BINARY_DIR}/cmake_uninstall.cmake" + @ONLY ) message(STATUS "UNIX: Configuring uninstall target") |