-
Notifications
You must be signed in to change notification settings - Fork 28
Build: Build
swift uses CMake as a buildfile generator and can be built on Windows, macOS and Linux.
The following pages provide instructions on setting up a swift development environment. Of course, you can also use your preferred setup if it works with CMake projects.
- Set up development environment with Visual Studio (Windows)
- Set up development environment with Qt Creator (Windows, macOS, Linux)
- Set up development environment with CLion (Windows, macOS, Linux)
The build process can be configured with CMake options.
These can be used, for example, to disable the building of sample applications or a specific simulator plugin.
For a list of all options, see the top-level CMakeLists.txt
.
These options can be changed by passing them to the CMake process at configuration time, like
cmake .. -DSWIFT_BUILD_XPLANE_PLUGIN=OFF
if invoking CMake from the terminal or through options in your IDE.
- Build the CMake
install
target. This installs (copies) all built swift files into theCMAKE_INSTALL_PREFIX
directory. This path is set to some system default path by default. You can change this path by passing it as an option to CMake or by setting this option in your IDE. - Copy the
CMAKE_INSTALL_PREFIX/xswiftbus
folder to your X-Plane plugin directory.
Content of the xswiftbus folder
- Home
- API documentation (Doxygen generated)
- Future of swift
- Style and Coding Standard
- Build swift
- Run swift as a developer
- Knowledgebase
- External resources
- Open Research Questions
- Aviation
- Programming
- Simulation
- Architecture