Commit 47efe8be authored by Robert Manzke's avatar Robert Manzke

restructuring folders

parent ff7c5129
include(cmake/bin2h.cmake)
include(cmake/JSONParser.cmake)
file(GLOB SOUND_PROCESSORS ctagSoundProcessor*.cpp)
foreach(VAR ${SOUND_PROCESSORS})
get_filename_component(MYFILE_WITHOUT_EXT ${VAR} NAME_WLE)
set(MYFILE_JSON ${CMAKE_CURRENT_SOURCE_DIR}/json/${MYFILE_WITHOUT_EXT}.json)
if(NOT EXISTS ${MYFILE_JSON})
message(FATAL_ERROR "JSON sound processor descriptor does not exist:${MYFILE_JSON}")
endif()
bin2h(SOURCE_FILE json/${MYFILE_WITHOUT_EXT}.json
HEADER_FILE ../gen_include/${MYFILE_WITHOUT_EXT}_JSN.h
VARIABLE_NAME ${MYFILE_WITHOUT_EXT}_JSN
NULL_TERMINATE
)
endforeach()
file(GLOB SRCS
*.cpp
*.hpp
)
add_subdirectory(json)
add_library(ctag ${SRCS})
\ No newline at end of file
{
"id": "monomult",
"isStereo": false,
"params": [
{
"id": "enable",
"name": "Enable",
"type": "bool",
"current": true,
"trig": -1
},
{
"id": "factor",
"name": "Factor",
"type": "int",
"min": 0,
"max": 4095,
"step": 1,
"current": 4095,
"cv": -1
}
]
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment