Skip to content

Commit

Permalink
Add MINI build configuration for japanese translations
Browse files Browse the repository at this point in the history
  • Loading branch information
michalrudolf authored and danopernis committed May 16, 2024
1 parent 6d354d1 commit fdd647a
Show file tree
Hide file tree
Showing 2 changed files with 297 additions and 0 deletions.
284 changes: 284 additions & 0 deletions CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -1978,6 +1978,290 @@
}
}
},
{
"name": "mini-en-jp_debug_boot",
"generator": "Ninja",
"binaryDir": "build-vscode-buddy",
"cacheVariables": {
"CMAKE_MAKE_PROGRAM": {
"type": "FILEPATH",
"value": "${sourceDir}/.dependencies/ninja-1.10.2/ninja"
},
"CMAKE_EXPORT_COMPILE_COMMANDS": {
"type": "STRING",
"value": "ON"
},
"PRINTER": {
"type": "STRING",
"value": "MINI"
},
"BOARD": {
"type": "STRING",
"value": "<default>"
},
"BOARD_VERSION": {
"type": "STRING",
"value": "<default>"
},
"PRESET_COMPILE_OPTIONS": {
"type": "STRING",
"value": ""
},
"DEVELOPMENT_ITEMS_ENABLED": {
"type": "BOOL",
"value": "YES"
},
"TRANSLATIONS_LIST": {
"type": "STRING",
"value": "jp"
},
"BOOTLOADER": {
"type": "STRING",
"value": "YES"
},
"GENERATE_BBF": {
"type": "BOOL",
"value": "TRUE"
},
"GENERATE_DFU": {
"type": "BOOL",
"value": "OFF"
},
"SIGNING_KEY": {
"type": "FILEPATH",
"value": ""
},
"CMAKE_TOOLCHAIN_FILE": {
"type": "FILEPATH",
"value": "${sourceDir}/cmake/GccArmNoneEabi.cmake"
},
"CMAKE_BUILD_TYPE": {
"type": "STRING",
"value": "Debug"
},
"PROJECT_VERSION_SUFFIX": {
"type": "STRING",
"value": "<auto>"
},
"PROJECT_VERSION_SUFFIX_SHORT": {
"type": "STRING",
"value": "<auto>"
}
}
},
{
"name": "mini-en-jp_debug_noboot",
"generator": "Ninja",
"binaryDir": "build-vscode-buddy",
"cacheVariables": {
"CMAKE_MAKE_PROGRAM": {
"type": "FILEPATH",
"value": "${sourceDir}/.dependencies/ninja-1.10.2/ninja"
},
"CMAKE_EXPORT_COMPILE_COMMANDS": {
"type": "STRING",
"value": "ON"
},
"PRINTER": {
"type": "STRING",
"value": "MINI"
},
"BOARD": {
"type": "STRING",
"value": "<default>"
},
"BOARD_VERSION": {
"type": "STRING",
"value": "<default>"
},
"PRESET_COMPILE_OPTIONS": {
"type": "STRING",
"value": ""
},
"DEVELOPMENT_ITEMS_ENABLED": {
"type": "BOOL",
"value": "YES"
},
"TRANSLATIONS_LIST": {
"type": "STRING",
"value": "jp"
},
"BOOTLOADER": {
"type": "STRING",
"value": "NO"
},
"GENERATE_BBF": {
"type": "BOOL",
"value": "FALSE"
},
"GENERATE_DFU": {
"type": "BOOL",
"value": "OFF"
},
"SIGNING_KEY": {
"type": "FILEPATH",
"value": ""
},
"CMAKE_TOOLCHAIN_FILE": {
"type": "FILEPATH",
"value": "${sourceDir}/cmake/GccArmNoneEabi.cmake"
},
"CMAKE_BUILD_TYPE": {
"type": "STRING",
"value": "Debug"
},
"PROJECT_VERSION_SUFFIX": {
"type": "STRING",
"value": "<auto>"
},
"PROJECT_VERSION_SUFFIX_SHORT": {
"type": "STRING",
"value": "<auto>"
}
}
},
{
"name": "mini-en-jp_release_boot",
"generator": "Ninja",
"binaryDir": "build-vscode-buddy",
"cacheVariables": {
"CMAKE_MAKE_PROGRAM": {
"type": "FILEPATH",
"value": "${sourceDir}/.dependencies/ninja-1.10.2/ninja"
},
"CMAKE_EXPORT_COMPILE_COMMANDS": {
"type": "STRING",
"value": "ON"
},
"PRINTER": {
"type": "STRING",
"value": "MINI"
},
"BOARD": {
"type": "STRING",
"value": "<default>"
},
"BOARD_VERSION": {
"type": "STRING",
"value": "<default>"
},
"PRESET_COMPILE_OPTIONS": {
"type": "STRING",
"value": ""
},
"DEVELOPMENT_ITEMS_ENABLED": {
"type": "BOOL",
"value": "YES"
},
"TRANSLATIONS_LIST": {
"type": "STRING",
"value": "jp"
},
"BOOTLOADER": {
"type": "STRING",
"value": "YES"
},
"GENERATE_BBF": {
"type": "BOOL",
"value": "TRUE"
},
"GENERATE_DFU": {
"type": "BOOL",
"value": "OFF"
},
"SIGNING_KEY": {
"type": "FILEPATH",
"value": ""
},
"CMAKE_TOOLCHAIN_FILE": {
"type": "FILEPATH",
"value": "${sourceDir}/cmake/GccArmNoneEabi.cmake"
},
"CMAKE_BUILD_TYPE": {
"type": "STRING",
"value": "Release"
},
"PROJECT_VERSION_SUFFIX": {
"type": "STRING",
"value": "<auto>"
},
"PROJECT_VERSION_SUFFIX_SHORT": {
"type": "STRING",
"value": "<auto>"
}
}
},
{
"name": "mini-en-jp_release_noboot",
"generator": "Ninja",
"binaryDir": "build-vscode-buddy",
"cacheVariables": {
"CMAKE_MAKE_PROGRAM": {
"type": "FILEPATH",
"value": "${sourceDir}/.dependencies/ninja-1.10.2/ninja"
},
"CMAKE_EXPORT_COMPILE_COMMANDS": {
"type": "STRING",
"value": "ON"
},
"PRINTER": {
"type": "STRING",
"value": "MINI"
},
"BOARD": {
"type": "STRING",
"value": "<default>"
},
"BOARD_VERSION": {
"type": "STRING",
"value": "<default>"
},
"PRESET_COMPILE_OPTIONS": {
"type": "STRING",
"value": ""
},
"DEVELOPMENT_ITEMS_ENABLED": {
"type": "BOOL",
"value": "YES"
},
"TRANSLATIONS_LIST": {
"type": "STRING",
"value": "jp"
},
"BOOTLOADER": {
"type": "STRING",
"value": "NO"
},
"GENERATE_BBF": {
"type": "BOOL",
"value": "FALSE"
},
"GENERATE_DFU": {
"type": "BOOL",
"value": "OFF"
},
"SIGNING_KEY": {
"type": "FILEPATH",
"value": ""
},
"CMAKE_TOOLCHAIN_FILE": {
"type": "FILEPATH",
"value": "${sourceDir}/cmake/GccArmNoneEabi.cmake"
},
"CMAKE_BUILD_TYPE": {
"type": "STRING",
"value": "Release"
},
"PROJECT_VERSION_SUFFIX": {
"type": "STRING",
"value": "<auto>"
},
"PROJECT_VERSION_SUFFIX_SHORT": {
"type": "STRING",
"value": "<auto>"
}
}
},
{
"name": "mk4_debug_boot",
"generator": "Ninja",
Expand Down
13 changes: 13 additions & 0 deletions utils/presets/presets.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,19 @@
"TRANSLATIONS_LIST": "pl"
}
},
{
"name": "mini-en-jp",
"description": "Original Prusa MINI (EN & JP translation)",
"cacheVariables": {
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
"PRINTER": "MINI",
"BOARD": "<default>",
"BOARD_VERSION": "<default>",
"PRESET_COMPILE_OPTIONS": "",
"DEVELOPMENT_ITEMS_ENABLED": true,
"TRANSLATIONS_LIST": "jp"
}
},
{
"name": "mk4",
"description": "Original Prusa MK4 with xBuddy 0.2.7c or newer fw compatible, 400-step motors and planetary gearbox",
Expand Down

0 comments on commit fdd647a

Please sign in to comment.