Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
BC
public
liblinphone
Commits
f5b65146
Commit
f5b65146
authored
9 years ago
by
Ghislain MARY
Browse files
Options
Download
Patches
Plain Diff
Generate linphonetester library when building for IOS with CMake.
parent
5f30b8a1
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tester/CMakeLists.txt
+46
-1
tester/CMakeLists.txt
with
46 additions
and
1 deletion
tester/CMakeLists.txt
+
46
−
1
View file @
f5b65146
...
...
@@ -25,10 +25,52 @@ if(WIN32)
endif
()
find_package
(
GTK2 2.18 COMPONENTS gtk
)
file
(
GLOB_RECURSE SOURCE_FILES *.c
)
set
(
SOURCE_FILES
accountmanager.c
call_tester.c
dtmf_tester.c
eventapi_tester.c
flexisip_tester.c
liblinphone_tester.c
log_collection_tester.c
message_tester.c
multi_call_tester.c
multicast_call_tester.c
offeranswer_tester.c
player_tester.c
presence_tester.c
proxy_config_tester.c
quality_reporting_tester.c
register_tester.c
remote_provisioning_tester.c
setup_tester.c
stun_tester.c
tester.c
tunnel_tester.c
upnp_tester.c
video_tester.c
)
add_definitions
(
-DBC_CONFIG_FILE=
"config.h"
)
if
(
IOS
)
add_library
(
linphonetester STATIC
${
SOURCE_FILES
}
)
target_include_directories
(
linphonetester PUBLIC
${
CUNIT_INCLUDE_DIRS
}
PRIVATE common
)
target_link_libraries
(
linphonetester linphone
${
CUNIT_LIBRARIES
}
)
install
(
TARGETS linphonetester
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
)
install
(
FILES
"liblinphone_tester.h"
"common/bc_tester_utils.h"
DESTINATION include/linphone
PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ
)
else
()
add_executable
(
liblinphone_tester
${
SOURCE_FILES
}
)
set_target_properties
(
liblinphone_tester PROPERTIES LINKER_LANGUAGE CXX
)
target_include_directories
(
liblinphone_tester PUBLIC
${
CUNIT_INCLUDE_DIRS
}
PRIVATE common
)
...
...
@@ -38,3 +80,6 @@ if (GTK2_FOUND)
target_include_directories
(
liblinphone_tester PUBLIC
${
GTK2_INCLUDE_DIRS
}
)
target_link_libraries
(
liblinphone_tester linphone
${
GTK2_LIBRARIES
}
)
endif
()
endif
()
This diff is collapsed.
Click to expand it.
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets