diff options
Diffstat (limited to 'Utilities/cm3p/json')
-rw-r--r-- | Utilities/cm3p/json/reader.h | 14 | ||||
-rw-r--r-- | Utilities/cm3p/json/value.h | 14 | ||||
-rw-r--r-- | Utilities/cm3p/json/writer.h | 14 |
3 files changed, 42 insertions, 0 deletions
diff --git a/Utilities/cm3p/json/reader.h b/Utilities/cm3p/json/reader.h new file mode 100644 index 0000000..0df09ee --- /dev/null +++ b/Utilities/cm3p/json/reader.h @@ -0,0 +1,14 @@ +/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying + file Copyright.txt or https://cmake.org/licensing for details. */ +#ifndef cm3p_json_reader_h +#define cm3p_json_reader_h + +/* Use the jsoncpp library configured for CMake. */ +#include "cmThirdParty.h" +#ifdef CMAKE_USE_SYSTEM_JSONCPP +# include <json/reader.h> // IWYU pragma: export +#else +# include <cmjsoncpp/include/json/reader.h> // IWYU pragma: export +#endif + +#endif diff --git a/Utilities/cm3p/json/value.h b/Utilities/cm3p/json/value.h new file mode 100644 index 0000000..f59bed6 --- /dev/null +++ b/Utilities/cm3p/json/value.h @@ -0,0 +1,14 @@ +/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying + file Copyright.txt or https://cmake.org/licensing for details. */ +#ifndef cm3p_json_value_h +#define cm3p_json_value_h + +/* Use the jsoncpp library configured for CMake. */ +#include "cmThirdParty.h" +#ifdef CMAKE_USE_SYSTEM_JSONCPP +# include <json/value.h> // IWYU pragma: export +#else +# include <cmjsoncpp/include/json/value.h> // IWYU pragma: export +#endif + +#endif diff --git a/Utilities/cm3p/json/writer.h b/Utilities/cm3p/json/writer.h new file mode 100644 index 0000000..7fcc3e2 --- /dev/null +++ b/Utilities/cm3p/json/writer.h @@ -0,0 +1,14 @@ +/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying + file Copyright.txt or https://cmake.org/licensing for details. */ +#ifndef cm3p_json_writer_h +#define cm3p_json_writer_h + +/* Use the jsoncpp library configured for CMake. */ +#include "cmThirdParty.h" +#ifdef CMAKE_USE_SYSTEM_JSONCPP +# include <json/writer.h> // IWYU pragma: export +#else +# include <cmjsoncpp/include/json/writer.h> // IWYU pragma: export +#endif + +#endif |