Skip to content

Commit 9629e4a

Browse files
committed
fakenect: add json parser api
This adds a minimal JSON parser api called Parson which we intend to use for recording and loading Kinect registration parameters so that fakenect will be able to support mapping DEPTH_11BIT data to DEPTH_MM. The upstream for Parson is: https://github.com/kgabis/parson Signed-off-by: Robert Bragg <robert@impossible.com>
1 parent 73fac7c commit 9629e4a

File tree

3 files changed

+2234
-2
lines changed

3 files changed

+2234
-2
lines changed

fakenect/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
######################################################################################
44
SET(EXECUTABLE_OUTPUT_PATH ${CMAKE_BINARY_DIR}/bin)
55
SET(LIBRARY_OUTPUT_PATH ${CMAKE_BINARY_DIR}/lib/fakenect)
6-
add_library (fakenect SHARED fakenect.c)
6+
add_library (fakenect SHARED fakenect.c parson.c)
77
set_target_properties ( fakenect PROPERTIES
88
VERSION ${PROJECT_VER}
99
SOVERSION ${PROJECT_APIVER}
@@ -13,7 +13,7 @@ target_link_libraries(fakenect ${MATH_LIB})
1313
install (TARGETS fakenect
1414
DESTINATION "${PROJECT_LIBRARY_INSTALL_DIR}/fakenect")
1515

16-
add_executable(fakenect-record record.c)
16+
add_executable(fakenect-record record.c parson.c)
1717
target_link_libraries(fakenect-record freenect ${MATH_LIB})
1818
install (TARGETS fakenect-record
1919
DESTINATION bin)

0 commit comments

Comments
 (0)