[asterisk-scf-commits] asterisk-scf/release/cmake.git branch "icebox" created.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Tue Sep 28 14:46:49 CDT 2010


branch "icebox" has been created
        at  a4e3391cfdf40c9ba904f33dfec8ecdc68a79b73 (commit)

- Log -----------------------------------------------------------------
commit a4e3391cfdf40c9ba904f33dfec8ecdc68a79b73
Author: David M. Lee <dlee at digium.com>
Date:   Tue Sep 28 14:44:09 2010 -0500

    Changes to allow tests to run in icebox.

diff --git a/AsteriskSCF.cmake b/AsteriskSCF.cmake
index eb35039..5fdec08 100644
--- a/AsteriskSCF.cmake
+++ b/AsteriskSCF.cmake
@@ -741,7 +741,7 @@ function(hydra_component_build_icebox COMPONENT)
   
   if(lang STREQUAL "CXX")
     # Now we actually create the library
-    add_library(${COMPONENT} MODULE ${${COMPONENT}_SOURCES})
+    add_library(${COMPONENT} SHARED ${${COMPONENT}_SOURCES})
     # Link required libraries and Slice libraries
     list(APPEND boostlibs ${HYDRA_BOOST_LIBRARIES} ${${COMPONENT}_BOOST_LIBRARIES})
     if(boostlibs)
@@ -840,3 +840,7 @@ function(boost_add_test EXE)
       --report_sink=${CMAKE_BINARY_DIR}/${EXE}-result.xml
       --report_format=XML --report_level=detailed)
 endfunction()
+
+function(icebox_add_test NAME CONFIG)
+   add_test(NAME ${NAME} COMMAND icebox --Ice.Config=${CONFIG})
+endfunction()

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


-- 
asterisk-scf/release/cmake.git



More information about the asterisk-scf-commits mailing list