summaryrefslogtreecommitdiffstats
path: root/Source/cmVariableWatchCommand.h
Commit message (Expand)AuthorAgeFilesLines
* cmCommand refactor: cmVariableWatchCommandGabor Bencze2019-08-201-23/+3
* cmVariableWatchCommand: Port away from FinalPassDaniel Pfeifer2019-07-181-14/+0
* modernize: manage cmCommand instances using unique_ptr.Marc Chevrier2019-07-141-1/+6
* Use C++11 override instead of CM_OVERRIDEBrad King2017-09-151-4/+4
* IWYU: Mark cmConfigure.h with pragma: keepDaniel Pfeifer2017-08-261-1/+1
* cmCommand: remove unused methods from interface and all implementationsDaniel Pfeifer2017-05-111-5/+0
* cmCommand: remove IsScriptableDaniel Pfeifer2017-05-081-5/+0
* Use quotes for non-system includesDaniel Pfeifer2017-04-111-1/+1
* cmConfigure: Ensure separate include block in headersDaniel Pfeifer2017-04-111-0/+1
* Remove cmObject.h and cmTypeMacro.hDaniel Pfeifer2016-10-241-1/+0
* Merge topic 'remove-cmobject-uses'Brad King2016-10-241-2/+0
|\
| * Make cmCommand not inherit from cmObjectDaniel Pfeifer2016-10-221-2/+0
* | Separate compilation for commands included in cmCommandsDaniel Pfeifer2016-10-211-0/+8
|/
* Simplify CMake per-source license noticesBrad King2016-09-271-11/+2
* mark functions with CM_OVERRIDEDaniel Pfeifer2016-06-271-7/+7
* Revise C++ coding style using clang-formatKitware Robot2016-05-161-9/+3
* stringapi: Command namesBen Boeckel2014-03-081-1/+1
* Drop builtin command documentationBrad King2013-10-161-21/+0
* variable_watch: Don't share memory for callbacksBen Boeckel2013-08-081-13/+4
* Remove trailing whitespace from most CMake and C/C++ codeKitware Robot2012-08-131-3/+3
* Add 'const' qualifier to some cmCommand membersYury G. Kudryashov2012-02-291-4/+4
* Convert CMake to OSI-approved BSD LicenseBrad King2009-09-281-14/+9
* BUG: Keep variable_watch() commands in memoryBrad King2009-07-241-0/+4
* ENH: add return and break support to cmake, also change basic command invocat...Ken Martin2008-01-231-1/+2
* STYLE: Spelling fixes on documentationAmitha Perera2008-01-101-1/+1
* ENH: make commands lower case by defaultKen Martin2007-10-101-2/+2
* ENH: Add variable watch commandAndy Cedilnik2007-04-111-0/+98
ass="hl opt">.begin(), this->List.end(), value) == this->List.end()) { this->List.push_back(value); } } static void Indent(int level, std::ostream& out); void Print(std::ostream& out); virtual void PrintComment(std::ostream&) {}; static void PrintList(std::vector<cmXCodeObject*> const&, std::ostream& out); const char* GetId() { return this->Id.c_str(); } cmTarget* GetTarget() { return this->Target; } void SetTarget(cmTarget* t) { this->Target = t; } const char* GetComment() {return this->Comment.c_str();} bool HasComment() { return (this->Comment.size() != 0);} cmXCodeObject* GetObject(const char* name) { if(this->ObjectAttributes.count(name)) { return this->ObjectAttributes[name]; } return 0; } // serach the attribute list for an object of the specified type cmXCodeObject* GetObject(cmXCodeObject::PBXType t) { for(std::vector<cmXCodeObject*>::iterator i = this->List.begin(); i != this->List.end(); ++i) { cmXCodeObject* o = *i; if(o->IsA == t) { return o; } } return 0; } cmXCodeObject* GetPBXTargetDependency() { return this->PBXTargetDependencyValue; } void SetPBXTargetDependency(cmXCodeObject* d) { this->PBXTargetDependencyValue = d; } void CopyAttributes(cmXCodeObject* ); void AddDependLibrary(const char* configName, const char* l) { if(!configName) { configName = ""; } this->DependLibraries[configName].push_back(l); } std::map<cmStdString, StringVec> const& GetDependLibraries() { return this->DependLibraries; } std::vector<cmXCodeObject*> const& GetObjectList() { return this->List;} void SetComment(const char* c) { this->Comment = c;} protected: void PrintString(std::ostream& os) const; cmTarget* Target; Type TypeValue; cmStdString Id; PBXType IsA; int Version; cmStdString Comment; cmStdString String; cmXCodeObject* Object; cmXCodeObject* PBXTargetDependencyValue; std::vector<cmXCodeObject*> List; std::map<cmStdString, StringVec> DependLibraries; std::map<cmStdString, cmXCodeObject*> ObjectAttributes; }; #endif