From 4921afdb512738e4ca29cff8d82aec7477e8f37d Mon Sep 17 00:00:00 2001 From: arcum42 Date: Mon, 2 Jan 2023 11:11:39 -0800 Subject: [PATCH] build: Cleanup. Fix a few names, and use cache variables for the compiler. --- CMakePresets.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/CMakePresets.json b/CMakePresets.json index 04ef9b0c3e..bce032702d 100644 --- a/CMakePresets.json +++ b/CMakePresets.json @@ -19,9 +19,9 @@ "description": "Base clang preset. Only for inheriting from.", "hidden": true, "inherits": "defaults", - "environment": { - "CC": "clang", - "CXX": "clang++" + "cacheVariables": { + "CMAKE_C_COMPILER": "clang", + "CMAKE_CXX_COMPILER": "clang++" } }, { @@ -42,7 +42,7 @@ } }, { - "name": "dev", + "name": "devel", "displayName": "Devel", "description": "Developer build using make.", "inherits": "defaults", @@ -72,7 +72,7 @@ } }, { - "name": "dev-ninja", + "name": "devel-ninja", "displayName": "Devel Ninja", "description": "Developer build using ninja.", "inherits": "defaults",