forked from qt-creator/qt-creator
By copying the ${IDE:ResourcePath}/package-manager to
${buildDir}/.qtc/ the problem with hardcoding paths
to old an Qt Creator version can no longer occur.
This also fixes the issue with remote projects by reffering
to the code residing on the host.
With the above issues fixed, enable "Package manager auto setup"
by default.
Change-Id: Ia49654a3b9059f83886e64d065019b2d55e9299c
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
72 lines
2.4 KiB
C++
72 lines
2.4 KiB
C++
// Copyright (C) 2016 The Qt Company Ltd.
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
|
|
|
#pragma once
|
|
|
|
namespace CMakeProjectManager {
|
|
namespace Constants {
|
|
|
|
const char CMAKE_MIMETYPE[] = "text/x-cmake";
|
|
const char CMAKE_PROJECT_MIMETYPE[] = "text/x-cmake-project";
|
|
const char CMAKE_EDITOR_ID[] = "CMakeProject.CMakeEditor";
|
|
const char RUN_CMAKE[] = "CMakeProject.RunCMake";
|
|
const char CLEAR_CMAKE_CACHE[] = "CMakeProject.ClearCache";
|
|
const char RESCAN_PROJECT[] = "CMakeProject.RescanProject";
|
|
const char RUN_CMAKE_CONTEXT_MENU[] = "CMakeProject.RunCMakeContextMenu";
|
|
const char BUILD_FILE_CONTEXT_MENU[] = "CMakeProject.BuildFileContextMenu";
|
|
const char BUILD_FILE[] = "CMakeProject.BuildFile";
|
|
const char CMAKE_HOME_DIR[] = "CMakeProject.HomeDirectory";
|
|
const char QML_DEBUG_SETTING[] = "CMakeProject.EnableQmlDebugging";
|
|
|
|
const char CMAKEFORMATTER_SETTINGS_GROUP[] = "CMakeFormatter";
|
|
const char CMAKEFORMATTER_GENERAL_GROUP[] = "General";
|
|
const char CMAKEFORMATTER_ACTION_ID[] = "CMakeFormatter.Action";
|
|
const char CMAKEFORMATTER_MENU_ID[] = "CMakeFormatter.Menu";
|
|
|
|
const char PACKAGE_MANAGER_DIR[] = ".qtc/package-manager";
|
|
|
|
// Project
|
|
const char CMAKE_PROJECT_ID[] = "CMakeProjectManager.CMakeProject";
|
|
|
|
const char CMAKE_BUILDCONFIGURATION_ID[] = "CMakeProjectManager.CMakeBuildConfiguration";
|
|
|
|
// Menu
|
|
const char M_CONTEXT[] = "CMakeEditor.ContextMenu";
|
|
|
|
namespace Settings {
|
|
const char GENERAL_ID[] = "CMakeSpecifcSettings";
|
|
const char TOOLS_ID[] = "K.CMake.Tools";
|
|
const char FORMATTER_ID[] = "K.CMake.Formatter";
|
|
const char CATEGORY[] = "K.CMake";
|
|
} // namespace Settings
|
|
|
|
// Snippets
|
|
const char CMAKE_SNIPPETS_GROUP_ID[] = "CMake";
|
|
|
|
namespace Icons {
|
|
const char FILE_OVERLAY[] = ":/cmakeproject/images/fileoverlay_cmake.png";
|
|
const char SETTINGS_CATEGORY[] = ":/cmakeproject/images/settingscategory_cmakeprojectmanager.png";
|
|
} // namespace Icons
|
|
|
|
// Actions
|
|
const char BUILD_TARGET_CONTEXT_MENU[] = "CMake.BuildTargetContextMenu";
|
|
|
|
// Build Step
|
|
const char CMAKE_BUILD_STEP_ID[] = "CMakeProjectManager.MakeStep";
|
|
|
|
// Install Step
|
|
const char CMAKE_INSTALL_STEP_ID[] = "CMakeProjectManager.InstallStep";
|
|
|
|
|
|
// Features
|
|
const char CMAKE_FEATURE_ID[] = "CMakeProjectManager.Wizard.FeatureCMake";
|
|
|
|
// Tool
|
|
const char TOOL_ID[] = "CMakeProjectManager.CMakeKitInformation";
|
|
|
|
// Data
|
|
const char BUILD_FOLDER_ROLE[] = "CMakeProjectManager.data.buildFolder";
|
|
|
|
} // namespace Constants
|
|
} // namespace CMakeProjectManager
|