Allow for swapping between QMake and Conan in macOS build script
This commit is contained in:
parent
7f9cf82019
commit
e9908c30ec
|
|
@ -15,17 +15,24 @@ cyan="\033[1;36m" # Cyan - Bold
|
||||||
green="\033[1;32m" # Green - Bold
|
green="\033[1;32m" # Green - Bold
|
||||||
color_reset="\033[0m" # Reset Colors
|
color_reset="\033[0m" # Reset Colors
|
||||||
|
|
||||||
|
use_qmake=True
|
||||||
|
|
||||||
echo "${white}Compiling ${bold}SyngleChance v${mac_version} ${white}engine for macOS...${color_reset}\n"
|
echo "${white}Compiling ${bold}SyngleChance v${mac_version} ${white}engine for macOS...${color_reset}\n"
|
||||||
|
|
||||||
# Generate makefile and build main + journal
|
# Generate makefile and build main + journal
|
||||||
echo "-> ${cyan}Generate makefile...${color_reset}"
|
if [[$use_qmake == True]]
|
||||||
qmake MRIVERSION=2.5
|
then
|
||||||
echo "-> ${cyan}Compile engine...${color_reset}"
|
echo "-> ${cyan}Generate makefile...${color_reset}"
|
||||||
make -j${make_threads}
|
qmake MRIVERSION=2.5
|
||||||
echo "-> ${cyan}Compile steamshim...${color_reset}"
|
echo "-> ${cyan}Compile engine...${color_reset}"
|
||||||
cd steamshim_parent
|
make -j${make_threads}
|
||||||
HOST=osx make -j${make_threads}
|
echo "-> ${cyan}Compile steamshim...${color_reset}"
|
||||||
cd ..
|
cd steamshim_parent
|
||||||
|
HOST=osx make -j${make_threads}
|
||||||
|
cd ..
|
||||||
|
else
|
||||||
|
echo "${bold}WARNING: Conan/CMake method not ready yet.${color_reset}"
|
||||||
|
fi
|
||||||
echo "-> ${cyan}Compile journal...${color_reset}"
|
echo "-> ${cyan}Compile journal...${color_reset}"
|
||||||
pyinstaller journal/unix/journal.spec --onefile --windowed
|
pyinstaller journal/unix/journal.spec --onefile --windowed
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue