Commit 18262ebe authored by Daniel Agar's avatar Daniel Agar

cmake create ViewWidgets library in src/ViewWidgets

parent f1be03c4
......@@ -11,7 +11,6 @@ include_directories(
PositionManager
qgcunittest
Terrain
ViewWidgets
)
set(EXTRA_SRC)
......@@ -121,10 +120,6 @@ add_library(qgc
Terrain/TerrainQuery.cc
ViewWidgets/CustomCommandWidget.cc
ViewWidgets/CustomCommandWidgetController.cc
ViewWidgets/ViewWidgetController.cc
CmdLineOptParser.cc
JsonHelper.cc
KMLFileHelper.cc
......@@ -178,6 +173,7 @@ add_subdirectory(uas)
add_subdirectory(Vehicle)
add_subdirectory(VehicleSetup)
add_subdirectory(VideoStreaming)
add_subdirectory(ViewWidgets)
target_link_libraries(qgc
......@@ -220,6 +216,7 @@ target_link_libraries(qgc
Vehicle
VehicleSetup
VideoStreaming
ViewWidgets
)
target_include_directories(qgc INTERFACE ${CMAKE_CURRENT_SOURCE_DIR})
......
add_library(ViewWidgets
CustomCommandWidget.cc
CustomCommandWidgetController.cc
ViewWidgetController.cc
)
target_link_libraries(ViewWidgets
PUBLIC
qgc
)
target_include_directories(ViewWidgets PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
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