2010-11-30 10:08:30 +00:00
|
|
|
include(FlightGearComponent)
|
|
|
|
|
|
|
|
set(SOURCES
|
2013-10-15 01:02:05 +02:00
|
|
|
NasalSys.cxx
|
|
|
|
nasal-props.cxx
|
|
|
|
NasalPositioned.cxx
|
|
|
|
NasalPositioned_cppbind.cxx
|
|
|
|
NasalCanvas.cxx
|
|
|
|
NasalClipboard.cxx
|
|
|
|
NasalCondition.cxx
|
|
|
|
NasalHTTP.cxx
|
|
|
|
NasalString.cxx
|
|
|
|
NasalModelData.cxx
|
2013-12-17 19:07:08 +01:00
|
|
|
NasalSGPath.cxx
|
2013-10-15 01:02:05 +02:00
|
|
|
)
|
2011-06-26 07:55:36 +01:00
|
|
|
|
|
|
|
set(HEADERS
|
2013-10-15 01:02:05 +02:00
|
|
|
NasalSys.hxx
|
|
|
|
NasalSys_private.hxx
|
|
|
|
NasalPositioned.hxx
|
|
|
|
NasalCanvas.hxx
|
|
|
|
NasalClipboard.hxx
|
|
|
|
NasalCondition.hxx
|
|
|
|
NasalHTTP.hxx
|
|
|
|
NasalString.hxx
|
|
|
|
NasalModelData.hxx
|
2013-12-17 19:07:08 +01:00
|
|
|
NasalSGPath.hxx
|
2013-10-15 01:02:05 +02:00
|
|
|
)
|
2011-06-26 07:55:36 +01:00
|
|
|
|
2012-08-04 00:24:26 +02:00
|
|
|
if(WIN32)
|
|
|
|
list(APPEND SOURCES ClipboardWindows.cxx)
|
2012-08-05 21:00:05 +01:00
|
|
|
elseif(APPLE)
|
|
|
|
list(APPEND SOURCES ClipboardCocoa.mm)
|
2012-08-04 00:24:26 +02:00
|
|
|
else()
|
|
|
|
find_package(X11)
|
|
|
|
if(X11_FOUND)
|
|
|
|
list(APPEND SOURCES ClipboardX11.cxx)
|
|
|
|
else()
|
|
|
|
list(APPEND SOURCES ClipboardFallback.cxx)
|
|
|
|
endif()
|
|
|
|
endif()
|
|
|
|
|
2011-06-26 07:55:36 +01:00
|
|
|
flightgear_component(Scripting "${SOURCES}" "${HEADERS}")
|
2010-11-30 10:08:30 +00:00
|
|
|
|