[asterisk-scf-commits] asterisk-scf/release/cmake.git branch "master" updated.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Wed Aug 10 17:29:16 CDT 2011


branch "master" has been updated
       via  c11027fbdbb233f89a8a285939b05ce6c74fa8ab (commit)
      from  2e3d895cfe70b95237d9d8461516b4a0f682702b (commit)

Summary of changes:
 AsteriskSCF.cmake |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)


- Log -----------------------------------------------------------------
commit c11027fbdbb233f89a8a285939b05ce6c74fa8ab
Author: Brent Eagles <beagles at digium.com>
Date:   Wed Aug 10 19:58:37 2011 -0230

    Upping the test timer to allow for longer running tests and adding a function
    to disable warnings-as-errors on a project by project basis.

diff --git a/AsteriskSCF.cmake b/AsteriskSCF.cmake
index 799747e..72947fb 100644
--- a/AsteriskSCF.cmake
+++ b/AsteriskSCF.cmake
@@ -55,7 +55,7 @@
 #
 
 set(MIN_BOOST_VERSION 1.40)
-set(TEST_TIMEOUT_SEC 60)
+set(TEST_TIMEOUT_SEC 90)
 
 # CMake mistakenly thinks that GCC on OS X doesn't support -isystem.
 # See http://public.kitware.com/Bug/view.php?id=10837
@@ -271,6 +271,14 @@ macro(__astscf_compute_test_paths)
   endif()
 endmacro()
 
+function(astscf_allowwarnings)
+  if(CMAKE_COMPILER_IS_GNUCXX)
+    unset(_lv)
+    string(REPLACE "-Werror" "" _lv "${CMAKE_CXX_FLAGS_DEBUG}")
+    set(CMAKE_CXX_FLAGS_DEBUG "${_lv}" PARENT_SCOPE)
+  endif()
+endfunction()
+
 # Function which initializes project specific things
 function(astscf_project NAME ICE_VERSION)
   message(STATUS "Setting up project ${NAME} for Ice version ${ICE_VERSION}")

-----------------------------------------------------------------------


-- 
asterisk-scf/release/cmake.git



More information about the asterisk-scf-commits mailing list