2021-03-29 21:33:27 +00:00
|
|
|
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
|
|
|
|
if [ ! -d "linux" ]; then
|
|
|
|
echo "start this script in the source root directory"
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
2021-04-09 22:52:34 +00:00
|
|
|
BUILD_DIR="$PWD/3rdParty/linux"
|
|
|
|
VCPKG_ROOT="$BUILD_DIR/vcpkg"
|
|
|
|
export VCPKG_DIR="$VCPKG_ROOT/installed/x64-linux"
|
|
|
|
|
2021-08-15 19:40:57 +00:00
|
|
|
linux/update_vcpkg_apps.sh
|
2021-03-29 21:33:27 +00:00
|
|
|
|
2021-08-12 10:19:49 +00:00
|
|
|
export _libcurl_pc="$VCPKG_DIR/lib/pkgconfig/libcurl.pc"
|
2023-04-15 22:36:57 +00:00
|
|
|
export PKG_CONFIG_PATH=$VCPKG_DIR/lib/pkgconfig/
|
|
|
|
export X_EXTRA_LIBS="-I$VCPKG_DIR/include $(pkg-config --libs freeglut)"
|
|
|
|
|
|
|
|
./configure --with-libcurl=$VCPKG_DIR --with-ssl=$VCPKG_DIR --enable-apps --enable-apps-vcpkg --enable-apps-vbox --enable-apps-gui --disable-server --disable-client --disable-manager CPPFLAGS="-I$VCPKG_DIR/include"
|