diff options
| author | Peter Drahoš <drahosp@gmail.com> | 2010-12-10 13:29:31 +0100 |
|---|---|---|
| committer | Vicent Marti <tanoku@gmail.com> | 2010-12-12 00:20:43 +0200 |
| commit | bfe0658ec6ecf67ab53b789f54743113f80ef2ff (patch) | |
| tree | 931e7fc0f28bd1cc5df4c83b875d2da03a6ee610 /README.md | |
| parent | 032db4d01526e9d8421feca7d520a90d6b0ea991 (diff) | |
| download | libgit2-bfe0658ec6ecf67ab53b789f54743113f80ef2ff.tar.gz | |
Update install info and test resource path handling
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -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 ================================== |
