diff --git a/hello-world/CMakePresets.json b/hello-world/CMakePresets.json index b5e7c0e..6208aca 100644 --- a/hello-world/CMakePresets.json +++ b/hello-world/CMakePresets.json @@ -10,100 +10,108 @@ }, "configurePresets": [ { - "name": "ISS_Debug", + "name": "32imc", + "hidden": true, "cacheVariables": { - "CMAKE_BUILD_TYPE": "Debug", - "BOARD": "iss", "CMAKE_TOOLCHAIN_FILE": "../../bare-metal-bsp/cmake/rv32imc.cmake" - } + } + }, + { + "name": "64imc", + "hidden": true, + "cacheVariables": { + "CMAKE_TOOLCHAIN_FILE": "../../bare-metal-bsp/cmake/rv64imc.cmake" + } + }, + { + "name": "iss", + "hidden": true, + "cacheVariables": { + "BOARD": "iss" + } + }, + { + "name": "moonlight", + "hidden": true, + "cacheVariables": { + "BOARD": "moonlight" + } + }, + { + "name": "tgc-vp", + "hidden": true, + "cacheVariables": { + "BOARD": "tgc_vp" + } + }, + { + "name": "rtl", + "hidden": true, + "cacheVariables": { + "BOARD": "rtl" + } + }, + { + "name": "debug", + "hidden": true, + "cacheVariables": { + "CMAKE_BUILD_TYPE": "Debug" + } + }, + { + "name": "release", + "hidden": true, + "cacheVariables": { + "CMAKE_BUILD_TYPE": "Release" + } + }, + { + "name": "ISS_Debug", + "inherits": ["iss", "debug", "rv32imc"] }, { "name": "Moonlight_Debug", - "cacheVariables": { - "CMAKE_BUILD_TYPE": "Debug", - "BOARD": "moonlight", - "CMAKE_TOOLCHAIN_FILE": "../../bare-metal-bsp/cmake/rv32imc.cmake" - } + "inherits": ["moonlight", "debug", "rv32imc"] }, { - "name": "TGC_Debug", - "cacheVariables": { - "CMAKE_BUILD_TYPE": "Debug", - "BOARD": "tgc_vp", - "CMAKE_TOOLCHAIN_FILE": "../../bare-metal-bsp/cmake/rv32imc.cmake" - } + "name": "TGC_VP_Debug", + "inherits": ["tgc_vp", "debug", "rv32imc"] }, { "name": "ISS_Debug_64", - "cacheVariables": { - "CMAKE_BUILD_TYPE": "Debug", - "BOARD": "iss", - "CMAKE_TOOLCHAIN_FILE": "../../bare-metal-bsp/cmake/rv64gc.cmake" - } + "inherits": ["iss", "debug", "rv64imc"] }, { "name": "Moonlight_Debug_64", - "cacheVariables": { - "CMAKE_BUILD_TYPE": "Debug", - "BOARD": "moonlight", - "CMAKE_TOOLCHAIN_FILE": "../../bare-metal-bsp/cmake/rv64gc.cmake" - } + "inherits": ["moonlight", "debug", "rv64imc"] }, { - "name": "TGC_Debug_64", - "cacheVariables": { - "CMAKE_BUILD_TYPE": "Debug", - "BOARD": "tgc_vp", - "CMAKE_TOOLCHAIN_FILE": "../../bare-metal-bsp/cmake/rv64gc.cmake" - } + "name": "TGC_VP_Debug_64", + "inherits": ["tgc_vp", "debug", "rv64imc"] }, { "name": "ISS_Release", - "cacheVariables": { - "CMAKE_BUILD_TYPE": "Release", - "BOARD": "iss", - "CMAKE_TOOLCHAIN_FILE": "../../bare-metal-bsp/cmake/rv32imc.cmake" - } + "inherits": ["iss", "release", "rv32imc"] }, { "name": "Moonlight_Release", - "cacheVariables": { - "CMAKE_BUILD_TYPE": "Release", - "BOARD": "moonlight", - "CMAKE_TOOLCHAIN_FILE": "../../bare-metal-bsp/cmake/rv32imc.cmake" - } + "inherits": ["moonlight", "release", "rv32imc"] }, { - "name": "TGC_Release", - "cacheVariables": { - "CMAKE_BUILD_TYPE": "Release", - "BOARD": "tgc_vp", - "CMAKE_TOOLCHAIN_FILE": "../../bare-metal-bsp/cmake/rv32imc.cmake" - } + "name": "TGC_VP_Release", + "inherits": ["tgc_vp", "release", "rv32imc"] }, { "name": "ISS_Release_64", - "cacheVariables": { - "CMAKE_BUILD_TYPE": "Release", - "BOARD": "iss", - "CMAKE_TOOLCHAIN_FILE": "../../bare-metal-bsp/cmake/rv64gc.cmake" - } + "inherits": ["iss", "release", "rv64imc"] }, { "name": "Moonlight_Release_64", - "cacheVariables": { - "CMAKE_BUILD_TYPE": "Release", - "BOARD": "moonlight", - "CMAKE_TOOLCHAIN_FILE": "../../bare-metal-bsp/cmake/rv64gc.cmake" - } + "inherits": ["moonlight", "release", "rv64imc"] }, { - "name": "TGC_Release_64", - "cacheVariables": { - "CMAKE_BUILD_TYPE": "Release", - "BOARD": "tgc_vp", - "CMAKE_TOOLCHAIN_FILE": "../../bare-metal-bsp/cmake/rv64gc.cmake" - } + "name": "TGC_VP_Release_64", + "inherits": ["tgc_vp", "release", "rv64imc"] } ] } \ No newline at end of file