Repository navigation
examples(nav_demos): reconcile headless demos into cvcGL examples (+ cvcgl-examples package), plan state/ layout refactor - #574
Merged
Conversation
… tree nav_material_demo, nav_swarm_demo and nav_train_demo were orphaned in a top-level examples/ tree, built only by the dead CVC_BUILD_NAV_EXAMPLE option in src/cvc/CMakeLists.txt. They now live in src/cvcGL/examples/ alongside the GL examples: - registered in src/cvcGL/examples/CMakeLists.txt (native-only block, CUDA define for nav_train_demo) and added to the install list under if(NOT EMSCRIPTEN) - removed the CVC_BUILD_NAV_EXAMPLE block from src/cvc/CMakeLists.txt - updated build-instruction comments in the demos, NAV_DEMOS.md, docs/NAV_MATERIAL.md and docs/NAV_TRAINING.md Verified: all three demos + nav_abi_smoke build and run headless. No ABI impact (no public headers moved).
…adne
Plans moving all state-related code out of core/ into {src,inc}/cvc/state/,
mirroring the ariadne directory layout (explicit CMake source lists, no
globs): full file inventory (48 .cpp / 57 headers), CMake list edits,
the ~246-file mechanical include rename (ariadne, cvcGL, cvc-cli,
SWIG/pycvc), install-path analysis, an optional 1-release
forwarding-header shim, and phased PRs with risks. Plan only — no code
moves in this PR.
nav_swarm_demo / nav_train_demo / nav_material_demo now build in the cvcgl-examples component (native-only, if(NOT EMSCRIPTEN)), so declare them in package.files with platforms: [linux, windows] scoping — the wasm column never builds them, and bare strings would fail the strict-glob declaration check when packing the wasm-mt bundle. Bumped cvc_revision 18 -> 19. Verified: simulated cvcpkg builder.check_declared_files() against a full native install tree (cmake --install --component cvcgl-examples): linux/windows/wasm-mt all pass with no unmatched entries, and the three CLI entries are correctly skipped for wasm-mt.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Three related pieces:
Examples reconciliation — the three headless navigation demos
(
nav_material_demo,nav_swarm_demo,nav_train_demo) were orphaned in atop-level
examples/tree that only the deadCVC_BUILD_NAV_EXAMPLEoption insrc/cvc/CMakeLists.txtcould build. They now live insrc/cvcGL/examples/alongside the GL examples:
src/cvcGL/examples/CMakeLists.txt(native-only block, CUDAdefine for
nav_train_demo) and added to the install list underif(NOT EMSCRIPTEN)CVC_BUILD_NAV_EXAMPLEblock removed fromsrc/cvc/CMakeLists.txtNAV_DEMOS.md,docs/NAV_MATERIAL.mdanddocs/NAV_TRAINING.mdcvcgl-examples recipe — the three CLIs now ship in the native
cvcgl-examplespackage:cvcpkg/recipes/cvcgl-examples/recipe.yamldeclaresthem in
package.fileswithplatforms: [linux, windows]scoping (they arenative-only targets — the wasm column has no CLIs in the gallery, and bare
strings would fail cvcpkg's strict-glob declaration check when packing the
wasm-mt bundle) and bumps
cvc_revision18 → 19.State/ layout refactor plan —
docs/roadmap/STATE_DIR_LAYOUT_REFACTOR.mdplans moving all state-related code out of
core/into{src,inc}/cvc/state/,mirroring the ariadne directory layout (explicit CMake source lists, no
globs): full file inventory (48
.cpp/ 57 headers), CMake list edits, the~246-file mechanical include rename (ariadne, cvcGL, cvc-cli, SWIG/pycvc),
install-path analysis, an optional 1-release forwarding-header shim, and
phased PRs with risks. Plan only — no code moves in this PR.
Verification
nav_abi_smokebuild and run headless (Release, native-onlyflags); full examples component builds and
cmake --install --component cvcgl-examplesstages all 13 bins.builder.check_declared_files()(strict-glob declaration check) against a full native install tree:
linux,windowsandwasm-mtall pass with no unmatched entries, and thethree CLI entries are correctly skipped for wasm-mt.
documentation-only.
Notes
(browser gallery is for rendered scenes, not CLIs).