[SCM] NSS Wrapper Repository - branch master updated

Andreas Schneider asn at samba.org
Mon Apr 7 04:18:06 MDT 2014


The branch, master has been updated
       via  62d86a3 cmake: Fix configure warning with cmake 3.0.
       via  b06224d cmake: Create the compile command database by default.
      from  4344cd3 tests: Check that the address has the correct family.

http://gitweb.samba.org/?p=nss_wrapper.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 62d86a3d6c238e66fd67e07ec6448bd3bc0541d9
Author: Andreas Schneider <asn at samba.org>
Date:   Mon Apr 7 12:14:50 2014 +0200

    cmake: Fix configure warning with cmake 3.0.

commit b06224d7dda52241b169b33fa0ccf5cee06658d2
Author: Andreas Schneider <asn at samba.org>
Date:   Fri Apr 4 09:32:21 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 089070a..c52b321 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(NWRAP_LOCATION nss_wrapper LOCATION)
 set(NSS_WRAPPER_LOCATION ${NWRAP_LOCATION} PARENT_SCOPE)


-- 
NSS Wrapper Repository


More information about the samba-cvs mailing list