diff options
author | David Cole <david.cole@kitware.com> | 2011-02-03 02:17:23 (GMT) |
---|---|---|
committer | David Cole <david.cole@kitware.com> | 2011-02-03 02:19:01 (GMT) |
commit | 106958c047c9af783b0216916c8e0d8c52595ff6 (patch) | |
tree | bf0cf3c08822dda3fe0cdf360128f971e89d3e4f /Source/cmMakefile.h | |
parent | 94d1684a8fd0de4310874cd582636a8e26402da2 (diff) | |
download | CMake-106958c047c9af783b0216916c8e0d8c52595ff6.zip CMake-106958c047c9af783b0216916c8e0d8c52595ff6.tar.gz CMake-106958c047c9af783b0216916c8e0d8c52595ff6.tar.bz2 |
Add CMAKE_ARGC and CMAKE_ARGV0..N-1 variables (#2828)
For now, these variables are only available in -P script mode.
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r-- | Source/cmMakefile.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h index ebe2801..1c1aef3 100644 --- a/Source/cmMakefile.h +++ b/Source/cmMakefile.h @@ -417,6 +417,11 @@ public: */ void SetScriptModeFile(const char* scriptfile); + /** + * Set CMAKE_ARGC, CMAKE_ARGV0 ... variables. + */ + void SetArgcArgv(const std::vector<std::string>& args); + //@{ /** * Set/Get the start directory (or output directory). The start directory |