1
0
Fork 0
flightgear/src/GUI/CMakeLists.txt
James Turner 2e1fb7972e Initial work on native file dialog support.
Add an abstract interface, version that forwards to the existing PUI dialog, and a Cocoa-native version.
2013-01-19 14:41:45 +00:00

49 lines
818 B
CMake

include(FlightGearComponent)
set(SOURCES
AirportList.cxx
CanvasWidget.cxx
MapWidget.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
)
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
FileDialog.hxx
PUIFileDialog.hxx
)
if (APPLE)
list(APPEND HEADERS FGCocoaMenuBar.hxx CocoaFileDialog.hxx)
list(APPEND SOURCES FGCocoaMenuBar.mm CocoaFileDialog.mm)
endif()
flightgear_component(GUI "${SOURCES}" "${HEADERS}")