[asterisk-scf-commits] asterisk-scf/integration/ice-util-cpp.git branch "install" updated.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Fri Jan 14 13:19:58 CST 2011


branch "install" has been updated
       via  bcfea5d191c62e4192310dddd5940d66f7e4a689 (commit)
      from  281707ff4e318882812f1a6eae8fc248dc988042 (commit)

Summary of changes:
 SmartProxy/CMakeLists.txt           |    2 ++
 StateReplicator/CMakeLists.txt      |   10 ++++++----
 StateReplicator/test/CMakeLists.txt |    1 -
 3 files changed, 8 insertions(+), 5 deletions(-)


- Log -----------------------------------------------------------------
commit bcfea5d191c62e4192310dddd5940d66f7e4a689
Author: David M. Lee <dlee at digium.com>
Date:   Thu Jan 13 15:21:21 2011 -0600

    Installation config

diff --git a/SmartProxy/CMakeLists.txt b/SmartProxy/CMakeLists.txt
index 3b38e29..51e7331 100644
--- a/SmartProxy/CMakeLists.txt
+++ b/SmartProxy/CMakeLists.txt
@@ -27,4 +27,6 @@ asterisk_scf_component_build_library(SmartProxy)
 include_directories(${API_INCLUDE_DIR})
 target_link_libraries(SmartProxy logging-client)
 
+# don't install the component.  it's just there to make Visual Studio happy
+# _do_ install the header files
 install(DIRECTORY include/ DESTINATION ${ASTERISK_SCF_INSTALL_INCLUDE_DIR})
diff --git a/StateReplicator/CMakeLists.txt b/StateReplicator/CMakeLists.txt
index ca5f819..a17bd75 100644
--- a/StateReplicator/CMakeLists.txt
+++ b/StateReplicator/CMakeLists.txt
@@ -12,13 +12,15 @@ asterisk_scf_component_init(StateReplicator CXX)
 
 include_directories(include)
 
-asterisk_scf_component_add_file(StateReplicator include/AsteriskSCF/StateReplicator.h)
+asterisk_scf_component_add_file(StateReplicator
+    include/AsteriskSCF/StateReplicator.h)
 asterisk_scf_component_add_file(StateReplicator src/StateReplicator.cpp)
 asterisk_scf_component_add_boost_libraries(StateReplicator thread)
- 
-asterisk_scf_component_build_library(StateReplicator)
 
-asterisk_scf_component_install(StateReplicator LIBRARY lib "State Replicator" statereplicator ARCHIVE DESTINATION lib)
+asterisk_scf_component_build_library(StateReplicator)
 
 add_subdirectory(test)
 
+# don't install the component.  it's just there to make Visual Studio happy
+# _do_ install the header files
+install(DIRECTORY include/ DESTINATION ${ASTERISK_SCF_INSTALL_INCLUDE_DIR})
diff --git a/StateReplicator/test/CMakeLists.txt b/StateReplicator/test/CMakeLists.txt
index 5ff08fd..075f348 100644
--- a/StateReplicator/test/CMakeLists.txt
+++ b/StateReplicator/test/CMakeLists.txt
@@ -9,6 +9,5 @@ asterisk_scf_component_add_slice(StateReplicatorTest ../testslice/StateReplicato
 asterisk_scf_component_add_boost_libraries(StateReplicatorTest unit_test_framework thread date_time)
 
 asterisk_scf_component_build_standalone(StateReplicatorTest)
-asterisk_scf_component_install(StateReplicatorTest RUNTIME bin "StateReplicatorTest Component Test Driver." Test)
 
 boost_add_test(StateReplicatorTest)

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


-- 
asterisk-scf/integration/ice-util-cpp.git



More information about the asterisk-scf-commits mailing list