summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.h
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2011-02-03 02:17:23 (GMT)
committerDavid Cole <david.cole@kitware.com>2011-02-03 02:19:01 (GMT)
commit106958c047c9af783b0216916c8e0d8c52595ff6 (patch)
treebf0cf3c08822dda3fe0cdf360128f971e89d3e4f /Source/cmMakefile.h
parent94d1684a8fd0de4310874cd582636a8e26402da2 (diff)
downloadCMake-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.h5
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