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
5a6e45cc
Commit
5a6e45cc
authored
Jun 12, 2013
by
Vicent Marti
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "cmake: Update Windows resources to reflect the optional vendor string"
This reverts commit
095bfd74
.
parent
6de9b2ee
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
12 deletions
+5
-12
CMakeLists.txt
+0
-11
src/win32/git2.rc
+5
-1
No files found.
CMakeLists.txt
View file @
5a6e45cc
...
@@ -330,19 +330,8 @@ IF (SONAME)
...
@@ -330,19 +330,8 @@ IF (SONAME)
SET_TARGET_PROPERTIES
(
git2 PROPERTIES OUTPUT_NAME
"git2-
${
SONAME_APPEND
}
"
)
SET_TARGET_PROPERTIES
(
git2 PROPERTIES OUTPUT_NAME
"git2-
${
SONAME_APPEND
}
"
)
ENDIF
()
ENDIF
()
ENDIF
()
ENDIF
()
CONFIGURE_FILE
(
${
CMAKE_CURRENT_SOURCE_DIR
}
/libgit2.pc.in
${
CMAKE_CURRENT_BINARY_DIR
}
/libgit2.pc @ONLY
)
CONFIGURE_FILE
(
${
CMAKE_CURRENT_SOURCE_DIR
}
/libgit2.pc.in
${
CMAKE_CURRENT_BINARY_DIR
}
/libgit2.pc @ONLY
)
IF
(
NOT BUILD_SHARED_LIBS
)
SET
(
LIBGIT2_NAME_PREFIX
"lib"
)
ENDIF
()
IF
(
SONAME_APPEND
)
SET
(
LIBGIT2_NAME_SUFFIX
"-
${
SONAME_APPEND
}
"
)
ENDIF
()
CONFIGURE_FILE
(
${
CMAKE_CURRENT_SOURCE_DIR
}
/src/win32/git2.rc.cmake
${
WIN_RC
}
@ONLY
)
IF
(
MSVC_IDE
)
IF
(
MSVC_IDE
)
# Precompiled headers
# Precompiled headers
SET_TARGET_PROPERTIES
(
git2 PROPERTIES COMPILE_FLAGS
"/Yuprecompiled.h /FIprecompiled.h"
)
SET_TARGET_PROPERTIES
(
git2 PROPERTIES COMPILE_FLAGS
"/Yuprecompiled.h /FIprecompiled.h"
)
...
...
src/win32/git2.rc
.cmake
→
src/win32/git2.rc
View file @
5a6e45cc
#include <winver.h>
#include <winver.h>
#include "../../include/git2/version.h"
#include "../../include/git2/version.h"
#define LIBGIT2_FILENAME "@LIBGIT2_NAME_PREFIX@git2@LIBGIT2_NAME_SUFFIX@.dll"
#ifndef INCLUDE_LIB
#define LIBGIT2_FILENAME "git2.dll"
#else
#define LIBGIT2_FILENAME "libgit2.dll"
#endif
VS_VERSION_INFO VERSIONINFO MOVEABLE IMPURE LOADONCALL DISCARDABLE
VS_VERSION_INFO VERSIONINFO MOVEABLE IMPURE LOADONCALL DISCARDABLE
FILEVERSION LIBGIT2_VER_MAJOR,LIBGIT2_VER_MINOR,LIBGIT2_VER_REVISION,0
FILEVERSION LIBGIT2_VER_MAJOR,LIBGIT2_VER_MINOR,LIBGIT2_VER_REVISION,0
...
...
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