diff options
author | Brad King <brad.king@kitware.com> | 2014-01-21 19:14:49 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-01-21 19:14:49 (GMT) |
commit | 82d431750389e521f021772d5d01337b6dc8c0de (patch) | |
tree | 575c58211273c0524bb63c1aab253363fefb08eb /Help | |
parent | 1ef444d67819afc43444b7b501543eeca284b177 (diff) | |
download | CMake-82d431750389e521f021772d5d01337b6dc8c0de.zip CMake-82d431750389e521f021772d5d01337b6dc8c0de.tar.gz CMake-82d431750389e521f021772d5d01337b6dc8c0de.tar.bz2 |
Allow projects to specify extra inputs to CMake
Define a new 'CMAKE_CONFIGURE_DEPENDS' directory property that projects
can use to specify input files to the CMake configuration process.
Extend the RunCMake.Configure test to verify that the build system
re-runs CMake when this input changes.
Diffstat (limited to 'Help')
-rw-r--r-- | Help/manual/cmake-properties.7.rst | 1 | ||||
-rw-r--r-- | Help/prop_dir/CMAKE_CONFIGURE_DEPENDS.rst | 9 |
2 files changed, 10 insertions, 0 deletions
diff --git a/Help/manual/cmake-properties.7.rst b/Help/manual/cmake-properties.7.rst index c0ec0fe..d315fcb 100644 --- a/Help/manual/cmake-properties.7.rst +++ b/Help/manual/cmake-properties.7.rst @@ -48,6 +48,7 @@ Properties on Directories /prop_dir/ADDITIONAL_MAKE_CLEAN_FILES /prop_dir/CACHE_VARIABLES /prop_dir/CLEAN_NO_CUSTOM + /prop_dir/CMAKE_CONFIGURE_DEPENDS /prop_dir/COMPILE_DEFINITIONS_CONFIG /prop_dir/COMPILE_DEFINITIONS /prop_dir/COMPILE_OPTIONS diff --git a/Help/prop_dir/CMAKE_CONFIGURE_DEPENDS.rst b/Help/prop_dir/CMAKE_CONFIGURE_DEPENDS.rst new file mode 100644 index 0000000..b1aef19 --- /dev/null +++ b/Help/prop_dir/CMAKE_CONFIGURE_DEPENDS.rst @@ -0,0 +1,9 @@ +CMAKE_CONFIGURE_DEPENDS +----------------------- + +Tell CMake about additional input files to the configuration process. +If any named file is modified the build system will re-run CMake to +re-configure the file and generate the build system again. + +Specify files as a semicolon-separated list of paths. Relative paths +are interpreted as relative to the current source directory. |