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
764a199d
Commit
764a199d
authored
Aug 18, 2014
by
Ghislain MARY
Browse files
Simplify inclusion of the linphone Python module.
parent
bd424821
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
configs/python/CMakeLists.txt
configs/python/CMakeLists.txt
+1
-1
No files found.
configs/python/CMakeLists.txt
View file @
764a199d
...
...
@@ -81,7 +81,7 @@ if(WIN32)
file
(
GLOB LINPHONE_DYNAMIC_LIBRARIES
"
${
CMAKE_INSTALL_PREFIX
}
/bin/*.dll"
)
endif
()
file
(
MAKE_DIRECTORY
"
${
CMAKE_CURRENT_BINARY_DIR
}
/linphone"
)
file
(
WRITE
"
${
CMAKE_CURRENT_BINARY_DIR
}
/linphone/__init__.py"
"
import
linphone"
)
file
(
WRITE
"
${
CMAKE_CURRENT_BINARY_DIR
}
/linphone/__init__.py"
"
from
linphone
import *
"
)
file
(
COPY
${
LINPHONE_DYNAMIC_LIBRARIES
}
DESTINATION
"
${
CMAKE_CURRENT_BINARY_DIR
}
/linphone"
)
if
(
MSVC AND NOT
"
${
MSVC_VERSION
}
"
STREQUAL
"9"
)
file
(
COPY
${
MSVCR_LIB
}
DESTINATION
"
${
CMAKE_CURRENT_BINARY_DIR
}
/linphone"
)
...
...
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