summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorPeter Drahoš <drahosp@gmail.com>2010-12-10 13:29:31 +0100
committerVicent Marti <tanoku@gmail.com>2010-12-12 00:20:43 +0200
commitbfe0658ec6ecf67ab53b789f54743113f80ef2ff (patch)
tree931e7fc0f28bd1cc5df4c83b875d2da03a6ee610 /README.md
parent032db4d01526e9d8421feca7d520a90d6b0ea991 (diff)
downloadlibgit2-bfe0658ec6ecf67ab53b789f54743113f80ef2ff.tar.gz
Update install info and test resource path handling
Diffstat (limited to 'README.md')
-rw-r--r--README.md11
1 files changed, 9 insertions, 2 deletions
diff --git a/README.md b/README.md
index 820e92833..11f0ef464 100644
--- a/README.md
+++ b/README.md
@@ -50,14 +50,21 @@ Optional dependency:
* LibSSL <http://www.openssl.org/>
-On most Unix systems you can build the library using the following commands
+On most systems you can build the library using the following commands
$ mkdir build && cd build
$ cmake ..
- $ make install
+ $ cmake --build .
Alternatively you can point the CMake GUI tool to the CMakeLists.txt file and generate platform specific build project or IDE workspace.
+To install the library you can specify the install prefix by setting:
+
+ $ cmake .. -DCMAKE_INSTALL_PREFIX=/install/prefix
+ $ cmake --build . --target install
+
+For more advanced use or questions about CMake please read <http://www.cmake.org/Wiki/CMake_FAQ>.
+
Building libgit2 - Unix systems
==================================