diff options
author | Robert Maynard <robert.maynard@kitware.com> | 2018-09-06 14:13:39 (GMT) |
---|---|---|
committer | Robert Maynard <robert.maynard@kitware.com> | 2018-09-15 15:25:47 (GMT) |
commit | a10d63d5783275f9972aaa86d41071a1ddca7921 (patch) | |
tree | f1791bda0cccaaec3cd53e19e3e82cf68b44e197 /Source/cmake.h | |
parent | 6d2a2fe66027b6eeb2817a8e667894ad2e233d03 (diff) | |
download | CMake-a10d63d5783275f9972aaa86d41071a1ddca7921.zip CMake-a10d63d5783275f9972aaa86d41071a1ddca7921.tar.gz CMake-a10d63d5783275f9972aaa86d41071a1ddca7921.tar.bz2 |
cmake: -S and -B can be used to specify source and build directories
Document the previously internal option of '-B' and provide a
matching source directory option with '-S'. Both '-B', and '-S'
can be used independently of each other.
Diffstat (limited to 'Source/cmake.h')
-rw-r--r-- | Source/cmake.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmake.h b/Source/cmake.h index 4b4c67c..f7dc3f7 100644 --- a/Source/cmake.h +++ b/Source/cmake.h @@ -556,7 +556,9 @@ private: }; #define CMAKE_STANDARD_OPTIONS_TABLE \ - { "-C <initial-cache>", "Pre-load a script to populate the cache." }, \ + { "-S <path-to-source>", "Explicitly specify a source directory." }, \ + { "-B <path-to-build>", "Explicitly specify a build directory." }, \ + { "-C <initial-cache>", "Pre-load a script to populate the cache." }, \ { "-D <var>[:<type>]=<value>", "Create or update a cmake cache entry." }, \ { "-U <globbing_expr>", "Remove matching entries from CMake cache." }, \ { "-G <generator-name>", "Specify a build system generator." }, \ |