summaryrefslogtreecommitdiffstats
path: root/Utilities/cm_jsoncpp_reader.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-01-13 15:45:04 (GMT)
committerBrad King <brad.king@kitware.com>2015-01-15 16:37:17 (GMT)
commit1fc556536e0c0475d401e8b5747b46e9f7c32287 (patch)
treee75032b9fcf4d3792a0293bec94717fa5f3c60c7 /Utilities/cm_jsoncpp_reader.h
parent84d5674d4e0cfe30f28db2893ad00937deece57c (diff)
downloadCMake-1fc556536e0c0475d401e8b5747b46e9f7c32287.zip
CMake-1fc556536e0c0475d401e8b5747b46e9f7c32287.tar.gz
CMake-1fc556536e0c0475d401e8b5747b46e9f7c32287.tar.bz2
jsoncpp: Build the library within CMake
Update json/json.h to account for our lack of autolink.h. Update json/config.h to include KWSys Large File Support configuration so that consistent stream libraries are used (on AIX with XL). Add a cm_jsoncpp_reader.h header to include the CMake-provided copy of the json/reader.h header from CMake sources.
Diffstat (limited to 'Utilities/cm_jsoncpp_reader.h')
-rw-r--r--Utilities/cm_jsoncpp_reader.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/Utilities/cm_jsoncpp_reader.h b/Utilities/cm_jsoncpp_reader.h
new file mode 100644
index 0000000..d7cb50e
--- /dev/null
+++ b/Utilities/cm_jsoncpp_reader.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_reader_h
+#define cm_jsoncpp_reader_h
+
+/* Use the jsoncpp library configured for CMake. */
+#include <cmjsoncpp/include/json/reader.h>
+
+#endif