1
0
Fork 0
flightgear/src/GUI/CMakeLists.txt

68 lines
1.2 KiB
Text
Raw Normal View History

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
MouseCursor.cxx
MessageBox.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
MouseCursor.hxx
MessageBox.hxx
)
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)
list(APPEND HEADERS FGCocoaMenuBar.hxx
CocoaFileDialog.hxx
CocoaMouseCursor.hxx
CocoaHelpers.h
CocoaHelpers_private.h)
list(APPEND SOURCES FGCocoaMenuBar.mm
CocoaFileDialog.mm
CocoaMouseCursor.mm
CocoaHelpers.mm)
2011-11-20 13:23:52 +00:00
endif()
flightgear_component(GUI "${SOURCES}" "${HEADERS}")