aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/project/build.py
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-07-04 00:24:37 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2023-07-04 00:24:37 +0200
commit0e35c671fecaad258bb8720867653389da642039 (patch)
treedcf6031fb606bc60503fc6202ae93514ccbbf21f /project/build.py
parentcommon.cmake: refactoring (diff)
downloadcmake-common-0e35c671fecaad258bb8720867653389da642039.tar.gz
cmake-common-0e35c671fecaad258bb8720867653389da642039.zip
README & --help message updates
Diffstat (limited to 'project/build.py')
-rw-r--r--project/build.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/project/build.py b/project/build.py
index ff366c3..f718bea 100644
--- a/project/build.py
+++ b/project/build.py
@@ -5,12 +5,13 @@
R'''Build a CMake project.
-This script is used basically to invoke the CMake executable in a
-cross-platform way (provided the platform has Python 3, of course). The
-motivation was to merge my Travis and AppVeyor build scripts (largely similar,
-but written in bash and PowerShell, respectively).
+This script works nicely with boost-build from this package - it will use the
+correct --stagedir directory automatically.
-A simple usage example:
+Also, it facilitates building with different toolsets/for different platforms
+with the help from the --toolset and --platform parameters.
+
+Usage example:
$ project-build --configuration Release --install path/to/somewhere -- examples/simple build/
...