diff options
author | Brad King <brad.king@kitware.com> | 2008-06-26 17:30:10 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2008-06-26 17:30:10 (GMT) |
commit | b9b11903ab8f4c498e4cd1f8ba2529f61afce594 (patch) | |
tree | 4e0a24a9dc4b2e8d164711a6ce2f6ca89575e17b /Source/cmMakefile.h | |
parent | c59603f48eff37eb6c9060cb35451a92d248260c (diff) | |
download | CMake-b9b11903ab8f4c498e4cd1f8ba2529f61afce594.zip CMake-b9b11903ab8f4c498e4cd1f8ba2529f61afce594.tar.gz CMake-b9b11903ab8f4c498e4cd1f8ba2529f61afce594.tar.bz2 |
BUG: Fix computed directory property DEFINITIONS.
- The property tracks the value formed by add_definitions
and remove_definitions command invocations.
- The string should be maintained for use in returning for the
DEFINITIONS property value.
- It is no longer used for any other purpose.
- The DEFINITIONS property was recently documented as deprecated.
- See bug #7239.
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r-- | Source/cmMakefile.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h index 4f54f71..780b2fe 100644 --- a/Source/cmMakefile.h +++ b/Source/cmMakefile.h @@ -829,6 +829,11 @@ protected: std::vector<std::string> HeaderFileExtensions; std::string DefineFlags; + // Track the value of the computed DEFINITIONS property. + void AddDefineFlag(const char*, std::string&); + void RemoveDefineFlag(const char*, std::string::size_type, std::string&); + std::string DefineFlagsOrig; + #if defined(CMAKE_BUILD_WITH_CMAKE) std::vector<cmSourceGroup> SourceGroups; #endif |