Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
BC
public
liblinphone
Commits
8e5391c9
Commit
8e5391c9
authored
Jan 09, 2017
by
Ghislain MARY
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add build of lp2xml_test and xml2lpc_test executables with CMake.
parent
9fa30c5c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
15 deletions
+15
-15
tools/CMakeLists.txt
tools/CMakeLists.txt
+15
-15
No files found.
tools/CMakeLists.txt
View file @
8e5391c9
...
...
@@ -36,13 +36,13 @@ set(LP_GEN_WRAPPERS_SOURCE_FILES
genwrappers.cc
software-desc.cc
software-desc.hh
)
)
set
(
LP_GEN_WRAPPERS_LIBS
${
LIBGCC
}
${
LIBMINGWEX
}
${
XML2_LIBRARIES
}
)
)
apply_compile_flags
(
LP_GEN_WRAPPERS_SOURCE_FILES
"CPP"
"CXX"
)
add_executable
(
lp-gen-wrappers
${
USE_BUNDLE
}
${
LP_GEN_WRAPPERS_SOURCE_FILES
}
)
...
...
@@ -61,20 +61,20 @@ add_executable(lp-sendmsg ${USE_BUNDLE} ${LP_SENDMSG_SOURCE_FILES})
target_link_libraries
(
lp-sendmsg
${
LINPHONE_LIBS_FOR_TOOLS
}
${
ORTP_LIBRARIES
}
${
MEDIASTREAMER2_LIBRARIES
}
)
set_target_properties
(
lp-sendmsg PROPERTIES LINK_FLAGS
"
${
LINPHONE_LDFLAGS
}
"
)
set
(
LP_LPC2XML_TEST_SOURCE_FILES lpc2xml_test.c
)
apply_compile_flags
(
LP_LPC2XML_TEST_SOURCE_FILES
"CPP"
"C"
)
add_executable
(
lpc2xml_test
${
USE_BUNDLE
}
${
LP_LPC2XML_TEST_SOURCE_FILES
}
)
target_link_libraries
(
lpc2xml_test
${
LINPHONE_LIBS_FOR_TOOLS
}
)
set_target_properties
(
lpc2xml_test PROPERTIES LINK_FLAGS
"
${
LINPHONE_LDFLAGS
}
"
)
set
(
LP_XML2LPC_TEST_SOURCE_FILES xml2lpc_test.c
)
apply_compile_flags
(
LP_XML2LPC_TEST_SOURCE_FILES
"CPP"
"C"
)
add_executable
(
xml2lpc_test
${
USE_BUNDLE
}
${
LP_XML2LPC_TEST_SOURCE_FILES
}
)
target_link_libraries
(
xml2lpc_test
${
LINPHONE_LIBS_FOR_TOOLS
}
)
set_target_properties
(
xml2lpc_test PROPERTIES LINK_FLAGS
"
${
LINPHONE_LDFLAGS
}
"
)
if
(
NOT IOS
)
install
(
TARGETS lp-gen-wrappers
RUNTIME DESTINATION
${
CMAKE_INSTALL_BINDIR
}
LIBRARY DESTINATION
${
CMAKE_INSTALL_LIBDIR
}
ARCHIVE DESTINATION
${
CMAKE_INSTALL_LIBDIR
}
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
)
install
(
TARGETS lp-auto-answer
RUNTIME DESTINATION
${
CMAKE_INSTALL_BINDIR
}
LIBRARY DESTINATION
${
CMAKE_INSTALL_LIBDIR
}
ARCHIVE DESTINATION
${
CMAKE_INSTALL_LIBDIR
}
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
)
install
(
TARGETS lp-sendmsg
install
(
TARGETS lp-gen-wrappers lp-auto-answer lp-sendmsg lpc2xml_test xml2lpc_test
RUNTIME DESTINATION
${
CMAKE_INSTALL_BINDIR
}
LIBRARY DESTINATION
${
CMAKE_INSTALL_LIBDIR
}
ARCHIVE DESTINATION
${
CMAKE_INSTALL_LIBDIR
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment