mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-30 09:49:26 +00:00
add lp-sendmsg tool, a new tool to send arbitrary SIP MESSAGE requests through a server.
This commit is contained in:
parent
fdaca52ec4
commit
a7cb065a9f
3 changed files with 29 additions and 2 deletions
|
|
@ -1 +1 @@
|
|||
Subproject commit 18bea4f5b9e36e0873443cf961164bed1d81e6bc
|
||||
Subproject commit 7053d54e7e3375944ee54671b82c3b5f63eac072
|
||||
|
|
@ -75,3 +75,26 @@ install(TARGETS lp-auto-answer
|
|||
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
|
||||
)
|
||||
|
||||
set(LP_SENDMSG_SOURCE_FILES
|
||||
lpsendmsg.c
|
||||
)
|
||||
|
||||
add_definitions(
|
||||
-DIN_LINPHONE
|
||||
)
|
||||
|
||||
apply_compile_flags(LP_SENDMSG_SOURCE_FILES "CPP" "C")
|
||||
add_executable(lp-sendmsg ${LP_SENDMSG_SOURCE_FILES})
|
||||
target_link_libraries(lp-sendmsg linphone)
|
||||
|
||||
|
||||
install(TARGETS lp-sendmsg
|
||||
RUNTIME DESTINATION bin
|
||||
LIBRARY DESTINATION lib
|
||||
ARCHIVE DESTINATION lib
|
||||
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
|
||||
)
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ EXTRA_DIST=xml2lpc_jni.cc lpc2xml_jni.cc
|
|||
|
||||
if BUILD_TOOLS
|
||||
|
||||
bin_PROGRAMS=xml2lpc_test lpc2xml_test lp-gen-wrappers lp-autoanswer lp-test-ecc
|
||||
bin_PROGRAMS=xml2lpc_test lpc2xml_test lp-gen-wrappers lp-autoanswer lp-test-ecc lp-sendmsg
|
||||
|
||||
xml2lpc_test_SOURCES=\
|
||||
xml2lpc_test.c
|
||||
|
|
@ -52,6 +52,10 @@ lp_test_ecc_SOURCES=test_ecc.c
|
|||
lp_test_ecc_CFLAGS=$(COMMON_CFLAGS)
|
||||
lp_test_ecc_LDADD=$(top_builddir)/coreapi/liblinphone.la
|
||||
|
||||
lp_sendmsg_SOURCES=lpsendmsg.c
|
||||
lp_sendmsg_CFLAGS=$(COMMON_CFLAGS)
|
||||
lp_sendmsg_LDADD=$(top_builddir)/coreapi/liblinphone.la
|
||||
|
||||
endif
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue