annotate ext/json11/CMakeLists.txt @ 185:3eb00e5c76c4

Pull step & block size out into framing struct, return in config Update the C++ code to separate out the framing parameters (step and block size) from the configuration structure into their own structure, as in the latest schema, and to return the accepted framing params in the configuration response. This also implies that the plugin stub (which adapts Piper API back to Vamp) makes a note of the returned values, making them available via its own getPreferredStep/BlockSize so that the host can retry the initialise call in the case where it failed for having the wrong values first time.
author Chris Cannam <cannam@all-day-breakfast.com>
date Fri, 03 Feb 2017 16:23:21 +0000
parents bf8e3e7dd7de
children d607ae858682
rev   line source
cannam@150 1 project(json11)
cannam@150 2
cannam@150 3 cmake_minimum_required(VERSION 2.8)
cannam@150 4
cannam@150 5 enable_testing()
cannam@150 6
cannam@150 7 add_definitions(
cannam@150 8 -std=c++11
cannam@150 9 -fno-rtti
cannam@150 10 -fno-exceptions
cannam@150 11 -Wall
cannam@150 12 -Wextra
cannam@150 13 -Werror)
cannam@150 14
cannam@150 15 set(json11_SRCS json11.cpp)
cannam@150 16
cannam@150 17 add_library(json11 STATIC ${json11_SRCS})
cannam@150 18
cannam@150 19 add_test(json11_test json11_test)
cannam@150 20
cannam@150 21 add_executable(json11_test ${json11_SRCS} test.cpp)