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
mswebrtc
Commits
10a5e730
Commit
10a5e730
authored
Jun 14, 2016
by
Ghislain MARY
Browse files
Install pdb file on Windows when building in RelWithDebInfo.
parent
f6867f78
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
10a5e730
...
...
@@ -338,8 +338,8 @@ if(ENABLE_SHARED)
add_library
(
mswebrtc MODULE
${
SOURCE_FILES
}
)
target_link_libraries
(
mswebrtc
${
LIBS
}
)
if
(
MSVC
)
if
(
CMAKE_BUILD_TYPE STREQUAL
"Debug"
)
install
(
FILES
${
CMAKE_CURRENT_BINARY_DIR
}
/
Debug
/libmswebrtc.pdb
if
(
CMAKE_BUILD_TYPE STREQUAL
"Debug"
OR CMAKE_BUILD_TYPE STREQUAL
"RelWithDebInfo"
)
install
(
FILES
${
CMAKE_CURRENT_BINARY_DIR
}
/
${
CMAKE_BUILD_TYPE
}
/libmswebrtc.pdb
DESTINATION
${
CMAKE_INSTALL_BINDIR
}
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
)
...
...
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