diff options
author | Brad King <brad.king@kitware.com> | 2015-01-20 14:28:59 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-01-20 14:28:59 (GMT) |
commit | bda4f0b661018b32aefdb14887d8137e7a4fd118 (patch) | |
tree | ab3212f98249a9ae392d786e438be83c90ca93bb | |
parent | a02fbec5f3eabf7847583a7f45c092ef6c066546 (diff) | |
download | CMake-bda4f0b661018b32aefdb14887d8137e7a4fd118.zip CMake-bda4f0b661018b32aefdb14887d8137e7a4fd118.tar.gz CMake-bda4f0b661018b32aefdb14887d8137e7a4fd118.tar.bz2 |
jsoncpp: Add headers to help CMake include in-source jsoncpp headers
Add cm_jsoncpp_value.h and cm_jsoncpp_writer.h headers to include the
CMake-provided copy of the json/value.h and json/writer.h headers from
CMake sources.
-rw-r--r-- | Utilities/cm_jsoncpp_value.h | 18 | ||||
-rw-r--r-- | Utilities/cm_jsoncpp_writer.h | 18 |
2 files changed, 36 insertions, 0 deletions
diff --git a/Utilities/cm_jsoncpp_value.h b/Utilities/cm_jsoncpp_value.h new file mode 100644 index 0000000..15e1088 --- /dev/null +++ b/Utilities/cm_jsoncpp_value.h @@ -0,0 +1,18 @@ +/*============================================================================ + CMake - Cross Platform Makefile Generator + Copyright 2000-2015 Kitware, Inc., Insight Software Consortium + + Distributed under the OSI-approved BSD License (the "License"); + see accompanying file Copyright.txt for details. + + This software is distributed WITHOUT ANY WARRANTY; without even the + implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + See the License for more information. +============================================================================*/ +#ifndef cm_jsoncpp_value_h +#define cm_jsoncpp_value_h + +/* Use the jsoncpp library configured for CMake. */ +#include <cmjsoncpp/include/json/value.h> + +#endif diff --git a/Utilities/cm_jsoncpp_writer.h b/Utilities/cm_jsoncpp_writer.h new file mode 100644 index 0000000..c410369 --- /dev/null +++ b/Utilities/cm_jsoncpp_writer.h @@ -0,0 +1,18 @@ +/*============================================================================ + CMake - Cross Platform Makefile Generator + Copyright 2000-2015 Kitware, Inc., Insight Software Consortium + + Distributed under the OSI-approved BSD License (the "License"); + see accompanying file Copyright.txt for details. + + This software is distributed WITHOUT ANY WARRANTY; without even the + implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + See the License for more information. +============================================================================*/ +#ifndef cm_jsoncpp_writer_h +#define cm_jsoncpp_writer_h + +/* Use the jsoncpp library configured for CMake. */ +#include <cmjsoncpp/include/json/writer.h> + +#endif |