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