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
yangql
googletest
Commits
9557d29b
Unverified
Commit
9557d29b
authored
Feb 28, 2018
by
Gennadiy Civil
Committed by
GitHub
Feb 28, 2018
Browse files
Merge pull request #1481 from dneto0/debug-postfix
Use DEBUG_POSTFIX instead of CMAKE_DEBUG_POSTFIX
parents
fe114424
66d71756
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
googletest/CMakeLists.txt
googletest/CMakeLists.txt
+0
-2
googletest/cmake/internal_utils.cmake
googletest/cmake/internal_utils.cmake
+4
-0
No files found.
googletest/CMakeLists.txt
View file @
9557d29b
...
...
@@ -27,8 +27,6 @@ option(
"Build gtest with internal symbols hidden in shared libraries."
OFF
)
set
(
CMAKE_DEBUG_POSTFIX
"d"
CACHE STRING
"Generate debug library name with a postfix."
)
# Defines pre_project_set_up_hermetic_build() and set_up_hermetic_build().
include
(
cmake/hermetic_build.cmake OPTIONAL
)
...
...
googletest/cmake/internal_utils.cmake
View file @
9557d29b
...
...
@@ -158,6 +158,10 @@ function(cxx_library_with_type name type cxx_flags)
set_target_properties
(
${
name
}
PROPERTIES
COMPILE_FLAGS
"
${
cxx_flags
}
"
)
# Generate debug library name with a postfix.
set_target_properties
(
${
name
}
PROPERTIES
DEBUG_POSTFIX
"d"
)
if
(
BUILD_SHARED_LIBS OR type STREQUAL
"SHARED"
)
set_target_properties
(
${
name
}
PROPERTIES
...
...
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