[hydra-commits] hydra/cmake.git branch "master" updated.

Commits to the Hydra project code repositories hydra-commits at lists.digium.com
Thu Aug 5 07:59:31 CDT 2010


branch "master" has been updated
       via  034cde5461b4250ee0cd613258c282e9f7f769ad (commit)
      from  8a9335238af711324d93ca91c799a37545647fa3 (commit)

Summary of changes:
 Hydra_v4.cmake |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


- Log -----------------------------------------------------------------
commit 034cde5461b4250ee0cd613258c282e9f7f769ad
Author: Kevin P. Fleming <kpfleming at digium.com>
Date:   Thu Aug 5 07:58:12 2010 -0500

    Let GCC warn about various style items from the Effective C++ series that are also in our coding guidelines.

diff --git a/Hydra_v4.cmake b/Hydra_v4.cmake
index a14dfc7..d7788e3 100644
--- a/Hydra_v4.cmake
+++ b/Hydra_v4.cmake
@@ -633,7 +633,7 @@ function(hydra_component_add_file COMPONENT)
   foreach(file ${ARGN})
     list(APPEND file_list ${CMAKE_CURRENT_SOURCE_DIR}/${file})
     if(HYDRA_${COMPONENT}_LANG STREQUAL "CXX" AND CMAKE_COMPILER_IS_GNUCXX AND CMAKE_BUILD_TYPE STREQUAL Debug)
-      set_source_files_properties(${file} COMPILE_FLAGS "-Wall -Werror")
+      set_source_files_properties(${file} COMPILE_FLAGS "-Wall -Werror -Weffc++")
     endif()
   endforeach()
   list(REMOVE_DUPLICATES file_list)

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


-- 
hydra/cmake.git




More information about the asterisk-scf-commits mailing list