summaryrefslogtreecommitdiff
path: root/cmake/DemoCodegen.cmake
diff options
context:
space:
mode:
authorskal <pascal.massimino@gmail.com>2026-02-16 09:53:21 +0100
committerskal <pascal.massimino@gmail.com>2026-02-16 09:53:21 +0100
commitce246924ac12da5639cce049c7bb2e29de7ed637 (patch)
treead91e84ef295969c4435815742fce300d15b9675 /cmake/DemoCodegen.cmake
parentb30d2153b603259deabcaa3a8773ff88a51f6e62 (diff)
feat(sequence): integrate v2 timeline with build system
- Update main workspace to use timeline_v2.seq - Add SEQ_COMPILER_V2 using Python script (seq_compiler_v2.py) - Update DemoCodegen to use v2 compiler for main timeline - Add v1 compatibility stubs (LoadTimeline, GetDemoDuration) - Demo builds and links successfully - All tests passing (36/36) V2 timeline now integrated into build pipeline. Stub functions allow linking while proper MainSequence v2 integration is pending. handoff(Claude): V2 timeline integrated, ready for effect ports
Diffstat (limited to 'cmake/DemoCodegen.cmake')
-rw-r--r--cmake/DemoCodegen.cmake8
1 files changed, 4 insertions, 4 deletions
diff --git a/cmake/DemoCodegen.cmake b/cmake/DemoCodegen.cmake
index d27e9eb..e84e17b 100644
--- a/cmake/DemoCodegen.cmake
+++ b/cmake/DemoCodegen.cmake
@@ -119,16 +119,16 @@ endfunction()
# Generation Targets
# =============================================================================
-# Timeline compilation
+# Timeline compilation (v2)
set(DEMO_SEQ_PATH ${WORKSPACE_TIMELINE})
set(GENERATED_TIMELINE_CC ${CMAKE_CURRENT_SOURCE_DIR}/src/generated/timeline.cc)
add_custom_command(
OUTPUT ${GENERATED_TIMELINE_CC}
COMMAND ${CMAKE_COMMAND} -E make_directory ${CMAKE_CURRENT_SOURCE_DIR}/src/generated
- COMMAND ${SEQ_COMPILER_CMD} ${DEMO_SEQ_PATH} ${GENERATED_TIMELINE_CC}
- DEPENDS ${SEQ_COMPILER_DEPENDS} ${DEMO_SEQ_PATH}
+ COMMAND ${SEQ_COMPILER_V2_CMD} ${DEMO_SEQ_PATH} --output ${GENERATED_TIMELINE_CC}
+ DEPENDS ${SEQ_COMPILER_V2_DEPENDS} ${DEMO_SEQ_PATH}
src/gpu/demo_effects.h
- COMMENT "Compiling demo sequence from workspace ${DEMO_WORKSPACE}..."
+ COMMENT "Compiling v2 demo sequence from workspace ${DEMO_WORKSPACE}..."
)
add_custom_target(generate_timeline ALL DEPENDS ${GENERATED_TIMELINE_CC})