Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
4604a32b
Commit
4604a32b
authored
Jan 15, 2020
by
Patrick José Pereira
Committed by
Daniel Agar
Jan 15, 2020
Browse files
cmake: Add COMPILE_QML option
Signed-off-by:
Patrick José Pereira
<
patrickelectric@gmail.com
>
parent
f16168c3
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
4604a32b
...
...
@@ -61,6 +61,19 @@ if (CCACHE AND CCACHE_PROGRAM AND NOT DEFINED ENV{CCACHE_DISABLE})
set_property
(
GLOBAL PROPERTY RULE_LAUNCH_COMPILE
"
${
CCACHE_PROGRAM
}
"
)
endif
()
#=============================================================================
# Compile QML
#
option
(
COMPILE_QML
"Pre-compile QML files using the Qt Quick compiler."
FALSE
)
add_feature_info
(
COMPILE_QML COMPILE_QML
"Pre-compile QML files using the Qt Quick compiler."
)
if
(
COMPILE_QML
)
find_package
(
Qt5QuickCompiler
)
set_package_properties
(
Qt5QuickCompiler PROPERTIES
DESCRIPTION
"Pre-compile QML files using the Qt Quick compiler."
TYPE OPTIONAL
)
endif
()
#=============================================================================
# GStreamer
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment