2022-08-19 15:59:36 +02:00
|
|
|
// Copyright (C) 2021 The Qt Company Ltd.
|
2022-12-21 10:12:09 +01:00
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
2021-01-20 14:21:57 +01:00
|
|
|
|
|
|
|
|
#include "conansettings.h"
|
2021-03-26 17:50:14 +01:00
|
|
|
|
2021-01-28 16:38:12 +01:00
|
|
|
#include <utils/hostosinfo.h>
|
2021-01-20 14:21:57 +01:00
|
|
|
|
2021-03-26 17:50:14 +01:00
|
|
|
using namespace Utils;
|
|
|
|
|
|
2023-01-09 17:41:53 +01:00
|
|
|
namespace Conan::Internal {
|
2021-01-20 14:21:57 +01:00
|
|
|
|
2021-03-26 17:50:14 +01:00
|
|
|
ConanSettings::ConanSettings()
|
2021-01-20 14:21:57 +01:00
|
|
|
{
|
2021-03-26 17:50:14 +01:00
|
|
|
setSettingsGroup("ConanSettings");
|
|
|
|
|
setAutoApply(false);
|
2021-01-20 14:21:57 +01:00
|
|
|
|
2021-03-26 17:50:14 +01:00
|
|
|
registerAspect(&conanFilePath);
|
|
|
|
|
conanFilePath.setSettingsKey("ConanFilePath");
|
|
|
|
|
conanFilePath.setExpectedKind(PathChooser::ExistingCommand);
|
|
|
|
|
conanFilePath.setDefaultValue(HostOsInfo::withExecutableSuffix("conan"));
|
2021-01-20 14:21:57 +01:00
|
|
|
}
|
|
|
|
|
|
2023-01-09 17:41:53 +01:00
|
|
|
} // Conan::Internal
|