2010-11-30 10:08:30 +00:00
|
|
|
include(FlightGearComponent)
|
|
|
|
|
|
|
|
set(SOURCES
|
|
|
|
NasalSys.cxx
|
|
|
|
nasal-props.cxx
|
2012-04-15 13:54:50 +01:00
|
|
|
NasalPositioned.cxx
|
2012-08-02 12:18:38 +01:00
|
|
|
NasalCanvas.cxx
|
2012-08-04 00:24:26 +02:00
|
|
|
NasalClipboard.cxx
|
2010-11-30 10:08:30 +00:00
|
|
|
)
|
2011-06-26 07:55:36 +01:00
|
|
|
|
|
|
|
set(HEADERS
|
|
|
|
NasalSys.hxx
|
2012-04-15 13:54:50 +01:00
|
|
|
NasalPositioned.hxx
|
2012-08-02 12:18:38 +01:00
|
|
|
NasalCanvas.hxx
|
2012-08-04 00:24:26 +02:00
|
|
|
NasalClipboard.hxx
|
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
|
|
|
|