forked from MRPT/mrpt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add schema serialization helper macros * const correctness; add schema ser to more classes * Import CSchemaArchive from mrpt-web. From: https://github.com/MRPT/mrpt-web by @rachit173 for GSoC2018. * Add jsoncpp as optional dep * add json serialization unit test * jsoncpp: fix use of static lib if only one present * better JSON archive integration * real JSON unit test for serializing * attempt at deserializing unit test * Ended API for read/write scheme archives to streams * Add example * Impl sch serializa for matrices; add serialization docs * doxygen TOC in doc pages
- Loading branch information
Showing
43 changed files
with
1,269 additions
and
652 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
|
||
SET(CMAKE_MRPT_HAS_JSONCPP 0) | ||
SET(CMAKE_MRPT_HAS_JSONCPP_SYSTEM 0) | ||
|
||
OPTION(DISABLE_JSONCPP "Forces NOT using JSONCPP, even if it could be found by CMake" "OFF") | ||
MARK_AS_ADVANCED(DISABLE_JSONCPP) | ||
|
||
IF(NOT DISABLE_JSONCPP) | ||
find_package(jsoncpp QUIET) | ||
if(jsoncpp_FOUND) | ||
# cmake imported target: "jsoncpp_lib" | ||
SET(CMAKE_MRPT_HAS_JSONCPP 1) | ||
SET(CMAKE_MRPT_HAS_JSONCPP_SYSTEM 1) | ||
endif() | ||
ENDIF() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.