Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
pybind11
Commits
8f5a8ab4
Commit
8f5a8ab4
authored
Aug 23, 2019
by
Dmitry
Committed by
Wenzel Jakob
Aug 23, 2019
Browse files
Don't strip debug symbols in RelWithDebInfo mode (#1892)
parent
12e8774b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tools/pybind11Tools.cmake
tools/pybind11Tools.cmake
+1
-1
No files found.
tools/pybind11Tools.cmake
View file @
8f5a8ab4
...
@@ -197,7 +197,7 @@ function(pybind11_add_module target_name)
...
@@ -197,7 +197,7 @@ function(pybind11_add_module target_name)
_pybind11_add_lto_flags
(
${
target_name
}
${
ARG_THIN_LTO
}
)
_pybind11_add_lto_flags
(
${
target_name
}
${
ARG_THIN_LTO
}
)
if
(
NOT MSVC AND NOT
${
CMAKE_BUILD_TYPE
}
MATCHES Debug
)
if
(
NOT MSVC AND NOT
${
CMAKE_BUILD_TYPE
}
MATCHES Debug
|RelWithDebInfo
)
# Strip unnecessary sections of the binary on Linux/Mac OS
# Strip unnecessary sections of the binary on Linux/Mac OS
if
(
CMAKE_STRIP
)
if
(
CMAKE_STRIP
)
if
(
APPLE
)
if
(
APPLE
)
...
...
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