diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2001-05-30 19:28:55 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2001-05-30 19:28:55 (GMT) |
commit | 4179c991f4bf3aefc1d96617e5f4e03646dcf56e (patch) | |
tree | 17edf2e2e3c400d6c01ca76d53c8f42c75be9f08 /Source/cmake.h | |
parent | dbf65f216fd08ce12df51bae17d0382473ce1d7b (diff) | |
download | CMake-4179c991f4bf3aefc1d96617e5f4e03646dcf56e.zip CMake-4179c991f4bf3aefc1d96617e5f4e03646dcf56e.tar.gz CMake-4179c991f4bf3aefc1d96617e5f4e03646dcf56e.tar.bz2 |
ENH: change MFC gui to use cmake class
Diffstat (limited to 'Source/cmake.h')
-rw-r--r-- | Source/cmake.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/Source/cmake.h b/Source/cmake.h index fc65d3d..ac7a80d 100644 --- a/Source/cmake.h +++ b/Source/cmake.h @@ -55,20 +55,24 @@ class cmake /** * Generate the SourceFilesList from the SourceLists. This should only be - * done once to be safe. + * done once to be safe. The argument is a list of command line + * arguments. The first argument should be the name or full path + * to the command line version of cmake. For building a GUI, + * you would pass in the following arguments: + * /path/to/cmake -H/path/to/source -B/path/to/build */ - int Generate(int ac, char **av); + int Generate(const std::vector<std::string>&); /** * Generate the SourceFilesList from the SourceLists. This should only be * done once to be safe. */ - void SetArgs(cmMakefile& builder, int ac, char** av); + void SetArgs(cmMakefile& builder, const std::vector<std::string>&); /** * Generate CMAKE_ROOT and CMAKE_COMMAND cache entries */ - void AddCMakePaths(char **av); + void AddCMakePaths(const std::vector<std::string>&); /** * constructor |