diff options
author | Stephen Kelly <steveire@gmail.com> | 2013-09-17 16:54:34 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2013-10-08 16:11:22 (GMT) |
commit | 509c142a3f5ae4c1aa8dfcb4257c63a9e1edc270 (patch) | |
tree | a40f496e40a0d6175e5b6c553ab5c3c004a4bba8 /Source/cmake.h | |
parent | 40c84683aafc9447a0e17d81a71d061efde84bdb (diff) | |
download | CMake-509c142a3f5ae4c1aa8dfcb4257c63a9e1edc270.zip CMake-509c142a3f5ae4c1aa8dfcb4257c63a9e1edc270.tar.gz CMake-509c142a3f5ae4c1aa8dfcb4257c63a9e1edc270.tar.bz2 |
message: Add a DEPRECATION mode
By default, the message is not issued. If CMAKE_ERROR_DEPRECATED
is on, the message is fatal. If CMAKE_WARN_DEPRECATED is on, the
message is a warning.
Diffstat (limited to 'Source/cmake.h')
-rw-r--r-- | Source/cmake.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmake.h b/Source/cmake.h index ccf91e3..d33ba34 100644 --- a/Source/cmake.h +++ b/Source/cmake.h @@ -65,7 +65,9 @@ class cmake INTERNAL_ERROR, MESSAGE, WARNING, - LOG + LOG, + DEPRECATION_ERROR, + DEPRECATION_WARNING }; |