[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
Mon Aug 30 16:00:39 CDT 2010


branch "master" has been updated
       via  1e7a1725fe9e2d176a2c26820d6bcd96c6c3939e (commit)
      from  3677cff0a92fa78cec53ad86e4f9c56818cfb293 (commit)

Summary of changes:
 modules/pjproject.cmake |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)


- Log -----------------------------------------------------------------
commit 1e7a1725fe9e2d176a2c26820d6bcd96c6c3939e
Author: Joshua Colp <jcolp at digium.com>
Date:   Mon Aug 30 18:10:28 2010 -0300

    Add linking and dependencies for pjsip under Windows.

diff --git a/modules/pjproject.cmake b/modules/pjproject.cmake
index 3d9e467..055f625 100644
--- a/modules/pjproject.cmake
+++ b/modules/pjproject.cmake
@@ -75,6 +75,17 @@ function(pjproject_link COMPONENT PJPROJECT_COMPONENT)
     endif()
   elseif (MSVC80 OR MSVC90)
     if (${PJPROJECT_COMPONENT} STREQUAL "pjsip")
+      if (${CMAKE_SYSTEM_PROCESSOR} STREQUAL "x86")
+	target_link_libraries(${COMPONENT} debug "pjsip-core-i386-Win32-vc8-Debug")
+	target_link_libraries(${COMPONENT} optimized "pjsip-core-i386-Win32-vc8-Release")
+	target_link_libraries(${COMPONENT} debug "pjsip-simple-i386-Win32-vc8-Debug")
+	target_link_libraries(${COMPONENT} optimized "pjsip-simple-i386-Win32-vc8-Release")
+	target_link_libraries(${COMPONENT} debug "pjsip-ua-i386-Win32-vc8-Debug")
+	target_link_libraries(${COMPONENT} optimized "pjsip-ua-i386-Win32-vc8-Release")
+	target_link_libraries(${COMPONENT} debug "pjsua-lib-i386-Win32-vc8-Debug")
+	target_link_libraries(${COMPONENT} optimized "pjsua-lib-i386-Win32-vc8-Release")
+      endif()
+      add_dependencies(${COMPONENT} pjsip_core pjsip_simple pjsip_ua pjsua_lib)
     elseif (${PJPROJECT_COMPONENT} STREQUAL "pjlib-util")
       add_dependencies(${COMPONENT} pjlib_util)
       if (${CMAKE_SYSTEM_PROCESSOR} STREQUAL "x86")

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


-- 
asterisk-scf/release/cmake.git



More information about the asterisk-scf-commits mailing list