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
116a19d4
Commit
116a19d4
authored
Oct 27, 2014
by
Edward Thomson
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2666 from libgit2/cmn/threadsafe-on
Flip THREADSAFE's default to ON
parents
177a29d8
79b0ae4e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
2 deletions
+5
-2
CHANGELOG.md
+3
-0
CMakeLists.txt
+1
-1
README.md
+1
-1
No files found.
CHANGELOG.md
View file @
116a19d4
...
...
@@ -104,3 +104,6 @@ v0.21 + 1
*
Introduce git_note_author() and git_note_committer() to get the author
and committer information on a git_note, respectively.
*
The THREADSAFE option to build libgit2 with threading support has
been flipped to be on by default.
CMakeLists.txt
View file @
116a19d4
...
...
@@ -24,7 +24,7 @@ INCLUDE(AddCFlagIfSupported)
#
OPTION
(
SONAME
"Set the (SO)VERSION of the target"
ON
)
OPTION
(
BUILD_SHARED_LIBS
"Build Shared Library (OFF for Static)"
ON
)
OPTION
(
THREADSAFE
"Build libgit2 as threadsafe"
O
FF
)
OPTION
(
THREADSAFE
"Build libgit2 as threadsafe"
O
N
)
OPTION
(
BUILD_CLAR
"Build Tests using the Clar suite"
ON
)
OPTION
(
BUILD_EXAMPLES
"Build library usage example apps"
OFF
)
OPTION
(
TAGS
"Generate tags"
OFF
)
...
...
README.md
View file @
116a19d4
...
...
@@ -90,7 +90,7 @@ The following CMake variables are declared:
-
`INCLUDE_INSTALL_DIR`
: Where to install headers to.
-
`BUILD_SHARED_LIBS`
: Build libgit2 as a Shared Library (defaults to ON)
-
`BUILD_CLAR`
: Build
[
Clar
](
https://github.com/vmg/clar
)
-based test suite (defaults to ON)
-
`THREADSAFE`
: Build libgit2 with threading support (defaults to O
FF
)
-
`THREADSAFE`
: Build libgit2 with threading support (defaults to O
N
)
-
`STDCALL`
: Build libgit2 as
`stdcall`
. Turn off for
`cdecl`
(Windows; defaults to ON)
Compiler and linker options
...
...
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