Skip to content

Rework Project Setup (CMake + vcpkg) - #30

Open
JonasGilg wants to merge 9 commits into
mainfrom
feature/vcpkg
Open

Rework Project Setup (CMake + vcpkg)#30
JonasGilg wants to merge 9 commits into
mainfrom
feature/vcpkg

Conversation

@JonasGilg

Copy link
Copy Markdown
Member

This PR does a lot regarding the project setup:

  1. Reworked all CMake.
  • Removed VistaCMakeCommon
  • Added explicit target exports for importing Vista
  1. Add CMakePresets.json for easy building
  2. Add vcpkg
  • Added vcpkg as a submodule under tools/vcpkg
  • vcpkg is now beeing used in the presets to fetch dependencies and build them
  • Added overlay-port for OpenSG in `tools/vcpkg-overlays/ports
  1. Added sample port in folder port for usage in other projects (see: https://github.com/cosmoscout/cosmoscout-vr/tree/feature/vcpkg)

Building Vista is now as simple as:

git submodule update --init
cmake --workflow windows-ninja-release

Notes on the Device Drivers:

  • I tested all VistaDeviceDrivers (except the PhantomDeviceDriver, for which I couldn't find an sdk) on Windows.
  • I tested none of the VistaDeviceDrivers with dependencies on Linux.
  • In the future we could provide ports for the driver dependencies, which are not available in the package registry.
  • I removed drivers which were not part of the build or were deprecated.

@JonasGilg
JonasGilg requested a review from jdfritsch August 14, 2026 15:00
@JonasGilg JonasGilg self-assigned this Aug 14, 2026
@JonasGilg JonasGilg added the enhancement New feature or request label Aug 14, 2026
# Conflicts:
#	VistaCMakeCommon/FindV3dcsdk.cmake
#	VistaDemo/15VtkDemo/CMakeLists.txt
#	VistaDemo/16PhantomDemo/CMakeLists.txt
#	VistaDemo/VRMLVisualizer/CMakeLists.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant