[SCM] Socket Wrapper Repository - branch master updated

Andreas Schneider asn at samba.org
Mon Apr 7 04:17:57 MDT 2014


The branch, master has been updated
       via  af3c688 cmake: Fix configure warning with cmake 3.0.
       via  c97864a cmake: Create the compile command database by default.
      from  3a6f853 Bump version to 1.0.1.

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


- Log -----------------------------------------------------------------
commit af3c688938be9f3a506107c65b964b362d2ef5c4
Author: Andreas Schneider <asn at samba.org>
Date:   Mon Apr 7 12:16:10 2014 +0200

    cmake: Fix configure warning with cmake 3.0.
    
    Signed-off-by: Andreas Schneider <asn at samba.org>

commit c97864a3da2f2554d02e7f1c312af4480f1a7027
Author: Andreas Schneider <asn at samba.org>
Date:   Mon Apr 7 12:15:51 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 cf70501..449ed54 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -23,5 +23,6 @@ set_target_properties(
 )
 
 # This needs to be at the end
+cmake_policy(SET CMP0026 OLD)
 get_target_property(SWRAP_LOCATION socket_wrapper LOCATION)
 set(SOCKET_WRAPPER_LOCATION ${SWRAP_LOCATION} PARENT_SCOPE)


-- 
Socket Wrapper Repository


More information about the samba-cvs mailing list