summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2018-12-18 03:43:35 +0000
committerEgor Yusov <egor.yusov@gmail.com>2018-12-18 03:43:35 +0000
commitf246daab0be180582c4401f00f4191fe3de0afa3 (patch)
treebe7b530bd4ffd7e4483f41058431c2eaef1cbb67
parentUpdated core (added install rules for third-party libraries) (diff)
downloadDiligentEngine-f246daab0be180582c4401f00f4191fe3de0afa3.tar.gz
DiligentEngine-f246daab0be180582c4401f00f4191fe3de0afa3.zip
Added note about installation to readme
-rw-r--r--README.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/README.md b/README.md
index a086e1a..f203a35 100644
--- a/README.md
+++ b/README.md
@@ -263,6 +263,14 @@ Please also take a look at getting started tutorials for
[Linux](https://github.com/DiligentGraphics/DiligentSamples/tree/master/Tutorials/Tutorial00_HelloLinux).
If your project does not use CMake, it is recommended to build libraries with cmake and add them to your build system.
+To install libraries and header files, run the following CMake command from the build folder:
+
+```cmake
+cmake --build . --target install
+```
+
+To change installation folder, set `DILIGENT_CORE_INSTALL_DIR` cmake variable.
+
Alternatively you can generate build files (such as Visual Studio projects) and add them to your project.
Build customization described below can help tweak the settings for your specific needs.