summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorDenys Fedoryshchenko <denys.f@collabora.com>2026-10-28 20:47:22 +0200
committerDenys Fedoryshchenko <denys.f@collabora.com>2026-10-28 20:47:22 +0200
commit9f82e189708f6941a0baf3e41d87768e7869e000 (patch)
treea6e3f70989504730d38823b03ce86678ccf53717 /README.md
parent9a2828397c05bf4514ddd199897788701477d0d0 (diff)
downloadaccel-ppp-9f82e189708f6941a0baf3e41d87768e7869e000.tar.gz
accel-ppp-9f82e189708f6941a0baf3e41d87768e7869e000.zip
docs: clarify CMake requirements for build and test commands
Keep the CMake 3.10 project minimum while documenting the newer CLI requirements. Add a build-directory/install-target alternative for older CMake and state the CTest requirement in the test guide. Validation: shell examples pass bash -n; local documentation links resolve. Signed-off-by: Denys Fedoryshchenko <denys.f@collabora.com>
Diffstat (limited to 'README.md')
-rw-r--r--README.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/README.md b/README.md
index af678b9e..bac35421 100644
--- a/README.md
+++ b/README.md
@@ -57,12 +57,26 @@ Building and installing
Use an out-of-tree build directory:
+The commands below require CMake 3.15 or newer: -S/-B were added in 3.13,
+and --install was added in 3.15. The project itself still supports CMake 3.10.
+
cmake -S . -B build \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr/local
cmake --build build
sudo cmake --install build
+For CMake 3.10 through 3.14, use the build-directory form and the generated
+install target instead:
+
+ mkdir -p build
+ cd build
+ cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/local ..
+ cmake --build .
+ sudo cmake --build . --target install
+
+Run the remaining examples from the repository root.
+
Useful build options:
* BUILD_IPOE_DRIVER=TRUE builds the IPoE kernel module.