Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cellframe-node-diagtool
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cellframe
cellframe-node-diagtool
Commits
aa8de0bf
Commit
aa8de0bf
authored
8 months ago
by
Dmitry Puzyrkov
Browse files
Options
Downloads
Patches
Plain Diff
...
parent
fa8d14de
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMakeLists.txt
+15
-24
15 additions, 24 deletions
CMakeLists.txt
with
15 additions
and
24 deletions
CMakeLists.txt
+
15
−
24
View file @
aa8de0bf
...
@@ -3,13 +3,14 @@ cmake_minimum_required(VERSION 3.10)
...
@@ -3,13 +3,14 @@ cmake_minimum_required(VERSION 3.10)
project
(
cellframe-diagtool
)
project
(
cellframe-diagtool
)
find_package
(
Qt5 5.15 REQUIRED COMPONENTS
find_package
(
Qt5 5.15 REQUIRED COMPONENTS
Core
Core
Network
Qml
Gui
Quick
Widgets
Widgets
Qml
QuickWidgets
QuickWidgets
QuickControls2
)
QmlWorkerScript
)
set
(
CMAKE_AUTOMOC ON
)
set
(
CMAKE_AUTOMOC ON
)
set
(
CMAKE_AUTORCC ON
)
set
(
CMAKE_AUTORCC ON
)
...
@@ -60,33 +61,23 @@ if(WIN32)
...
@@ -60,33 +61,23 @@ if(WIN32)
./main.cpp
./main.cpp
)
)
qt5_import_plugins
(
${
PROJECT_NAME
}
INCLUDE Qt5::QtQuick2Plugin Qt5::QtQuickControls2Plugin
)
endif
()
endif
()
target_include_directories
(
${
PROJECT_NAME
}
PRIVATE ./CellframeNodeDiagtool
)
target_include_directories
(
${
PROJECT_NAME
}
PRIVATE ./CellframeNodeDiagtool
)
target_include_directories
(
${
PROJECT_NAME
}
PRIVATE ./CellframeNodeTray
)
target_include_directories
(
${
PROJECT_NAME
}
PRIVATE ./CellframeNodeTray
)
target_link_libraries
(
${
PROJECT_NAME
}
find_package
(
Qt5 COMPONENTS QmlImportScanner
)
PUBLIC Qt5::Core Qt5::Gui Qt5::Network Qt5::Widgets Qt5::Qml Qt5::QuickWidgets
qt5_import_qml_plugins
(
${
PROJECT_NAME
}
)
)
qt5_import_plugins
(
${
PROJECT_NAME
}
INCLUDE
qtquick2plugin
Qt5::QtQuickControls2Plugin
Qt5::QtQuick2Plugin
Qt5::QtQuickLayoutsPlugin
Qt5::QtQuickTemplates2Plugin
Qt5::QtQuickWindowPlugin
Qt5::QtQuick2WindowPlugin
Qt5::QWindowsIntegrationPlugin
target_link_libraries
(
${
PROJECT_NAME
}
PRIVATE Qt5::Core Qt5::Network Qt5::Widgets Qt5::Core
Qt5::Network
Qt5::Quick
Qt5::QuickControls2
Qt5::QmlWorkerScript
)
)
if
(
WIN32
)
if
(
WIN32
)
target_link_libraries
(
${
PROJECT_NAME
}
PUBLIC psapi
)
target_link_libraries
(
${
PROJECT_NAME
}
PUBLIC psapi
)
endif
()
endif
()
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment