summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md15
-rw-r--r--README.txt13
2 files changed, 28 insertions, 0 deletions
diff --git a/README.md b/README.md
index 33e0d80..2f536a1 100644
--- a/README.md
+++ b/README.md
@@ -90,6 +90,21 @@ make install
This will install Astra into your current Python environment.
+#### As a C++ library
+
+Requirements: g++, boost, CUDA (5.5 or higher)
+
+```
+cd build/linux
+./autogen.sh # when building a git version
+./configure --with-cuda=/usr/local/cuda
+make
+make install-dev
+```
+
+This will install the Astra library and C++ headers.
+
+
### macOS, from source
Use the Homebrew package manager to install boost, libtool, autoconf, automake.
diff --git a/README.txt b/README.txt
index f335f78..7434812 100644
--- a/README.txt
+++ b/README.txt
@@ -111,6 +111,19 @@ make install
This will install Astra into your current Python environment.
+As a C++ library:
+
+Requirements: g++, boost, CUDA (5.5 or higher)
+
+cd build/linux
+./autogen.sh # when building a git version
+./configure --with-cuda=/usr/local/cuda
+make
+make install-dev
+
+This will install the Astra library and C++ headers.
+
+
macOS, from source:
--------------------