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
ruanhaishen
hiredis
Commits
902dd047
Unverified
Commit
902dd047
authored
Jun 26, 2022
by
Michael Grunder
Committed by
GitHub
Jun 26, 2022
Browse files
Merge pull request #1054 from kristjanvalur/pr08
Embed debug information in windows static .lib file
parents
c78d0926
ff57c18b
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
902dd047
...
@@ -53,10 +53,10 @@ ADD_LIBRARY(hiredis::hiredis_static ALIAS hiredis_static)
...
@@ -53,10 +53,10 @@ ADD_LIBRARY(hiredis::hiredis_static ALIAS hiredis_static)
SET_TARGET_PROPERTIES
(
hiredis
SET_TARGET_PROPERTIES
(
hiredis
PROPERTIES WINDOWS_EXPORT_ALL_SYMBOLS TRUE
PROPERTIES WINDOWS_EXPORT_ALL_SYMBOLS TRUE
VERSION
"
${
HIREDIS_SONAME
}
"
)
VERSION
"
${
HIREDIS_SONAME
}
"
)
IF
(
WIN32
)
SET_TARGET_PROPERTIES
(
hiredis_static
SET_TARGET_PROPERTIES
(
hiredis_static
PROPERTIES COMPILE_PDB_NAME hiredis_static
)
PROPERTIES COMPILE_FLAGS /Z7
)
SET_TARGET_PROPERTIES
(
hiredis_static
ENDIF
()
PROPERTIES COMPILE_PDB_NAME_DEBUG hiredis_static
${
CMAKE_DEBUG_POSTFIX
}
)
IF
(
WIN32 OR MINGW
)
IF
(
WIN32 OR MINGW
)
TARGET_LINK_LIBRARIES
(
hiredis PUBLIC ws2_32 crypt32
)
TARGET_LINK_LIBRARIES
(
hiredis PUBLIC ws2_32 crypt32
)
TARGET_LINK_LIBRARIES
(
hiredis_static PUBLIC ws2_32 crypt32
)
TARGET_LINK_LIBRARIES
(
hiredis_static PUBLIC ws2_32 crypt32
)
...
...
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