Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Kraken Engine - vcpkg Registry

This is the official vcpkg custom registry for the Kraken Engine.

By adding this registry to your project, you can easily install and link Kraken Engine (and all of its C++ dependencies) using standard package management.

Quick Start

1. Configure the Registry

Create a file named vcpkg-configuration.json at the root of your project (next to your vcpkg.json). Copy and paste the following:

{
  "default-registry": {
    "kind": "builtin",
    "baseline": "0b88aacde46a853151730fbe7d0b7ee45f4b6864"
  },
  "registries": [
    {
      "kind": "git",
      "repository": "https://github.com/Kraken-Engine/vcpkg-registry",
      "baseline": "INSERT_COMMIT_HASH_HERE",
      "packages": [ "kraken-engine" ]
    }
  ]
}

Note: Replace INSERT_COMMIT_HASH_HERE with the latest commit hash from the main branch of this repository. The default-registry baseline ensures all standard C++ dependencies (like SDL3) are locked to a specific version. You can update this hash to match your local vcpkg installation. Already have a configuration file? If your project already uses a vcpkg-configuration.json (for artifacts or other registries), simply add the Kraken-Engine object to your existing "registries" array.

2. Add the Dependency

Add kraken-engine to your project's vcpkg.json manifest file:

{
  "dependencies": [
    "kraken-engine"
  ]
}

3. Install and Link

Run your standard install command:

vcpkg install

Then, configure your project's CMakeLists.txt to find and link the engine. Kraken Engine requires C++20:

cmake_minimum_required(VERSION 3.15)
project(MyGame LANGUAGES CXX)

# Kraken Engine requires C++20
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

# Find the installed package
find_package(KrakenEngine CONFIG REQUIRED)

add_executable(MyGame main.cpp)
target_link_libraries(MyGame PRIVATE Kraken::KrakenEngine)

About

Vcpkg registry for the Kraken Engine

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Packages

Contributors

Languages