[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
Thu Nov 18 07:44:04 CST 2010


branch "master" has been updated
       via  c6c5985079c75e76a68d1d9b8626d11bcf087ae4 (commit)
      from  9f66775b5f7c8b37cc1862774a77c33049a7a74e (commit)

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


- Log -----------------------------------------------------------------
commit c6c5985079c75e76a68d1d9b8626d11bcf087ae4
Author: Joshua Colp <jcolp at digium.com>
Date:   Thu Nov 18 09:44:11 2010 -0400

    Disable support for non-integrated builds. The gitall script must be used.

diff --git a/AsteriskSCF.cmake b/AsteriskSCF.cmake
index 8ebd878..641ec29 100644
--- a/AsteriskSCF.cmake
+++ b/AsteriskSCF.cmake
@@ -50,6 +50,11 @@ if(CMAKE_BINARY_DIR STREQUAL CMAKE_SOURCE_DIR)
     message(FATAL_ERROR "This project must not be built in the source directory")
 endif()
 
+# Only permit integrated builds to be done at this time
+if(NOT integrated_build)
+    message(FATAL_ERROR "This project can not be built in a non-integrated fashion. Please use the gitall script present in the gitall repository.")
+endif()
+
 list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules")
 
 # If a build type has not been explicitly specified then use debug

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


-- 
asterisk-scf/release/cmake.git



More information about the asterisk-scf-commits mailing list