-
Notifications
You must be signed in to change notification settings - Fork 9
/
CMakeLists.txt
81 lines (73 loc) · 2.69 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
cmake_minimum_required(VERSION 3.10)
project(CMakeProjectManager2)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)
set(CMAKE_AUTOUIC ON)
set(CMAKE_CXX_STANDARD 17)
find_package(QtCreator REQUIRED COMPONENTS Core CppEditor ProjectExplorer TextEditor QtSupport)
find_package(QT NAMES Qt6 Qt5 REQUIRED COMPONENTS Widgets)
#find_package(QT NAMES Qt5 REQUIRED COMPONENTS Widgets)
set(QtX Qt${QT_VERSION_MAJOR})
add_qtc_plugin(CMakeProjectManager2
PLUGIN_CLASS CMakeProjectPlugin
DEPENDS
QtCreator::QmlJS
QtCreator::app_version
PLUGIN_DEPENDS
QtCreator::CppEditor
QtCreator::ProjectExplorer
QtCreator::TextEditor
QtCreator::QtSupport
SYSTEM_INCLUDES 3dparty/cmake
SOURCES
builddirparameters.cpp builddirparameters.h
cmake_global.h
cmakeabstractprocessstep.cpp cmakeabstractprocessstep.h
cmakeautocompleter.cpp cmakeautocompleter.h
cmakebuildconfiguration.cpp cmakebuildconfiguration.h
cmakebuildsystem.cpp cmakebuildsystem.h
cmakebuildstep.cpp cmakebuildstep.h
cmakebuildtarget.h
cmakeconfigitem.cpp cmakeconfigitem.h
cmakeeditor.cpp cmakeeditor.h
cmakefilecompletionassist.cpp cmakefilecompletionassist.h
cmakeformatter.cpp cmakeformatter.h
cmakeindenter.cpp cmakeindenter.h
cmakeinstallstep.cpp cmakeinstallstep.h
cmakekitaspect.cpp cmakekitaspect.h
cmakelocatorfilter.cpp cmakelocatorfilter.h
cmakeparser.cpp cmakeparser.h
cmakeprocess.cpp cmakeprocess.h
cmakeproject.cpp cmakeproject.h
cmakeproject.qrc
cmakeprojectconstants.h
cmakeprojectimporter.cpp cmakeprojectimporter.h
cmakeprojectmanager.cpp cmakeprojectmanager.h
cmakeprojectmanagertr.h
cmakeprojectnodes.cpp cmakeprojectnodes.h
cmakeprojectplugin.cpp cmakeprojectplugin.h
cmakesettingspage.cpp cmakesettingspage.h
cmakespecificsettings.cpp cmakespecificsettings.h
cmaketool.cpp cmaketool.h
cmaketoolmanager.cpp cmaketoolmanager.h
cmaketoolsettingsaccessor.cpp cmaketoolsettingsaccessor.h
configmodel.cpp configmodel.h
configmodelitemdelegate.cpp configmodelitemdelegate.h
fileapidataextractor.cpp fileapidataextractor.h
fileapiparser.cpp fileapiparser.h
fileapireader.cpp fileapireader.h
presetsparser.cpp presetsparser.h
presetsmacros.cpp presetsmacros.h
projecttreehelper.cpp projecttreehelper.h
simplefileapireader.cpp simplefileapireader.h
3rdparty/cmake/cmListFileCache.cxx
3rdparty/cmake/cmListFileLexer.cxx
3rdparty/cmake/cmListFileCache.h
3rdparty/rstparser/rstparser.cc 3rdparty/rstparser/rstparser.h
)
# create install rule for resource directories
install(
DIRECTORY wizard/cmake2
DESTINATION "${IDE_DATA_PATH}/templates/wizards/projects/"
USE_SOURCE_PERMISSIONS
)