[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
Mon Jan 10 11:34:54 CST 2011


branch "master" has been updated
       via  24c4357778cdb9591d003130319ef028367c8c31 (commit)
      from  2c88d8184d586c3468902206d29d7bf5d05098da (commit)

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


- Log -----------------------------------------------------------------
commit 24c4357778cdb9591d003130319ef028367c8c31
Author: David M. Lee <dlee at digium.com>
Date:   Mon Jan 10 11:30:59 2011 -0600

    Mark profile flags as advanced.
    
    The similar flags for release and debug are also marked as advanced, so
    mark the profile flags as advanced so they don't clutter up cmake-gui.

diff --git a/AsteriskSCF.cmake b/AsteriskSCF.cmake
index e1d7330..4a986d3 100644
--- a/AsteriskSCF.cmake
+++ b/AsteriskSCF.cmake
@@ -118,6 +118,11 @@ if(NOT WIN32)
   set(CMAKE_EXE_LINKER_FLAGS_PROFILE
     "${CMAKE_EXE_LINKER_FLAGS_DEBUG}"
     CACHE STRING "Flags used by the linker during profile builds." FORCE)
+
+  mark_as_advanced(
+    CMAKE_C_FLAGS_PROFILE
+    CMAKE_CXX_FLAGS_PROFILE
+    CMAKE_EXE_LINKER_FLAGS_PROFILE)
 endif()
 
 if(${CMAKE_BUILD_TYPE} STREQUAL profile)

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


-- 
asterisk-scf/release/cmake.git



More information about the asterisk-scf-commits mailing list