1
0
Fork 0
flightgear/src/Scripting/CMakeLists.txt
Thomas Geymayer 0fc2d57211 Scripting: expose flight history as aircraft.history()
var hist = aircraft.history();
 debug.dump(hist.pathForHistory(50));
2014-05-10 10:56:09 +02:00

46 lines
841 B
CMake

include(FlightGearComponent)
set(SOURCES
NasalSys.cxx
nasal-props.cxx
NasalAircraft.cxx
NasalPositioned.cxx
NasalPositioned_cppbind.cxx
NasalCanvas.cxx
NasalClipboard.cxx
NasalCondition.cxx
NasalHTTP.cxx
NasalString.cxx
NasalModelData.cxx
NasalSGPath.cxx
)
set(HEADERS
NasalSys.hxx
NasalSys_private.hxx
NasalAircraft.hxx
NasalPositioned.hxx
NasalCanvas.hxx
NasalClipboard.hxx
NasalCondition.hxx
NasalHTTP.hxx
NasalString.hxx
NasalModelData.hxx
NasalSGPath.hxx
)
if(WIN32)
list(APPEND SOURCES ClipboardWindows.cxx)
elseif(APPLE)
list(APPEND SOURCES ClipboardCocoa.mm)
else()
find_package(X11)
if(X11_FOUND)
list(APPEND SOURCES ClipboardX11.cxx)
else()
list(APPEND SOURCES ClipboardFallback.cxx)
endif()
endif()
flightgear_component(Scripting "${SOURCES}" "${HEADERS}")