]> git.mxchange.org Git - flightgear.git/blob - src/Scripting/CMakeLists.txt
ATISEncoder: minor tweak
[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   NasalHTTP.cxx
12   NasalString.cxx
13   NasalModelData.cxx
14   NasalSGPath.cxx
15 )
16
17 set(HEADERS
18   NasalSys.hxx
19   NasalSys_private.hxx
20   NasalPositioned.hxx
21   NasalCanvas.hxx
22   NasalClipboard.hxx
23   NasalCondition.hxx
24   NasalHTTP.hxx
25   NasalString.hxx
26   NasalModelData.hxx
27   NasalSGPath.hxx
28 )
29
30 if(WIN32)
31   list(APPEND SOURCES ClipboardWindows.cxx)
32 elseif(APPLE)
33     list(APPEND SOURCES ClipboardCocoa.mm)
34 else()
35   find_package(X11)
36   if(X11_FOUND)
37     list(APPEND SOURCES ClipboardX11.cxx)
38   else()
39     list(APPEND SOURCES ClipboardFallback.cxx)
40   endif()
41 endif()
42
43 flightgear_component(Scripting "${SOURCES}" "${HEADERS}")
44