@@ -25,8 +25,6 @@ target_sources(${CMAKE_PROJECT_NAME}
2525 GeoFenceController.h
2626 GeoFenceManager.cc
2727 GeoFenceManager.h
28- KMLPlanDomDocument.cc
29- KMLPlanDomDocument.h
3028 LandingComplexItem.cc
3129 LandingComplexItem.h
3230 MissionCommandList.cc
@@ -51,6 +49,73 @@ target_sources(${CMAKE_PROJECT_NAME}
5149 PlanManager.h
5250 PlanMasterController.cc
5351 PlanMasterController.h
52+
53+ # PlanShapes - Core
54+ PlanShapes/GeoFormatPlanImporter.cc
55+ PlanShapes/GeoFormatPlanImporter.h
56+ PlanShapes/PlanDocument.cc
57+ PlanShapes/PlanDocument.h
58+ PlanShapes/PlanExporter.cc
59+ PlanShapes/PlanExporter.h
60+ PlanShapes/PlanImporter.cc
61+ PlanShapes/PlanImporter.h
62+
63+ # PlanShapes - CSV format
64+ PlanShapes/CSV/CsvPlanDocument.cc
65+ PlanShapes/CSV/CsvPlanDocument.h
66+ PlanShapes/CSV/CsvPlanExporter.cc
67+ PlanShapes/CSV/CsvPlanExporter.h
68+ PlanShapes/CSV/CsvPlanImporter.cc
69+ PlanShapes/CSV/CsvPlanImporter.h
70+
71+ # PlanShapes - GeoJSON format
72+ PlanShapes/GeoJSON/GeoJsonPlanDocument.cc
73+ PlanShapes/GeoJSON/GeoJsonPlanDocument.h
74+ PlanShapes/GeoJSON/GeoJsonPlanExporter.cc
75+ PlanShapes/GeoJSON/GeoJsonPlanExporter.h
76+ PlanShapes/GeoJSON/GeoJsonPlanImporter.cc
77+ PlanShapes/GeoJSON/GeoJsonPlanImporter.h
78+
79+ # PlanShapes - GPX format
80+ PlanShapes/GPX/GpxPlanDocument.cc
81+ PlanShapes/GPX/GpxPlanDocument.h
82+ PlanShapes/GPX/GpxPlanExporter.cc
83+ PlanShapes/GPX/GpxPlanExporter.h
84+ PlanShapes/GPX/GpxPlanImporter.cc
85+ PlanShapes/GPX/GpxPlanImporter.h
86+
87+ # PlanShapes - KML format
88+ PlanShapes/KML/KMLPlanDomDocument.cc
89+ PlanShapes/KML/KMLPlanDomDocument.h
90+ PlanShapes/KML/KmlPlanExporter.cc
91+ PlanShapes/KML/KmlPlanExporter.h
92+ PlanShapes/KML/KmlPlanImporter.cc
93+ PlanShapes/KML/KmlPlanImporter.h
94+ PlanShapes/KML/KmzPlanExporter.cc
95+ PlanShapes/KML/KmzPlanExporter.h
96+ PlanShapes/KML/KmzPlanImporter.cc
97+ PlanShapes/KML/KmzPlanImporter.h
98+
99+ # PlanShapes - OpenAir format
100+ PlanShapes/OpenAir/OpenAirPlanImporter.cc
101+ PlanShapes/OpenAir/OpenAirPlanImporter.h
102+
103+ # PlanShapes - SHP format
104+ PlanShapes/SHP/ShpPlanDocument.cc
105+ PlanShapes/SHP/ShpPlanDocument.h
106+ PlanShapes/SHP/ShpPlanExporter.cc
107+ PlanShapes/SHP/ShpPlanExporter.h
108+ PlanShapes/SHP/ShpPlanImporter.cc
109+ PlanShapes/SHP/ShpPlanImporter.h
110+
111+ # PlanShapes - WKT format
112+ PlanShapes/WKT/WktPlanDocument.cc
113+ PlanShapes/WKT/WktPlanDocument.h
114+ PlanShapes/WKT/WktPlanExporter.cc
115+ PlanShapes/WKT/WktPlanExporter.h
116+ PlanShapes/WKT/WktPlanImporter.cc
117+ PlanShapes/WKT/WktPlanImporter.h
118+
54119 RallyPoint.cc
55120 RallyPointController.cc
56121 RallyPointController.h
@@ -89,7 +154,17 @@ qt_add_resources(${CMAKE_PROJECT_NAME} json_mission_manager
89154 FILES ${JSON_FILES}
90155)
91156
92- target_include_directories (${CMAKE_PROJECT_NAME} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} )
157+ target_include_directories (${CMAKE_PROJECT_NAME} PRIVATE
158+ ${CMAKE_CURRENT_SOURCE_DIR}
159+ ${CMAKE_CURRENT_SOURCE_DIR} /PlanShapes
160+ ${CMAKE_CURRENT_SOURCE_DIR} /PlanShapes/CSV
161+ ${CMAKE_CURRENT_SOURCE_DIR} /PlanShapes/GeoJSON
162+ ${CMAKE_CURRENT_SOURCE_DIR} /PlanShapes/GPX
163+ ${CMAKE_CURRENT_SOURCE_DIR} /PlanShapes/KML
164+ ${CMAKE_CURRENT_SOURCE_DIR} /PlanShapes/OpenAir
165+ ${CMAKE_CURRENT_SOURCE_DIR} /PlanShapes/SHP
166+ ${CMAKE_CURRENT_SOURCE_DIR} /PlanShapes/WKT
167+ )
93168
94169# qt_add_qml_module(QGC
95170# URI QGroundControl.MissionManager
0 commit comments