summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorskal <pascal.massimino@gmail.com>2026-03-03 08:38:23 +0100
committerskal <pascal.massimino@gmail.com>2026-03-03 08:38:23 +0100
commitc229f3c6b5756d5cbbdad6049b4250ebea7aae7a (patch)
treecfa9be5161996d97e8d104d4a24b157a5b350783 /cmake
parent11486d634c865aca944f9691e3bdb2be83adc79a (diff)
fix(build): add spectool to DEMO_BUILD_TOOLS cmake target
spectool was missing from DemoTools.cmake; scripts/gen_spectrograms.sh could not find build/spectool. Document the regeneration workflow in HOWTO.md. handoff(Claude): spectool now builds with -DDEMO_BUILD_TOOLS=ON
Diffstat (limited to 'cmake')
-rw-r--r--cmake/DemoTools.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/cmake/DemoTools.cmake b/cmake/DemoTools.cmake
index ae39ec9..e83a384 100644
--- a/cmake/DemoTools.cmake
+++ b/cmake/DemoTools.cmake
@@ -28,6 +28,13 @@ else()
set(TRACKER_COMPILER_DEPENDS tracker_compiler)
endif()
+# Spectool - audio spectrogram analyzer
+if(DEMO_BUILD_TOOLS)
+ add_executable(spectool tools/spectool.cc ${PLATFORM_SOURCES})
+ target_link_libraries(spectool PRIVATE audio util procedural ${DEMO_LIBS})
+ target_include_directories(spectool PRIVATE third_party)
+endif()
+
# Always build a host-native tracker_compiler for code generation purposes
add_executable(tracker_compiler_host tools/tracker_compiler.cc)
set_target_properties(tracker_compiler_host PROPERTIES