diff options
author | Brad King <brad.king@kitware.com> | 2012-08-06 10:07:58 -0400 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-08-08 13:26:27 -0400 |
commit | 0546484e4b7856c417f30a5b8ff6af6a5a080f0d (patch) | |
tree | 3ef8308e1115129bf5777a65a0525b0e81ff58e4 /Source/cmCPluginAPI.cxx | |
parent | 28685ade7a8f60e8519b6bf8a824e6a01365c181 (diff) | |
download | cmake-0546484e4b7856c417f30a5b8ff6af6a5a080f0d.tar.gz |
cmListFileArgument: Generalize 'Quoted' bool to 'Delimeter' enum
Replace the boolean value that indicates whether an argument is unquoted
or quoted with a generalized enumeration of possible argument types.
For now "Quoted" and "Unquoted" remain the only types.
Diffstat (limited to 'Source/cmCPluginAPI.cxx')
-rw-r--r-- | Source/cmCPluginAPI.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmCPluginAPI.cxx b/Source/cmCPluginAPI.cxx index 48ae50e42f..cb62f21e69 100644 --- a/Source/cmCPluginAPI.cxx +++ b/Source/cmCPluginAPI.cxx @@ -422,8 +422,9 @@ int CCONV cmExecuteCommand(void *arg, const char *name, for(int i = 0; i < numArgs; ++i) { // Assume all arguments are quoted. - lff.Arguments.push_back(cmListFileArgument(args[i], true, - "[CMake-Plugin]", 0)); + lff.Arguments.push_back( + cmListFileArgument(args[i], cmListFileArgument::Quoted, + "[CMake-Plugin]", 0)); } cmExecutionStatus status; return mf->ExecuteCommand(lff,status); |