Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
547517d7
Commit
547517d7
authored
Mar 16, 2015
by
Tony Kelman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use a different .def file for 64 bit
parent
d612e48e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
37 additions
and
2 deletions
+37
-2
CMakeLists.txt
+8
-2
deps/winhttp/winhttp64.def
+29
-0
No files found.
CMakeLists.txt
View file @
547517d7
...
...
@@ -166,10 +166,16 @@ IF (WIN32 AND WINHTTP)
SET
(
LIBWINHTTP_PATH
"
${
CMAKE_CURRENT_BINARY_DIR
}
/deps/winhttp"
)
FILE
(
MAKE_DIRECTORY
${
LIBWINHTTP_PATH
}
)
IF
(
"
${
CMAKE_SIZEOF_VOID_P
}
"
EQUAL
"8"
)
set
(
WINHTTP_DEF
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/deps/winhttp/winhttp64.def"
)
ELSE
()
set
(
WINHTTP_DEF
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/deps/winhttp/winhttp.def"
)
ENDIF
()
ADD_CUSTOM_COMMAND
(
OUTPUT
${
LIBWINHTTP_PATH
}
/libwinhttp.a
COMMAND
${
DLLTOOL
}
-d
${
CMAKE_CURRENT_SOURCE_DIR
}
/deps/winhttp/winhttp.def
-k -D winhttp.dll -l libwinhttp.a
DEPENDS
${
CMAKE_CURRENT_SOURCE_DIR
}
/deps/winhttp/winhttp.def
COMMAND
${
DLLTOOL
}
-d
${
WINHTTP_DEF
}
-k -D winhttp.dll -l libwinhttp.a
DEPENDS
${
WINHTTP_DEF
}
WORKING_DIRECTORY
${
LIBWINHTTP_PATH
}
)
...
...
deps/winhttp/winhttp64.def
0 → 100644
View file @
547517d7
LIBRARY WINHTTP
EXPORTS
WinHttpAddRequestHeaders
WinHttpCheckPlatform
WinHttpCloseHandle
WinHttpConnect
WinHttpCrackUrl
WinHttpCreateUrl
WinHttpDetectAutoProxyConfigUrl
WinHttpGetDefaultProxyConfiguration
WinHttpGetIEProxyConfigForCurrentUser
WinHttpGetProxyForUrl
WinHttpOpen
WinHttpOpenRequest
WinHttpQueryAuthSchemes
WinHttpQueryDataAvailable
WinHttpQueryHeaders
WinHttpQueryOption
WinHttpReadData
WinHttpReceiveResponse
WinHttpSendRequest
WinHttpSetCredentials
WinHttpSetDefaultProxyConfiguration
WinHttpSetOption
WinHttpSetStatusCallback
WinHttpSetTimeouts
WinHttpTimeFromSystemTime
WinHttpTimeToSystemTime
WinHttpWriteData
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