aboutsummaryrefslogtreecommitdiffstats
path: root/qt-cpp
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2024-09-23 14:07:08 +0200
committerJoerg Bornemann <joerg.bornemann@qt.io>2024-09-24 07:49:36 +0000
commit0b1b9eb2b014591c7eb28b686e65917358fb4b50 (patch)
treec8171e6d591b0db70732b18de8f12068f8890d4f /qt-cpp
parentec25e2e9b30656de959b87e392359c3be409acba (diff)
Remove dead code from kit-manager.ts
All members of the KitDetect interface are unused, and the type CompilerEnum is only used in that interface. Remove both. Change-Id: I63d8ddd8a017981a240e268f0cc10849c92896e3 Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io> Reviewed-by: Orkun Tokdemir <orkun.tokdemir@qt.io>
Diffstat (limited to 'qt-cpp')
-rw-r--r--qt-cpp/src/kit-manager.ts29
1 files changed, 1 insertions, 28 deletions
diff --git a/qt-cpp/src/kit-manager.ts b/qt-cpp/src/kit-manager.ts
index 135e799..92e6a0c 100644
--- a/qt-cpp/src/kit-manager.ts
+++ b/qt-cpp/src/kit-manager.ts
@@ -32,8 +32,6 @@ export const CMAKE_GLOBAL_KITS_FILEPATH = path.join(
'cmake-tools-kits.json'
);
-type CompilerVendorEnum = 'Clang' | 'GCC' | 'MSVC';
-
type Environment = Record<string, string | undefined>;
interface CMakeGenerator {
@@ -42,32 +40,7 @@ interface CMakeGenerator {
platform?: string | undefined;
}
-interface KitDetect {
- /**
- * The vendor name of the kit
- */
- vendor?: CompilerVendorEnum;
-
- /**
- * The triple the kit
- */
- triple?: string;
-
- /**
- * The version of the kit
- */
- version?: string;
-
- /**
- * The version of the C runtime for the kit
- * In most case it's equal to version, but for `Clang for MSVC`
- * The Clang version are version
- * The MSVC version are versionRuntime
- */
- versionRuntime?: string;
-}
-
-export interface Kit extends KitDetect {
+export interface Kit {
/**
* The name of the kit
*/