diff options
author | Stephan Szabo <stephan.szabo@sony.com> | 2018-11-20 18:09:57 (GMT) |
---|---|---|
committer | Stephan Szabo <stephan.szabo@sony.com> | 2018-11-28 15:43:25 (GMT) |
commit | 8279302110ee6eb09a16e33b3bf8f8ad4ee13b73 (patch) | |
tree | 8d99ec1e7fac777833a6a4421e12728fe2a15586 /Source/cmIDEFlagTable.h | |
parent | 139b39985f26d4517072d49715c3dfd50a0d7001 (diff) | |
download | CMake-8279302110ee6eb09a16e33b3bf8f8ad4ee13b73.zip CMake-8279302110ee6eb09a16e33b3bf8f8ad4ee13b73.tar.gz CMake-8279302110ee6eb09a16e33b3bf8f8ad4ee13b73.tar.bz2 |
Convert cmIDEFlagTable to use owned strings
Convert from char* to std::string in flag tables.
Change termination condition from nullptr to empty string in command flag.
Update tables to store empty strings.
Diffstat (limited to 'Source/cmIDEFlagTable.h')
-rw-r--r-- | Source/cmIDEFlagTable.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/Source/cmIDEFlagTable.h b/Source/cmIDEFlagTable.h index 152e293..28d5d53 100644 --- a/Source/cmIDEFlagTable.h +++ b/Source/cmIDEFlagTable.h @@ -3,13 +3,15 @@ #ifndef cmIDEFlagTable_h #define cmIDEFlagTable_h +#include <string> + // This is a table mapping XML tag IDE names to command line options struct cmIDEFlagTable { - const char* IDEName; // name used in the IDE xml file - const char* commandFlag; // command line flag - const char* comment; // comment - const char* value; // string value + std::string IDEName; // name used in the IDE xml file + std::string commandFlag; // command line flag + std::string comment; // comment + std::string value; // string value unsigned int special; // flags for special handling requests enum { |