Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
linphone-cmake-builder
Commits
bd71aac0
Commit
bd71aac0
authored
Jul 16, 2014
by
Ghislain MARY
Browse files
Complete compilation of oRTP with CMake when compiling with Visual Studio.
parent
f8ad758d
Changes
1
Hide whitespace changes
Inline
Side-by-side
builders/ortp.cmake
View file @
bd71aac0
...
...
@@ -28,8 +28,21 @@ else()
endif
()
if
(
MSVC
)
# Use temporary CMake build scripts for Windows. TODO: Port fully to CMake.
set
(
EP_ortp_DEPENDENCIES EP_srtp
)
set
(
EP_ortp_CMAKE_OPTIONS
)
set
(
EP_ortp_LINKING_TYPE
"-DENABLE_STATIC=0"
)
set
(
EP_ortp_DEPENDENCIES
)
if
(
${
ENABLE_SRTP
}
)
list
(
APPEND EP_ortp_CMAKE_OPTIONS
"-DENABLE_SRTP=1"
)
list
(
APPEND EP_ortp_DEPENDENCIES EP_srtp
)
else
()
list
(
APPEND EP_ortp_CMAKE_OPTIONS
"-DENABLE_SRTP=0"
)
endif
()
if
(
${
ENABLE_ZRTP
}
)
list
(
APPEND EP_ortp_CMAKE_OPTIONS
"-DENABLE_ZRTP=1"
)
list
(
APPEND EP_ortp_DEPENDENCIES EP_bzrtp
)
else
()
list
(
APPEND EP_ortp_CMAKE_OPTIONS
"-DENABLE_ZRTP=0"
)
endif
()
set
(
EP_ortp_EXTRA_LDFLAGS
"/SAFESEH:NO"
)
else
()
set
(
EP_ortp_BUILD_METHOD
"autotools"
)
...
...
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