Skip to content

Switch from vcpkg manifest mode to classic mode#323

Open
gpx1000 wants to merge 6 commits intoKhronosGroup:mainfrom
gpx1000:vcpkg-install-via-classic-mode
Open

Switch from vcpkg manifest mode to classic mode#323
gpx1000 wants to merge 6 commits intoKhronosGroup:mainfrom
gpx1000:vcpkg-install-via-classic-mode

Conversation

@gpx1000
Copy link
Contributor

@gpx1000 gpx1000 commented Mar 2, 2026

and disable manifest mode by default on Windows

Remove vcpkg.json manifest file and update installation scripts to use classic mode with explicit package list. Add CMake configuration to disable manifest mode by default on Windows to ensure compatibility with all vcpkg installations, including standalone packages and Visual Studio which may not have git or baseline support.

…mode by default on Windows

Remove vcpkg.json manifest file and update installation scripts to use classic mode with explicit package list. Add CMake configuration to disable manifest mode by default on Windows to ensure compatibility with all vcpkg installations, including standalone packages and Visual Studio which may not have git or baseline support.
@gpx1000 gpx1000 linked an issue Mar 2, 2026 that may be closed by this pull request
gpx1000 added 5 commits March 2, 2026 10:53
…-platform compatibility

Move FindPackageHandleStandardArgs call after FetchContent fallback to ensure KTX_FOUND is properly set when fetching from GitHub. Remove premature error messages and debug output, and restructure target creation to work correctly with both system-installed and fetched KTX libraries.
…x classic mode installation

Change package name to "simple-engine" and add platform specifiers to all dependencies. Update install script to use temporary manifest root directory for proper vcpkg classic mode operation, preventing manifest mode conflicts.
Add openal-soft to vcpkg.json dependencies. Update Windows install script to use temporary manifest root directory to prevent manifest mode conflicts when running vcpkg in classic mode.
…Make module path

Try to find packages using CONFIG mode first (e.g., from vcpkg) before falling back to pkg-config or manual search. Create alias targets when needed to ensure compatibility. Change CMAKE_MODULE_PATH from APPEND to PREPEND to prioritize custom find modules. Downgrade KTX version to v4.3.1 for stability. Remove trailing whitespace.
…ule path handling

Add platform specifiers to all vcpkg dependencies and enable vulkan feature for ktx. Move CMAKE_MODULE_PATH configuration before project() call to ensure custom find modules are prioritized. Update all Find modules to use _find_package when available for better vcpkg integration. Add vcpkg CONFIG mode support to Findstb.cmake. Remove trailing whitespace.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

No proper compile instructions

1 participant