diff options
Diffstat (limited to 'Utilities/cm3p/json')
-rw-r--r-- | Utilities/cm3p/json/reader.h | 11 | ||||
-rw-r--r-- | Utilities/cm3p/json/value.h | 11 | ||||
-rw-r--r-- | Utilities/cm3p/json/writer.h | 11 |
3 files changed, 33 insertions, 0 deletions
diff --git a/Utilities/cm3p/json/reader.h b/Utilities/cm3p/json/reader.h new file mode 100644 index 0000000..9fa8d2d --- /dev/null +++ b/Utilities/cm3p/json/reader.h @@ -0,0 +1,11 @@ +/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying + file Copyright.txt or https://cmake.org/licensing for details. */ +#pragma once + +/* 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 diff --git a/Utilities/cm3p/json/value.h b/Utilities/cm3p/json/value.h new file mode 100644 index 0000000..fc3b5f4 --- /dev/null +++ b/Utilities/cm3p/json/value.h @@ -0,0 +1,11 @@ +/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying + file Copyright.txt or https://cmake.org/licensing for details. */ +#pragma once + +/* 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 diff --git a/Utilities/cm3p/json/writer.h b/Utilities/cm3p/json/writer.h new file mode 100644 index 0000000..7ee1e43 --- /dev/null +++ b/Utilities/cm3p/json/writer.h @@ -0,0 +1,11 @@ +/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying + file Copyright.txt or https://cmake.org/licensing for details. */ +#pragma once + +/* 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 |