Curve / kiero-cmake

A CMake-Port for kiero

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

kiero-cmake

A CMake compatible version of kiero, no manual header manipulation required!


⚙️ Configuration

Backend-Type

set(kiero_backend "<backend-type>")

where backend-type is one of D3D9,D3D10,D3D11,D3D12,OpenGL,Vulkan.

MinHook

set(kiero_minhook ON)

If this option is set to ON an already existing minhook package will be searched, in case none is found MinHook will be made available through FetchContent

📎 Installation

  • FetchContent
    include(FetchContent)
    FetchContent_Declare(kiero GIT_REPOSITORY "https://github.com/Curve/kiero-cmake")
    
    FetchContent_MakeAvailable(kiero)
    target_link_libraries(<YourLibrary> kiero)
  • Git Submodule
    git submodule add "https://github.com/Curve/kiero-cmake"
    git submodule update --init --recursive
    # Somewhere in your CMakeLists.txt
    add_subdirectory("<path_to_kiero>")
    target_link_libraries(<YourLibrary> kiero)

📓 Original Readme

The original project and readme can be found here.

About

A CMake-Port for kiero

License:MIT License


Languages

Language:CMake 100.0%