2022-08-19 15:59:36 +02:00
|
|
|
// Copyright (C) 2019 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
|
2019-03-04 17:29:57 +01:00
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
2023-07-06 09:18:40 +02:00
|
|
|
#include <utils/aspects.h>
|
2019-03-04 17:29:57 +01:00
|
|
|
|
2023-05-15 12:42:08 +02:00
|
|
|
namespace QmakeProjectManager::Internal {
|
2019-03-04 17:29:57 +01:00
|
|
|
|
2023-07-06 09:18:40 +02:00
|
|
|
class QmakeSettings : public Utils::AspectContainer
|
2019-03-04 17:29:57 +01:00
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
QmakeSettings();
|
|
|
|
|
|
2023-05-15 12:42:08 +02:00
|
|
|
bool runSystemFunction() { return !ignoreSystemFunction(); }
|
2019-03-04 17:29:57 +01:00
|
|
|
|
2023-05-31 18:03:31 +02:00
|
|
|
Utils::BoolAspect warnAgainstUnalignedBuildDir{this};
|
|
|
|
|
Utils::BoolAspect alwaysRunQmake{this};
|
|
|
|
|
Utils::BoolAspect ignoreSystemFunction{this};
|
2019-03-04 17:29:57 +01:00
|
|
|
};
|
|
|
|
|
|
2023-05-15 12:42:08 +02:00
|
|
|
QmakeSettings &settings();
|
|
|
|
|
|
|
|
|
|
} // QmakeProjectManager::Internal
|