1 /*=========================================================================
3 Program: CMake - Cross-Platform Makefile Generator
4 Module: $RCSfile: cmProperty.h,v $
7 Date: $Date: 2008/01/17 23:13:55 $
8 Version: $Revision: 1.3 $
10 Date: $Date: 2009-03-10 15:10:42 $
11 Version: $Revision: 1.4 $
14 Copyright (c) 2002 Kitware, Inc., Insight Consortium. All rights reserved.
15 See Copyright.txt or http://www.cmake.org/HTML/Copyright.html for details.
17 This software is distributed WITHOUT ANY WARRANTY; without even
18 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
19 PURPOSE. See the above copyright notices for more information.
21 =========================================================================*/
25 #include "cmStandardIncludes.h"
30 enum ScopeType
{ TARGET
, SOURCE_FILE
, DIRECTORY
, GLOBAL
, CACHE
,
31 TEST
, VARIABLE
, CACHED_VARIABLE
};
34 void Set(const char *name
, const char *value
);
36 // append to this property
37 void Append(const char *name
, const char *value
);
40 const char *GetValue() const;
42 // construct with the value not set
43 cmProperty() { this->ValueHasBeenSet
= false; };