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
f0890fcc
Commit
f0890fcc
authored
Jun 17, 2011
by
Vicent Marti
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmake: Build shared library by default
parent
e01f7f64
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
CMakeLists.txt
+1
-1
README.md
+1
-1
No files found.
CMakeLists.txt
View file @
f0890fcc
...
...
@@ -30,7 +30,7 @@ SET(INSTALL_LIB lib CACHE PATH "Where to install libraries to.")
SET
(
INSTALL_INC include CACHE PATH
"Where to install headers to."
)
# Build options
OPTION
(
BUILD_SHARED_LIBS
"Build Shared Library (OFF for Static)"
O
FF
)
OPTION
(
BUILD_SHARED_LIBS
"Build Shared Library (OFF for Static)"
O
N
)
OPTION
(
BUILD_TESTS
"Build Tests"
ON
)
OPTION
(
THREADSAFE
"Build libgit2 as threadsafe"
OFF
)
...
...
README.md
View file @
f0890fcc
...
...
@@ -62,7 +62,7 @@ The following CMake variables are declared:
-
`INSTALL_BIN`
: Where to install binaries to.
-
`INSTALL_LIB`
: Where to install libraries to.
-
`INSTALL_INC`
: Where to install headers to.
-
`BUILD_SHARED_LIBS`
: Build libgit2 as a Shared Library (defaults to O
FF
)
-
`BUILD_SHARED_LIBS`
: Build libgit2 as a Shared Library (defaults to O
N
)
-
`BUILD_TESTS`
: Build the libgit2 test suite (defaults to ON)
-
`THREADSAFE`
: Build libgit2 with threading support (defaults to OFF)
...
...
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