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