mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-21 21:40:32 -04:00
172d06f38d
* template setup * get most colors working * add lantern, midna, and heart colors * fix PaneCache naming conflict * add UI colors * fix pane cache again * override colors for items on other models * recolor heart piece models * cleanup * add support for ordon sword recoloring * recolor epona's eyelids * move option descriptions * fix mod.json * constexpr descriptions * gx.h instead of dolphin/gx/GXstruct.h * fix default midna hair color * use TextureService instead of overwriting model file data on load * update descriptions * manual cleanup * fix includes * remove unneeded include and const qualifier * UI: Add Popover, ColorInput & more; mod cleanup * Make it a bundled mod --------- Co-authored-by: Luke Street <luke@street.dev>
21 lines
650 B
CMake
21 lines
650 B
CMake
cmake_minimum_required(VERSION 3.25)
|
|
project(shadow_mod CXX)
|
|
|
|
if (CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
|
|
set(DUSK_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../.." CACHE PATH "Path to dusk source root")
|
|
option(DUSK_MOD_USE_FULL_TREE "Use full build instead of the minimal mod SDK" OFF)
|
|
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
|
|
if (DUSK_MOD_USE_FULL_TREE)
|
|
add_subdirectory("${DUSK_DIR}" dusk EXCLUDE_FROM_ALL)
|
|
else ()
|
|
add_subdirectory("${DUSK_DIR}/sdk" dusk-sdk EXCLUDE_FROM_ALL)
|
|
endif ()
|
|
endif ()
|
|
|
|
add_mod(shadow_mod
|
|
FEATURES game webgpu
|
|
SOURCES src/mod.cpp
|
|
MOD_JSON mod.json
|
|
RES_DIR res
|
|
)
|