Commit 560fe6a1 authored by Tomaz Canabrava's avatar Tomaz Canabrava Committed by Daniel Agar

CMake: new target FactControls / FactControlsQml

Create a new Target FactControls, and add a custom target for the
Qml in the folder.
parent 06f45932
add_subdirectory(FactControls)
set(EXTRA_SRC)
if(BUILD_TESTING)
list(APPEND EXTRA_SRC
......@@ -11,7 +13,6 @@ endif()
add_library(FactSystem
Fact.cc
FactControls/FactPanelController.cc
FactGroup.cc
FactMetaData.cc
FactSystem.cc
......@@ -25,6 +26,7 @@ add_library(FactSystem
target_link_libraries(FactSystem
PRIVATE
qgc
FactControls
)
target_include_directories(FactSystem
......
add_library(FactControls
FactPanelController.cc
)
add_custom_target(FactControlsQml
SOURCES
AltitudeFactTextField.qml
FactCheckBox.qml
FactLabel.qml
FactTextField.qml
FactTextFieldSlider.qml
FactBitmask.qml
FactComboBox.qml
FactTextFieldGrid.qml
FactTextFieldRow.qml
FactValueSlider.qml
)
target_link_libraries(FactControls qgc)
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment