]> git.mxchange.org Git - flightgear.git/blob - src/Scripting/CMakeLists.txt
Update/simplify property interpolation to latest SimGear changes
[flightgear.git] / src / Scripting / CMakeLists.txt
1 include(FlightGearComponent)
2
3 set(SOURCES
4         NasalSys.cxx
5         nasal-props.cxx
6     NasalPositioned.cxx
7     NasalPositioned_cppbind.cxx
8     NasalCanvas.cxx
9     NasalClipboard.cxx
10     NasalCondition.cxx
11     NasalString.cxx
12     NasalModelData.cxx
13         )
14
15 set(HEADERS
16         NasalSys.hxx
17     NasalSys_private.hxx
18     NasalPositioned.hxx
19     NasalCanvas.hxx
20     NasalClipboard.hxx
21     NasalCondition.hxx
22     NasalString.hxx
23     NasalModelData.hxx
24         )
25
26 if(WIN32)
27   list(APPEND SOURCES ClipboardWindows.cxx)
28 elseif(APPLE)
29     list(APPEND SOURCES ClipboardCocoa.mm)
30 else()
31   find_package(X11)
32   if(X11_FOUND)
33     list(APPEND SOURCES ClipboardX11.cxx)
34   else()
35     list(APPEND SOURCES ClipboardFallback.cxx)
36   endif()
37 endif()
38
39 flightgear_component(Scripting "${SOURCES}" "${HEADERS}")
40