mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-10-31 23:55:06 -04:00
715bf39d43
* Incorporate LUS CMake CVar system. Customize all LUS CMake CVars to align with plans for preset system. Swap "gOverlayFont" usage back to LUS CVar macro. * Change CMake sets to use the cache to allow for including LUS's file for the add_compile_defines and remove the duplication on SoH's side. * Move SoH CMake CVars to `soh-cvars.cmake` for clarity.
26 lines
1.1 KiB
CMake
26 lines
1.1 KiB
CMake
set(CVAR_PREFIX_RANDOMIZER_ENHANCEMENT "gRandoEnhancements")
|
|
set(CVAR_PREFIX_RANDOMIZER_SETTING "gRandoSettings")
|
|
set(CVAR_PREFIX_COSMETIC "gCosmetics")
|
|
set(CVAR_PREFIX_AUDIO "gAudioEditor")
|
|
set(CVAR_PREFIX_CHEAT "gCheats")
|
|
set(CVAR_PREFIX_ENHANCEMENT "gEnhancements")
|
|
set(CVAR_PREFIX_SETTING "gSettings")
|
|
set(CVAR_PREFIX_WINDOW "gOpenWindows")
|
|
set(CVAR_PREFIX_TRACKER "gTrackers")
|
|
set(CVAR_PREFIX_DEVELOPER_TOOLS "gDeveloperTools")
|
|
set(CVAR_PREFIX_GENERAL "gGeneral")
|
|
set(CVAR_PREFIX_REMOTE "gRemote")
|
|
add_compile_definitions(
|
|
CVAR_PREFIX_RANDOMIZER_ENHANCEMENT="${CVAR_PREFIX_RANDOMIZER_ENHANCEMENT}"
|
|
CVAR_PREFIX_RANDOMIZER_SETTING="${CVAR_PREFIX_RANDOMIZER_SETTING}"
|
|
CVAR_PREFIX_COSMETIC="${CVAR_PREFIX_COSMETIC}"
|
|
CVAR_PREFIX_AUDIO="${CVAR_PREFIX_AUDIO}"
|
|
CVAR_PREFIX_CHEAT="${CVAR_PREFIX_CHEAT}"
|
|
CVAR_PREFIX_ENHANCEMENT="${CVAR_PREFIX_ENHANCEMENT}"
|
|
CVAR_PREFIX_SETTING="${CVAR_PREFIX_SETTING}"
|
|
CVAR_PREFIX_WINDOW="${CVAR_PREFIX_WINDOW}"
|
|
CVAR_PREFIX_TRACKER="${CVAR_PREFIX_TRACKER}"
|
|
CVAR_PREFIX_DEVELOPER_TOOLS="${CVAR_PREFIX_DEVELOPER_TOOLS}"
|
|
CVAR_PREFIX_GENERAL="${CVAR_PREFIX_GENERAL}"
|
|
CVAR_PREFIX_REMOTE="${CVAR_PREFIX_REMOTE}"
|
|
) |