12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- #ifndef cmProperty_h
- #define cmProperty_h
- #include "cmConfigure.h"
- #include <string>
- class cmProperty
- {
- public:
- enum ScopeType
- {
- TARGET,
- SOURCE_FILE,
- DIRECTORY,
- GLOBAL,
- CACHE,
- TEST,
- VARIABLE,
- CACHED_VARIABLE,
- INSTALL
- };
-
- void Set(const char* value);
-
- void Append(const char* value, bool asString = false);
-
- const char* GetValue() const;
-
- cmProperty() { this->ValueHasBeenSet = false; }
- protected:
- std::string Value;
- bool ValueHasBeenSet;
- };
- #endif
|