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

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Thu Jan 20 13:05:36 CST 2011


branch "master" has been updated
       via  18ffe3f2cda243ea1df79e9bc78c3d4ed15b570c (commit)
      from  a8830da8f9d4452140086a9bbf6f079274d92d46 (commit)

Summary of changes:
 CMakeLists.txt |   10 +++-------
 1 files changed, 3 insertions(+), 7 deletions(-)


- Log -----------------------------------------------------------------
commit 18ffe3f2cda243ea1df79e9bc78c3d4ed15b570c
Author: David M. Lee <dlee at digium.com>
Date:   Thu Jan 20 12:33:27 2011 -0600

    Refactored out several install functions for installation.
    
    * asterisk_scf_component_install - Install a component
    * asterisk_scf_slice_headers_install - Install generated .h files
    * asterisk_scf_slice_install - Install .ice files

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5a85839..8f26841 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -20,10 +20,6 @@ asterisk_scf_component_build_library(asterisk-scf-api)
 set(API_INCLUDE_DIR ${CMAKE_CURRENT_BINARY_DIR}/generated PARENT_SCOPE)
 set(API_SLICE_DIR ${CMAKE_CURRENT_SOURCE_DIR} PARENT_SCOPE)
 
-install(TARGETS asterisk-scf-api
-    LIBRARY DESTINATION ${ASTERISK_SCF_INSTALL_LIB_DIR}
-    RUNTIME DESTINATION ${ASTERISK_SCF_INSTALL_BIN_DIR})
-install(DIRECTORY AsteriskSCF DESTINATION ${ASTERISK_SCF_INSTALL_SLICE_DIR})
-install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/generated/
-    DESTINATION ${ASTERISK_SCF_INSTALL_INCLUDE_DIR}
-    FILES_MATCHING PATTERN "*.h")
+asterisk_scf_component_install(asterisk-scf-api)
+asterisk_scf_slice_headers_install()
+asterisk_scf_slice_install(AsteriskSCF)

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


-- 
asterisk-scf/release/slice.git



More information about the asterisk-scf-commits mailing list