Showing 7 changed files with 43 additions and 0 deletions
+4
flightgear/source/.flightgear
... ...
@@ -0,0 +1,4 @@
1
+OpenSceneGraph
2
+simgear
3
+flightgear
4
+fgdata
+1
flightgear/source/.jsbsim
... ...
@@ -0,0 +1 @@
1
+jsbsim
+1
flightgear/source/.mumble
... ...
@@ -0,0 +1 @@
1
+mumble
+1
flightgear/source/.openvsp
... ...
@@ -0,0 +1 @@
1
+OpenVSP
+17
flightgear/source/OpenVSP.specific
... ...
@@ -0,0 +1,17 @@
1
+mkdir -p $fgfs_build/OpenVSPlibs
2
+cd $fgfs_build/OpenVSPlibs
3
+cmake     -DVSP_USE_SYSTEM_LIBXML2=true \
4
+          -DVSP_USE_SYSTEM_FLTK=true \
5
+          -DVSP_USE_SYSTEM_GLM=true \
6
+          -DVSP_USE_SYSTEM_GLEW=true \
7
+          -DVSP_USE_SYSTEM_CMINPACK=true \
8
+          -DVSP_USE_SYSTEM_LIBIGES=false \
9
+          -DVSP_USE_SYSTEM_EIGEN=false \
10
+          -DVSP_USE_SYSTEM_CODEELI=false \
11
+          -DVSP_USE_SYSTEM_CPPTEST=false \
12
+          -DCMAKE_BUILD_TYPE=Release \
13
+          $fgfs_source/OpenVSP/Libraries \
14
+&& make -j$simultaneous \
15
+&& cmake_options+=("-DVSP_LIBRARY_PATH=$fgfs_build/OpenVSPlibs") \
16
+&& cmake_options+=("-DCMAKE_BUILD_TYPE=Release")
17
+cd -
+7
flightgear/source/flightgear.specific
... ...
@@ -0,0 +1,7 @@
1
+cmake_options+=("-DENABLE_COMPOSITOR=ON")
2
+cmake_options+=("-DFG_DATA_DIR:PATH=$fgfs_source/fgdata")
3
+cmake_options+=("-DTRANSLATIONS_SRC_DIR:PATH=$fgfs_source/fgdata/Translations")
4
+cmake_options+=("-DSimGear_DIR=$fgfs_install/simgear/lib/cmake/SimGear")
5
+#cmake_options+=("CFLAGS="--std=c++14"")
6
+
7
+export OSG_DIR=$fgfs_install/OpenSceneGraph
+12
flightgear/source/mumble.specific
... ...
@@ -0,0 +1,12 @@
1
+mkdir -p $fgfs_build/poco
2
+cd $fgfs_build/poco
3
+cmake -DCMAKE_INSTALL_PREFIX=$fgfs_install/mumble -j$simultaneous $fgfs_source/mumble/3rdparty/poco
4
+make -j$simultaneous
5
+make install
6
+
7
+cmake_options+=("-DCMAKE_PREFIX_PATH=$fgfs_install/mumble")
8
+cmake_options+=("-DCMAKE_INCLUDE_PATH=$fgfs_install/mumble/include")
9
+cmake_options+=("-Doverlay-xcompile=OFF")
10
+cmake_options+=("-Dserver=OFF")
11
+cmake_options+=("-Dretracted-plugins=OFF")
12
+cmake_options+=("-Dplugins=OFF")