Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
nghttp2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
nghttp2
Commits
9cd695a1
Commit
9cd695a1
authored
Oct 27, 2016
by
Remo E
Committed by
Tatsuhiro Tsujikawa
Oct 28, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MSVC version resource support
parent
4b45906f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
53 additions
and
2 deletions
+53
-2
lib/CMakeLists.txt
lib/CMakeLists.txt
+12
-1
lib/Makefile.am
lib/Makefile.am
+1
-1
lib/version.rc.in
lib/version.rc.in
+40
-0
No files found.
lib/CMakeLists.txt
View file @
9cd695a1
...
...
@@ -26,8 +26,19 @@ set(NGHTTP2_SOURCES
nghttp2_debug.c
)
set
(
NGHTTP2_RES
""
)
if
(
WIN32
)
configure_file
(
version.rc.in
${
CMAKE_CURRENT_BINARY_DIR
}
/version.rc
@ONLY
)
set
(
NGHTTP2_RES
${
CMAKE_CURRENT_BINARY_DIR
}
/version.rc
)
endif
()
# Public shared library
add_library
(
nghttp2 SHARED
${
NGHTTP2_SOURCES
}
)
add_library
(
nghttp2 SHARED
${
NGHTTP2_SOURCES
}
${
NGHTTP2_RES
}
)
set_target_properties
(
nghttp2 PROPERTIES
COMPILE_FLAGS
"
${
WARNCFLAGS
}
"
VERSION
${
LT_VERSION
}
SOVERSION
${
LT_SOVERSION
}
...
...
lib/Makefile.am
View file @
9cd695a1
...
...
@@ -22,7 +22,7 @@
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
SUBDIRS
=
includes
EXTRA_DIST
=
Makefile.msvc CMakeLists.txt
EXTRA_DIST
=
Makefile.msvc CMakeLists.txt
version.rc.in
AM_CFLAGS
=
$(WARNCFLAGS)
$(EXTRACFLAG)
AM_CPPFLAGS
=
-I
$(srcdir)
/includes
-I
$(builddir)
/includes
-DBUILDING_NGHTTP2
\
...
...
lib/version.rc.in
0 → 100644
View file @
9cd695a1
#include <winver.h>
VS_VERSION_INFO VERSIONINFO
FILEVERSION @PROJECT_VERSION_MAJOR@, @PROJECT_VERSION_MINOR@, @PROJECT_VERSION_PATCH@, 0
PRODUCTVERSION @PROJECT_VERSION_MAJOR@, @PROJECT_VERSION_MINOR@, @PROJECT_VERSION_PATCH@, 0
FILEFLAGSMASK 0x3fL
FILEOS 0x40004L
FILETYPE 0x2L
FILESUBTYPE 0x0L
#ifdef _DEBUG
#define VER_STR "@PROJECT_VERSION@.0 (MSVC debug)"
#define DBG "d"
FILEFLAGS 0x1L
#else
#define VER_STR "@PROJECT_VERSION@.0 (MSVC release)"
#define DBG ""
FILEFLAGS 0x0L
#endif
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904b0"
BEGIN
VALUE "CompanyName", "https://nghttp2.org/"
VALUE "FileDescription", "nghttp2; HTTP/2 C library"
VALUE "FileVersion", VER_STR
VALUE "InternalName", "nghttp2" DBG
VALUE "LegalCopyright", "The MIT License"
VALUE "LegalTrademarks", ""
VALUE "OriginalFilename", "nghttp2" DBG ".dll"
VALUE "ProductName", "NGHTTP2."
VALUE "ProductVersion", VER_STR
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1200
END
END
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