[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
Tue Nov 8 11:54:27 CST 2011


branch "master" has been updated
       via  62525b614667c88512994722331c4431d2df0ffd (commit)
      from  d0367dee5975298865320ef4c34eb11526e516e9 (commit)

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


- Log -----------------------------------------------------------------
commit 62525b614667c88512994722331c4431d2df0ffd
Author: Brent Eagles <beagles at digium.com>
Date:   Tue Nov 8 14:24:12 2011 -0330

    Add /MP flag to Windows projects

diff --git a/AsteriskSCF.cmake b/AsteriskSCF.cmake
index f0e16eb..084a48c 100644
--- a/AsteriskSCF.cmake
+++ b/AsteriskSCF.cmake
@@ -164,6 +164,13 @@ if(WIN32)
   if(${CMAKE_CL_64})
     add_definitions(-D__amd64)	
   endif()
+
+  #
+  # Add the /MP compiler flag to allow the C++ compiler to use
+  # multiple cores at a time compile files. Combined with concurrent
+  # project builds, this can speed up builds on multi-core systems.
+  #
+  add_definitions(/MP)
 endif()
 
 if(UNIX)

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


-- 
asterisk-scf/release/cmake.git



More information about the asterisk-scf-commits mailing list