Fix vcpkg variable
This commit is contained in:
parent
c22ef70791
commit
a44bb66bc6
0
travis/build.sh
Normal file → Executable file
0
travis/build.sh
Normal file → Executable file
0
travis/build_success.sh
Normal file → Executable file
0
travis/build_success.sh
Normal file → Executable file
0
travis/deploy.sh
Normal file → Executable file
0
travis/deploy.sh
Normal file → Executable file
0
travis/install_dependencies.sh
Normal file → Executable file
0
travis/install_dependencies.sh
Normal file → Executable file
7
travis/setup_variables.sh
Normal file → Executable file
7
travis/setup_variables.sh
Normal file → Executable file
@ -19,9 +19,14 @@ else
|
|||||||
export OPERATING_SYSTEM_NAME_SHORT=$OPERATING_SYSTEM_NAME
|
export OPERATING_SYSTEM_NAME_SHORT=$OPERATING_SYSTEM_NAME
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo "====== Setup variables ======"
|
||||||
|
echo "Current root directory:"
|
||||||
|
echo "$(realpath .)"
|
||||||
|
echo "============================="
|
||||||
|
|
||||||
# ====== OS Variables
|
# ====== OS Variables
|
||||||
if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then
|
if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then
|
||||||
export VCPKG_DIR=$TRAVIS_BUILD_DIR/vcpkg
|
export VCPKG_DIR="$(realpath .)/generate/vcpkg"
|
||||||
export CMAKE_EXTRA_ARGUMENTS="-A x64 -DCMAKE_TOOLCHAIN_FILE:FILEPATH=$VCPKG_DIR/scripts/buildsystems/vcpkg.cmake"
|
export CMAKE_EXTRA_ARGUMENTS="-A x64 -DCMAKE_TOOLCHAIN_FILE:FILEPATH=$VCPKG_DIR/scripts/buildsystems/vcpkg.cmake"
|
||||||
export PATH="$PATH:/c/tools/php74:/c/PHP:/c/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.27.29110/bin/Hostx64/x64:/c/Program Files/OpenJDK/openjdk-11.0.8_10/bin:/c/Program Files/CMake/bin:/c/ProgramData/chocolatey/bin:/c/Program Files/apache-maven-3.6.3/bin:/c/ProgramData/chocolatey/lib/maven/apache-maven-3.6.3/bin:/c/ProgramData/chocolatey/lib/base64/tools:/c/Program Files/NASM"
|
export PATH="$PATH:/c/tools/php74:/c/PHP:/c/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.27.29110/bin/Hostx64/x64:/c/Program Files/OpenJDK/openjdk-11.0.8_10/bin:/c/Program Files/CMake/bin:/c/ProgramData/chocolatey/bin:/c/Program Files/apache-maven-3.6.3/bin:/c/ProgramData/chocolatey/lib/maven/apache-maven-3.6.3/bin:/c/ProgramData/chocolatey/lib/base64/tools:/c/Program Files/NASM"
|
||||||
export JAVA_HOME="/c/Program Files/OpenJDK/openjdk-11.0.8_10"
|
export JAVA_HOME="/c/Program Files/OpenJDK/openjdk-11.0.8_10"
|
||||||
|
Loading…
Reference in New Issue
Block a user