2012-10-02 09:12:39 +02:00
|
|
|
/****************************************************************************
|
2008-12-02 12:01:29 +01:00
|
|
|
**
|
2016-01-15 14:57:40 +01:00
|
|
|
** Copyright (C) 2016 The Qt Company Ltd.
|
|
|
|
|
** Contact: https://www.qt.io/licensing/
|
2008-12-02 12:01:29 +01:00
|
|
|
**
|
2012-10-02 09:12:39 +02:00
|
|
|
** This file is part of Qt Creator.
|
2008-12-02 12:01:29 +01:00
|
|
|
**
|
2012-10-02 09:12:39 +02:00
|
|
|
** Commercial License Usage
|
|
|
|
|
** Licensees holding valid commercial Qt licenses may use this file in
|
|
|
|
|
** accordance with the commercial license agreement provided with the
|
|
|
|
|
** Software or, alternatively, in accordance with the terms contained in
|
2016-01-15 14:57:40 +01:00
|
|
|
** a written agreement between you and The Qt Company. For licensing terms
|
|
|
|
|
** and conditions see https://www.qt.io/terms-conditions. For further
|
|
|
|
|
** information use the contact form at https://www.qt.io/contact-us.
|
2008-12-02 14:17:16 +01:00
|
|
|
**
|
2016-01-15 14:57:40 +01:00
|
|
|
** GNU General Public License Usage
|
|
|
|
|
** Alternatively, this file may be used under the terms of the GNU
|
|
|
|
|
** General Public License version 3 as published by the Free Software
|
|
|
|
|
** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
|
|
|
|
|
** included in the packaging of this file. Please review the following
|
|
|
|
|
** information to ensure the GNU General Public License requirements will
|
|
|
|
|
** be met: https://www.gnu.org/licenses/gpl-3.0.html.
|
2010-12-17 16:01:08 +01:00
|
|
|
**
|
2012-10-02 09:12:39 +02:00
|
|
|
****************************************************************************/
|
2008-12-02 14:09:21 +01:00
|
|
|
|
2016-01-27 10:14:00 +01:00
|
|
|
#pragma once
|
2008-12-02 12:01:29 +01:00
|
|
|
|
|
|
|
|
namespace CMakeProjectManager {
|
|
|
|
|
namespace Constants {
|
|
|
|
|
|
2020-04-07 14:44:22 +02:00
|
|
|
const char CMAKE_MIMETYPE[] = "text/x-cmake";
|
|
|
|
|
const char CMAKE_PROJECT_MIMETYPE[] = "text/x-cmake-project";
|
2011-11-02 16:45:13 +01:00
|
|
|
const char CMAKE_EDITOR_ID[] = "CMakeProject.CMakeEditor";
|
2020-04-07 14:44:22 +02:00
|
|
|
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";
|
2020-12-02 19:16:40 +01:00
|
|
|
const char CMAKE_HOME_DIR[] = "CMakeProject.HomeDirectory";
|
2010-07-16 14:00:41 +02:00
|
|
|
|
|
|
|
|
// Project
|
2020-04-07 14:44:22 +02:00
|
|
|
const char CMAKE_PROJECT_ID[] = "CMakeProjectManager.CMakeProject";
|
2010-07-16 14:00:41 +02:00
|
|
|
|
2021-02-04 14:53:42 +01:00
|
|
|
const char CMAKE_BUILDCONFIGURATION_ID[] = "CMakeProjectManager.CMakeBuildConfiguration";
|
|
|
|
|
|
2012-02-19 18:58:39 +04:00
|
|
|
// Menu
|
|
|
|
|
const char M_CONTEXT[] = "CMakeEditor.ContextMenu";
|
|
|
|
|
|
2015-02-24 21:57:00 +01:00
|
|
|
// Settings page
|
2020-04-07 14:44:22 +02:00
|
|
|
const char CMAKE_SETTINGS_PAGE_ID[] = "Z.CMake";
|
2015-02-24 21:57:00 +01:00
|
|
|
|
2016-08-18 13:22:06 +02:00
|
|
|
// Snippets
|
|
|
|
|
const char CMAKE_SNIPPETS_GROUP_ID[] = "CMake";
|
|
|
|
|
|
2016-11-09 14:25:30 +01:00
|
|
|
// Icons
|
2020-04-07 14:44:22 +02:00
|
|
|
const char FILE_OVERLAY_CMAKE[] = ":/cmakeproject/images/fileoverlay_cmake.png";
|
2016-11-09 14:25:30 +01:00
|
|
|
|
2016-11-14 15:18:25 +01:00
|
|
|
// Actions
|
2020-04-07 14:44:22 +02:00
|
|
|
const char BUILD_TARGET_CONTEXT_MENU[] = "CMake.BuildTargetContextMenu";
|
2016-11-14 15:18:25 +01:00
|
|
|
|
|
|
|
|
// Build Step
|
|
|
|
|
const char CMAKE_BUILD_STEP_ID[] = "CMakeProjectManager.MakeStep";
|
|
|
|
|
|
2017-04-03 14:31:32 +02:00
|
|
|
// Features
|
|
|
|
|
const char CMAKE_FEATURE_ID[] = "CMakeProjectManager.Wizard.FeatureCMake";
|
|
|
|
|
|
2008-12-02 14:09:21 +01:00
|
|
|
} // namespace Constants
|
|
|
|
|
} // namespace CMakeProjectManager
|