]> git.mxchange.org Git - flightgear.git/blobdiff - src/GUI/CMakeLists.txt
Support for multiple data dirs.
[flightgear.git] / src / GUI / CMakeLists.txt
index 428cdcb9e905fb2e683b0190b0cf8a5aebc93655..6f36a1da21f0f204096049c9903ccecf16166532 100644 (file)
@@ -2,31 +2,57 @@ 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
+    FileDialog.cxx
+    PUIFileDialog.cxx
+    MouseCursor.cxx
        )
 
 set(HEADERS
        AirportList.hxx
+       CanvasWidget.hxx
        MapWidget.hxx
-       SafeTexFont.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
+    FileDialog.hxx
+    PUIFileDialog.hxx
+    MouseCursor.hxx
        )
+
+if(WIN32)
+       message(STATUS "on Windows")
+
+       list(APPEND HEADERS WindowsMouseCursor.hxx)
+       list(APPEND SOURCES WindowsMouseCursor.cxx)
+endif()
+               
+if (APPLE)
+    list(APPEND HEADERS FGCocoaMenuBar.hxx CocoaFileDialog.hxx CocoaMouseCursor.hxx)
+    list(APPEND SOURCES FGCocoaMenuBar.mm CocoaFileDialog.mm CocoaMouseCursor.mm)
+endif()
                
 flightgear_component(GUI "${SOURCES}" "${HEADERS}")