feat(sointu-cli): Merge the asmfmt and sointuplayer to generic command line utility for processing song files.

Currently supports: playing, exporting .asm (reformatting), exporting .h, exporting .raw (raw float32 buffer), exporting .json.
This commit is contained in:
Veikko Sariola
2020-12-05 00:01:24 +02:00
parent 726e79809d
commit d19d513ea8
4 changed files with 181 additions and 228 deletions

View File

@ -5,7 +5,7 @@ function(regression_test testname)
add_custom_command(
PRE_BUILD
OUTPUT ${headerfile}
COMMAND go run ${PROJECT_SOURCE_DIR}/go4k/cmd/asmfmt/main.go -c -d -w -o ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/${source}
COMMAND go run ${PROJECT_SOURCE_DIR}/go4k/cmd/sointu-cli/main.go -c -w -d ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/${source}
DEPENDS ${source}
)
add_executable(${testname} ${source} test_renderer.c ${headerfile})