From aa62d357bb133c6a770572bc3bcad8442941fc9a Mon Sep 17 00:00:00 2001 From: jadebenn Date: Sat, 6 Apr 2024 20:50:26 -0500 Subject: [PATCH] rename gcc to gnu --- CMakePresets.json | 54 +++++++++---------- .../{linux-gcc.cmake => linux-gnu.cmake} | 0 2 files changed, 27 insertions(+), 27 deletions(-) rename cmake/toolchains/{linux-gcc.cmake => linux-gnu.cmake} (100%) diff --git a/CMakePresets.json b/CMakePresets.json index 3342fbe0..60191bad 100644 --- a/CMakePresets.json +++ b/CMakePresets.json @@ -33,9 +33,9 @@ "toolchainFile": "${sourceDir}/cmake/toolchains/linux-clang.cmake" }, { - "name": "gcc-config", + "name": "gnu-config", "hidden": true, - "toolchainFile": "${sourceDir}/cmake/toolchains/linux-gcc.cmake" + "toolchainFile": "${sourceDir}/cmake/toolchains/linux-gnu.cmake" }, { "name": "windows-msvc", @@ -112,23 +112,23 @@ "description": "Create a release build using the Clang toolchain for Linux" }, { - "name": "linux-gcc-debug", + "name": "linux-gnu-debug", "inherits": [ "linux-config", - "gcc-config", + "gnu-config", "debug-config" ], - "displayName": "[Debug] Linux (GCC)", + "displayName": "[Debug] Linux (GNU)", "description": "Create a debug build using the GNU toolchain for Linux" }, { - "name": "linux-gcc-release", + "name": "linux-gnu-release", "inherits": [ "linux-config", - "gcc-config", + "gnu-config", "release-config" ], - "displayName": "[Release] Linux (GCC)", + "displayName": "[Release] Linux (GNU)", "description": "Create a release build using the GNU toolchain for Linux" }, { @@ -191,18 +191,18 @@ "jobs": 2 }, { - "name": "linux-gcc-debug", - "configurePreset": "linux-gcc-debug", - "displayName": "[Debug] Linux (GCC)", - "description": "This preset is used to build in debug mode using the GCC toolchain on Linux", + "name": "linux-gnu-debug", + "configurePreset": "linux-gnu-debug", + "displayName": "[Debug] Linux (GNU)", + "description": "This preset is used to build in debug mode using the GNU toolchain on Linux", "configuration": "Debug", "jobs": 2 }, { - "name": "linux-gcc-release", - "configurePreset": "linux-gcc-release", - "displayName": "[Release] Linux (GCC)", - "description": "This preset is used to build in release mode using the GCC toolchain on Linux", + "name": "linux-gnu-release", + "configurePreset": "linux-gnu-release", + "displayName": "[Release] Linux (GNU)", + "description": "This preset is used to build in release mode using the GNU toolchain on Linux", "configuration": "Release", "jobs": 2 }, @@ -262,19 +262,19 @@ "configuration": "Release" }, { - "name": "linux-gcc-debug", + "name": "linux-gnu-debug", "inherits": "default", - "configurePreset": "linux-gcc-debug", - "displayName": "[Debug] Linux (GCC)", - "description": "Runs all tests on a Linux GCC configuration", + "configurePreset": "linux-gnu-debug", + "displayName": "[Debug] Linux (GNU)", + "description": "Runs all tests on a Linux GNU configuration", "configuration": "Release" }, { - "name": "linux-gcc-release", + "name": "linux-gnu-release", "inherits": "default", - "configurePreset": "linux-gcc-release", - "displayName": "[Release] Linux (GCC)", - "description": "Runs all tests on a Linux GCC configuration", + "configurePreset": "linux-gnu-release", + "displayName": "[Release] Linux (GNU)", + "description": "Runs all tests on a Linux GNU configuration", "configuration": "Release" }, { @@ -338,15 +338,15 @@ "steps": [ { "type": "configure", - "name": "linux-gcc-release" + "name": "linux-gnu-release" }, { "type": "build", - "name": "linux-gcc-release" + "name": "linux-gnu-release" }, { "type": "test", - "name": "linux-gcc-release" + "name": "linux-gnu-release" } ] }, diff --git a/cmake/toolchains/linux-gcc.cmake b/cmake/toolchains/linux-gnu.cmake similarity index 100% rename from cmake/toolchains/linux-gcc.cmake rename to cmake/toolchains/linux-gnu.cmake