diff options
author | David Cole <david.cole@kitware.com> | 2011-02-02 23:18:14 (GMT) |
---|---|---|
committer | David Cole <david.cole@kitware.com> | 2011-02-02 23:18:14 (GMT) |
commit | 94d1684a8fd0de4310874cd582636a8e26402da2 (patch) | |
tree | 1c0d1dbdb4f8aedc046d6c6329002ce87f679ea7 /Source/cmMakefile.h | |
parent | 4f1e1fe7821da7d5af17d18f031f72daa05c89e1 (diff) | |
download | CMake-94d1684a8fd0de4310874cd582636a8e26402da2.zip CMake-94d1684a8fd0de4310874cd582636a8e26402da2.tar.gz CMake-94d1684a8fd0de4310874cd582636a8e26402da2.tar.bz2 |
Add CMAKE_SCRIPT_MODE_FILE variable (#2828)
New CMake variable is set when processing a -P script file,
but not when configuring a project.
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r-- | Source/cmMakefile.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h index 837a352..ebe2801 100644 --- a/Source/cmMakefile.h +++ b/Source/cmMakefile.h @@ -411,7 +411,12 @@ public: return this->HomeOutputDirectory.c_str(); } //@} - + + /** + * Set CMAKE_SCRIPT_MODE_FILE variable when running a -P script. + */ + void SetScriptModeFile(const char* scriptfile); + //@{ /** * Set/Get the start directory (or output directory). The start directory |