diff options
author | Brad King <brad.king@kitware.com> | 2015-01-13 10:45:04 -0500 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-01-15 11:37:17 -0500 |
commit | 1fc556536e0c0475d401e8b5747b46e9f7c32287 (patch) | |
tree | e75032b9fcf4d3792a0293bec94717fa5f3c60c7 /Utilities/cmjsoncpp/CMakeLists.txt | |
parent | 84d5674d4e0cfe30f28db2893ad00937deece57c (diff) | |
download | cmake-1fc556536e0c0475d401e8b5747b46e9f7c32287.tar.gz |
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/cmjsoncpp/CMakeLists.txt')
-rw-r--r-- | Utilities/cmjsoncpp/CMakeLists.txt | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Utilities/cmjsoncpp/CMakeLists.txt b/Utilities/cmjsoncpp/CMakeLists.txt new file mode 100644 index 0000000000..0ff8820f4b --- /dev/null +++ b/Utilities/cmjsoncpp/CMakeLists.txt @@ -0,0 +1,17 @@ +project(JsonCpp CXX) + +set(JSONCPP_SOURCES + src/lib_json/json_batchallocator.h + src/lib_json/json_reader.cpp + src/lib_json/json_tool.h + src/lib_json/json_value.cpp + src/lib_json/json_valueiterator.inl + src/lib_json/json_writer.cpp + ) + +include_directories( + ${JsonCpp_SOURCE_DIR}/include + ${KWSYS_HEADER_ROOT} + ) + +add_library(cmjsoncpp ${JSONCPP_SOURCES}) |