2010-11-30 10:08:30 +00:00
|
|
|
include(FlightGearComponent)
|
|
|
|
|
|
|
|
set(SOURCES
|
|
|
|
AirportList.cxx
|
2012-07-04 11:15:12 +00:00
|
|
|
CanvasWidget.cxx
|
2010-11-30 10:08:30 +00:00
|
|
|
MapWidget.cxx
|
|
|
|
WaypointList.cxx
|
|
|
|
dialog.cxx
|
2011-11-19 20:46:17 +00:00
|
|
|
FGPUIDialog.cxx
|
2010-11-30 10:08:30 +00:00
|
|
|
fonts.cxx
|
|
|
|
gui.cxx
|
|
|
|
gui_funcs.cxx
|
|
|
|
layout-props.cxx
|
|
|
|
layout.cxx
|
|
|
|
menubar.cxx
|
2011-11-19 22:04:35 +00:00
|
|
|
FGPUIMenuBar.cxx
|
2010-11-30 10:08:30 +00:00
|
|
|
new_gui.cxx
|
|
|
|
property_list.cxx
|
2011-11-19 20:25:51 +00:00
|
|
|
FGFontCache.cxx
|
|
|
|
FGColor.cxx
|
2012-12-28 14:48:19 +00:00
|
|
|
FileDialog.cxx
|
|
|
|
PUIFileDialog.cxx
|
2013-02-09 16:05:54 +00:00
|
|
|
MouseCursor.cxx
|
2013-11-06 23:49:58 +00:00
|
|
|
MessageBox.cxx
|
2010-11-30 10:08:30 +00:00
|
|
|
)
|
2011-06-26 06:49:37 +00:00
|
|
|
|
|
|
|
set(HEADERS
|
|
|
|
AirportList.hxx
|
2012-07-04 11:15:12 +00:00
|
|
|
CanvasWidget.hxx
|
2011-06-26 06:49:37 +00:00
|
|
|
MapWidget.hxx
|
|
|
|
WaypointList.hxx
|
|
|
|
dialog.hxx
|
2011-11-19 20:46:17 +00:00
|
|
|
FGPUIDialog.hxx
|
2011-06-26 06:49:37 +00:00
|
|
|
gui.h
|
|
|
|
layout.hxx
|
|
|
|
menubar.hxx
|
2011-11-19 22:04:35 +00:00
|
|
|
FGPUIMenuBar.hxx
|
2011-06-26 06:49:37 +00:00
|
|
|
new_gui.hxx
|
|
|
|
property_list.hxx
|
2011-11-19 20:25:51 +00:00
|
|
|
FGFontCache.hxx
|
|
|
|
FGColor.hxx
|
2012-12-28 14:48:19 +00:00
|
|
|
FileDialog.hxx
|
|
|
|
PUIFileDialog.hxx
|
2013-02-09 16:05:54 +00:00
|
|
|
MouseCursor.hxx
|
2013-11-06 23:49:58 +00:00
|
|
|
MessageBox.hxx
|
2011-06-26 06:49:37 +00:00
|
|
|
)
|
2013-03-06 18:22:37 +00:00
|
|
|
|
|
|
|
if(WIN32)
|
|
|
|
message(STATUS "on Windows")
|
|
|
|
|
|
|
|
list(APPEND HEADERS WindowsMouseCursor.hxx)
|
|
|
|
list(APPEND SOURCES WindowsMouseCursor.cxx)
|
|
|
|
endif()
|
|
|
|
|
2011-11-20 13:23:52 +00:00
|
|
|
if (APPLE)
|
2013-11-06 23:49:58 +00:00
|
|
|
list(APPEND HEADERS FGCocoaMenuBar.hxx
|
|
|
|
CocoaFileDialog.hxx
|
|
|
|
CocoaMouseCursor.hxx
|
|
|
|
CocoaAutoreleasePool.hxx)
|
|
|
|
list(APPEND SOURCES FGCocoaMenuBar.mm
|
|
|
|
CocoaFileDialog.mm
|
|
|
|
CocoaMouseCursor.mm
|
|
|
|
CocoaMessageBox.mm)
|
2011-11-20 13:23:52 +00:00
|
|
|
endif()
|
|
|
|
|
2011-06-26 06:49:37 +00:00
|
|
|
flightgear_component(GUI "${SOURCES}" "${HEADERS}")
|