[SCM] UID Wrapper Repository - branch master updated
Andreas Schneider
asn at samba.org
Mon Apr 7 04:39:03 MDT 2014
The branch, master has been updated
via 6f441ee cmake: Fix configure warning with cmake 3.0.
via d8e12e1 cmake: Create the compile command database by default.
from 0ea952c Bump version to 1.0.1.
http://gitweb.samba.org/?p=uid_wrapper.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 6f441eebd445998b1854bc07bb691e1503ba1fff
Author: Andreas Schneider <asn at samba.org>
Date: Mon Apr 7 12:17:16 2014 +0200
cmake: Fix configure warning with cmake 3.0.
Signed-off-by: Andreas Schneider <asn at samba.org>
commit d8e12e1e553ae193326e04db64c7089ca144e362
Author: Andreas Schneider <asn at samba.org>
Date: Mon Apr 7 12:17:01 2014 +0200
cmake: Create the compile command database by default.
Signed-off-by: Andreas Schneider <asn at samba.org>
-----------------------------------------------------------------------
Summary of changes:
cmake/Modules/DefineCMakeDefaults.cmake | 3 +++
src/CMakeLists.txt | 1 +
2 files changed, 4 insertions(+), 0 deletions(-)
Changeset truncated at 500 lines:
diff --git a/cmake/Modules/DefineCMakeDefaults.cmake b/cmake/Modules/DefineCMakeDefaults.cmake
index 72893c3..22eda6f 100644
--- a/cmake/Modules/DefineCMakeDefaults.cmake
+++ b/cmake/Modules/DefineCMakeDefaults.cmake
@@ -25,3 +25,6 @@ if (NOT CMAKE_BUILD_TYPE)
"Choose the type of build, options are: None Debug Release RelWithDebInfo MinSizeRel."
)
endif (NOT CMAKE_BUILD_TYPE)
+
+# Create the compile command database for clang by default
+set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 3476d5c..e0f2011 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -22,5 +22,6 @@ install(
)
# This needs to be at the end
+cmake_policy(SET CMP0026 OLD)
get_target_property(UWRAP_LOCATION uid_wrapper LOCATION)
set(UID_WRAPPER_LOCATION ${UWRAP_LOCATION} PARENT_SCOPE)
--
UID Wrapper Repository
More information about the samba-cvs
mailing list