/*! \page buildingOpenFlipper Building OpenFlipper \section dependencies Dependencies OpenFlipper is developed on top of the Qt framework. This framework provides easy cross platform development. Therefore an installed version of QT with at least version 5.9 is required. We use the cmake MakeFile generator to build OpenFlipper. \section reqlibs Required libraries \section optlibs Optional libraries ( Without these libraries some functionality might not be available) On Debian, you can install the prerequisites this way (tested on Debian buster): apt install cmake make g++ libeigen3-dev python3-dev qt5-default libqt5script5 libqt5scripttools5 libqt5svg5-dev libqt5quick5 libqt5x11extras5-dev libqt5help5 qtscript5-dev libqt5xmlpatterns5-dev libqwt-qt5-dev qttools5-dev qtdeclarative5-dev libqt5opengl5-dev libglew-dev \section bs Build System The build system uses cmake to generate all makefiles. \section build_cmake Building OpenFlipper using Cmake For the following section CMake >= 3.12 has to be installed. In the toplevel directory of OpenFlipper is a CMakeLists.txt file that specifies the build configuration and targets. See the following subsections for information on how to build OpenFlipper for your specific operating system. \subsection cmake_blinux Building OpenFlipper under Linux To switch between debug and release build, use
cmake -DCMAKE_BUILD_TYPE=Release ../OpenFlipper-Free

To change the install path use
-DCMAKE_INSTALL_PREFIX=[path]
The created application (binaries, libs and shared files) are located in the Build directory. \subsection cmake_bwin Building OpenFlipper under Windows \note If you want to build OpenFlipper as release on windows, you don't have to set the CMAKE_BUILD_TYPE variable to "Release" before configuring generating the Visual Studio solution file. Instead, choose the build type "Release" in Visual Studio and build the solution. Console outputs are only available in Visual Studio, when the "Debug" configuration is selected, or the -c option is passed as command line option. \subsection cmake_bmacos Building OpenFlipper under MacOS X The created application bundle can be found in the Build directory. If you build with -DOPENFLIPPER_CALL_FIX_BUNDLE=true, the bundle will contain all required libraries. You can also create a drag and drop installer for mac by calling make OpenFlipper_package. This will also call fixbundle on your Bundle. Note: When fixbundle has been called, the rpaths will be switched to local libraries. Concurrent builds, will still reference the global ones, which will cause inconsistencies and crashes! You have to call fixbundle after each build if it has been called once. \section cmake_plugin Building OpenFlipper Plugins with CMake Building plugins with CMake is very simple. The OpenFlipper CMake build system expects a CMakeLists.txt file in each of the plugin's directories. So when developing a plugin, just make sure there is a CMakeLists.txt in your plugin's directory. In this file include the global file plugin.cmake which specifies the openflipper_plugin() function: include(plugin) You then have to add the following line which configures the build parameters of your plugin: openflipper_plugin() Note: There are several parameters that one can pass to this function. Usage: \include example/cmake_plugin_usage.txt For a detailed description of the parameters see the CMake documentation. For an example of how to build a simple plugin see \ref ex1. */