Skip to content

Commit

Permalink
CMake Presets: Add WiiU preset, disable tools when targetting homebrew
Browse files Browse the repository at this point in the history
  • Loading branch information
Ghabry committed Oct 14, 2024
1 parent f332f72 commit c883b80
Show file tree
Hide file tree
Showing 2 changed files with 88 additions and 71 deletions.
140 changes: 72 additions & 68 deletions CMakePresets.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 16 additions & 3 deletions builds/cmake/CMakePresets.json.template
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@
"displayName": "Nintendo 3DS",
"toolchainFile": "$env{DEVKITPRO}/cmake/3DS.cmake",
"cacheVariables": {
"LIBLCF_PREFIX_PATH_APPEND": "$env{EASYRPG_BUILDSCRIPTS}/3ds"
"LIBLCF_PREFIX_PATH_APPEND": "$env{EASYRPG_BUILDSCRIPTS}/3ds",
"LIBLCF_ENABLE_TOOLS": "OFF"
},
"inherits": "dkp-user"
},
Expand All @@ -86,7 +87,8 @@
"displayName": "Nintendo Switch",
"toolchainFile": "$env{DEVKITPRO}/cmake/Switch.cmake",
"cacheVariables": {
"LIBLCF_PREFIX_PATH_APPEND": "$env{EASYRPG_BUILDSCRIPTS}/switch"
"LIBLCF_PREFIX_PATH_APPEND": "$env{EASYRPG_BUILDSCRIPTS}/switch",
"LIBLCF_ENABLE_TOOLS": "OFF"
},
"inherits": "dkp-user"
},
Expand All @@ -95,7 +97,18 @@
"displayName": "Nintendo Wii",
"toolchainFile": "$env{DEVKITPRO}/cmake/Wii.cmake",
"cacheVariables": {
"LIBLCF_PREFIX_PATH_APPEND": "$env{EASYRPG_BUILDSCRIPTS}/wii"
"LIBLCF_PREFIX_PATH_APPEND": "$env{EASYRPG_BUILDSCRIPTS}/wii",
"LIBLCF_ENABLE_TOOLS": "OFF"
},
"inherits": "dkp-user"
},
{
"name": "wiiu",
"displayName": "Nintendo WiiU",
"toolchainFile": "$env{DEVKITPRO}/cmake/WiiU.cmake",
"cacheVariables": {
"LIBLCF_PREFIX_PATH_APPEND": "$env{EASYRPG_BUILDSCRIPTS}/wiiu",
"LIBLCF_ENABLE_TOOLS": "OFF"
},
"inherits": "dkp-user"
},
Expand Down

0 comments on commit c883b80

Please sign in to comment.