Commit 62ee0c7f authored by Drake Arconis's avatar Drake Arconis

Fixes for alchemy build configuration

parent 79001fe3
......@@ -20,6 +20,7 @@ fi
top="$(pwd)"
stage="$(pwd)/stage"
mkdir -p "${stage}"
# Load autobuild provided shell functions and variables
source_environment_tempfile="$stage/source_environment.sh"
......@@ -51,11 +52,11 @@ case "$AUTOBUILD_PLATFORM" in
windows*)
# download bundle
CEF_BUNDLE_URL="CEF_BUNDLE_URL_WINDOWS${AUTOBUILD_ADDRSIZE}"
curl "${!CEF_BUNDLE_URL}" -o "${CEF_BUNDLE_DOWNLOAD_FILE_WINDOWS}"
/usr/bin/curl "${!CEF_BUNDLE_URL}" -o "${CEF_BUNDLE_DOWNLOAD_FILE_WINDOWS}"
# Create directory for it and untar, stripping off the complex CEF name
mkdir -p "${CEF_BUNDLE_SRC_DIR_WINDOWS}"
tar xvfj "${CEF_BUNDLE_DOWNLOAD_FILE_WINDOWS}" -C "${CEF_BUNDLE_SRC_DIR_WINDOWS}" --strip-components=1
/usr/bin/tar xvfj "${CEF_BUNDLE_DOWNLOAD_FILE_WINDOWS}" -C "${CEF_BUNDLE_SRC_DIR_WINDOWS}" --strip-components=1
# replace the Visual Studio C++ Run Time setting to ones that matches viewer
# Note: we don't build/use the debug version but it's included here for completeness
......@@ -70,7 +71,7 @@ case "$AUTOBUILD_PLATFORM" in
cmake -G "$AUTOBUILD_WIN_CMAKE_GEN" ..
# build release version of wrapper only
build_sln cef.sln "Release|$AUTOBUILD_WIN_VSPLATFORM" "libcef_dll_wrapper"
build_sln cef.sln "Release" "$AUTOBUILD_WIN_VSPLATFORM" "libcef_dll_wrapper"
# create folders to stage files in
mkdir -p "$stage/bin/release"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment