]> git.mxchange.org Git - flightgear.git/blobdiff - src/GUI/CMakeLists.txt
toggle fullscreen: also adapt GUI plane when resizing
[flightgear.git] / src / GUI / CMakeLists.txt
index 706219c741e7506fbd850510390d913b3fe479e4..b021d840b13c711aa42c51990ed9913ab1af7ee2 100644 (file)
@@ -2,18 +2,44 @@ include(FlightGearComponent)
 
 set(SOURCES
        AirportList.cxx
+       CanvasWidget.cxx
        MapWidget.cxx
-       SafeTexFont.cxx
        WaypointList.cxx
        dialog.cxx
+       FGPUIDialog.cxx
        fonts.cxx
        gui.cxx
        gui_funcs.cxx
        layout-props.cxx
        layout.cxx
        menubar.cxx
+       FGPUIMenuBar.cxx
        new_gui.cxx
        property_list.cxx
+       FGFontCache.cxx
+       FGColor.cxx
        )
-       
-flightgear_component(GUI "${SOURCES}")
+
+set(HEADERS
+       AirportList.hxx
+       CanvasWidget.hxx
+       MapWidget.hxx
+       WaypointList.hxx
+       dialog.hxx
+       FGPUIDialog.hxx
+       gui.h
+       layout.hxx
+       menubar.hxx
+       FGPUIMenuBar.hxx
+       new_gui.hxx
+       property_list.hxx
+       FGFontCache.hxx
+       FGColor.hxx
+       )
+               
+if (APPLE)
+    list(APPEND HEADERS FGCocoaMenuBar.hxx)
+    list(APPEND SOURCES FGCocoaMenuBar.mm)
+endif()
+               
+flightgear_component(GUI "${SOURCES}" "${HEADERS}")