README: settings file, --config, the new tab. ARCHITECTURE.md and CLAUDE.md: prepare() hook, app command-line options, app code layout, WebEngine notes, the moc raw-string pitfall. THIRD_PARTY_NOTICES: Qt WebEngine. Ship config.example.json; the package README explains the set-up. PROGRESS.md and DESIGN.md: phase 3 results and deviations. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
27 lines
1.3 KiB
CMake
27 lines
1.3 KiB
CMake
# Runtime data for SteamVR. Staged into <build>/share/<project>/ (mirroring the install
|
|
# layout) so the binary can be run and registered straight from the build tree.
|
|
|
|
set(_share ${CMAKE_BINARY_DIR}/${VRDASH_SHARE_SUBDIR})
|
|
|
|
# Paths inside the manifest are relative to the manifest file itself. SteamVR reads the
|
|
# program path from a per-platform key and silently skips entries without one for its
|
|
# platform: binary_path_linux on x86-64, binary_path_linux_arm on aarch64 (Steam Frame).
|
|
if(CMAKE_SYSTEM_PROCESSOR MATCHES "^(aarch64|arm64|ARM64)$")
|
|
set(VRDASH_MANIFEST_BINARY_KEY binary_path_linux_arm)
|
|
else()
|
|
set(VRDASH_MANIFEST_BINARY_KEY binary_path_linux)
|
|
endif()
|
|
configure_file(manifest.vrmanifest.in ${_share}/manifest.vrmanifest @ONLY)
|
|
|
|
set(_input_files input/actions.json input/bindings_frame_controller.json)
|
|
foreach(_file ${_input_files})
|
|
configure_file(${_file} ${_share}/${_file} COPYONLY)
|
|
endforeach()
|
|
|
|
install(FILES ${_share}/manifest.vrmanifest DESTINATION ${VRDASH_SHARE_SUBDIR})
|
|
install(FILES ${_input_files} DESTINATION ${VRDASH_SHARE_SUBDIR}/input)
|
|
|
|
# Example settings file (copy to ~/.config/frameassistant/config.json and edit).
|
|
configure_file(config.example.json ${_share}/config.example.json COPYONLY)
|
|
install(FILES config.example.json DESTINATION ${VRDASH_SHARE_SUBDIR})
|