aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/webassembly/webassemblyemsdk.h
blob: 55d83abcd229e8eef5a0867428432857a72f8e9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright (C) 2020 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0

#pragma once

#include <QVersionNumber>

namespace Utils {
class Environment;
class FilePath;
}

namespace WebAssembly::Internal::WebAssemblyEmSdk {

bool isValid(const Utils::FilePath &sdkRoot);
void parseEmSdkEnvOutputAndAddToEnv(const QString &output, Utils::Environment &env);
void addToEnvironment(const Utils::FilePath &sdkRoot, Utils::Environment &env);
QVersionNumber version(const Utils::FilePath &sdkRoot);
void clearCaches();

} // WebAssembly::Internal::WebAssemblyEmSdk