[asterisk-scf-commits] asterisk-scf/integration/gitall.git branch "master" updated.
Commits to the Asterisk SCF project code repositories
asterisk-scf-commits at lists.digium.com
Fri Sep 16 10:55:05 CDT 2011
branch "master" has been updated
via 8f7d5e74f3162d72170dc24424a3e1ad14ee38ab (commit)
from 2dd661c24744dda2172f6da7147e51549504ec8e (commit)
Summary of changes:
cmake/modules/pjproject.cmake | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
- Log -----------------------------------------------------------------
commit 8f7d5e74f3162d72170dc24424a3e1ad14ee38ab
Author: Brent Eagles <beagles at digium.com>
Date: Fri Sep 16 13:24:53 2011 -0230
Add support for resampling library on Windows.
diff --git a/cmake/modules/pjproject.cmake b/cmake/modules/pjproject.cmake
index 8dd11c4..66e4f22 100644
--- a/cmake/modules/pjproject.cmake
+++ b/cmake/modules/pjproject.cmake
@@ -90,7 +90,8 @@ function(pjproject_build PJPROJECT_COMPONENT)
include_external_msproject(pjmedia "${CMAKE_SOURCE_DIR}/pjproject/pjmedia/build/pjmedia.${VCPROJ_EXT}")
include_external_msproject(pjmedia_audiodev "${CMAKE_SOURCE_DIR}/pjproject/pjmedia/build/pjmedia_audiodev.${VCPROJ_EXT}")
include_external_msproject(srtp "${CMAKE_SOURCE_DIR}/pjproject/third_party/build/srtp/libsrtp.${VCPROJ_EXT}")
- add_dependencies(pjmedia pjmedia_audiodev srtp)
+ include_external_msproject(resample "${CMAKE_SOURCE_DIR}/pjproject/third_party/build/resample/libresample_dll.${VCPROJ_EXT}")
+ add_dependencies(pjmedia pjmedia_audiodev srtp resample)
elseif(${PJPROJECT_COMPONENT} STREQUAL "third_party")
else()
include_external_msproject(${PJPROJECT_COMPONENT} "${CMAKE_SOURCE_DIR}/pjproject/${PJPROJECT_COMPONENT}/build/${PJPROJECT_COMPONENT}.${VCPROJ_EXT}")
@@ -123,6 +124,7 @@ function(pjproject_link COMPONENT PJPROJECT_COMPONENT)
target_link_libraries(${COMPONENT} "pjsdp-asteriskscf")
target_link_libraries(${COMPONENT} "pjmedia-audiodev-asteriskscf")
target_link_libraries(${COMPONENT} "srtp-asteriskscf")
+ target_link_libraries(${COMPONENT} "resample")
if(PJMEDIA_LIBRARIES)
target_link_libraries(${COMPONENT} ${PJMEDIA_LIBRARIES})
endif()
@@ -165,6 +167,8 @@ function(pjproject_link COMPONENT PJPROJECT_COMPONENT)
target_link_libraries(${COMPONENT} optimized "pjmedia-audiodev-${X_CPU}-${X_TARG}-${MSVC_VERSION}-Release")
target_link_libraries(${COMPONENT} debug "libsrtp-${X_CPU}-${X_TARG}-${MSVC_VERSION}-Debug")
target_link_libraries(${COMPONENT} optimized "libsrtp-${X_CPU}-${X_TARG}-${MSVC_VERSION}-Release")
+ target_link_libraries(${COMPONENT} debug "libresample-${X_CPU}-${X_TARG}-${MSVC_VERSION}-Debug")
+ target_link_libraries(${COMPONENT} optimized "libresample-${X_CPU}-${X_TARG}-${MSVC_VERSION}-Release")
add_dependencies(${COMPONENT} pjmedia)
else()
if(${CMAKE_CL_64})
-----------------------------------------------------------------------
--
asterisk-scf/integration/gitall.git
More information about the asterisk-scf-commits
mailing list