mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 01:30:05 +00:00
Flexibility updates for Linux setup
This commit is contained in:
parent
a222c7d101
commit
cac240ddcc
3 changed files with 29 additions and 9 deletions
|
|
@ -1,5 +1,15 @@
|
|||
#!/bin/bash
|
||||
./tools/setup-common.sh
|
||||
mkdir -p build-debug
|
||||
cd build-debug
|
||||
cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CONFIGURATION_TYPES=Debug -DCMAKE_PREFIX_PATH=/opt/Qt/6.6.1/gcc_64 ..
|
||||
|
||||
build_dir=${1:-build-debug}
|
||||
build_type=Debug
|
||||
qt_version=6.6.1
|
||||
script_dir="$(dirname "$(readlink -f "$0")")"
|
||||
|
||||
mkdir -p ${build_dir}
|
||||
cmake -B ${build_dir} -S . \
|
||||
-DCMAKE_BUILD_TYPE=${build_type} \
|
||||
-DCMAKE_CONFIGURATION_TYPES=${build_type} \
|
||||
-DCMAKE_INSTALL_PREFIX=${build_dir}/${build_type}/supercell-wx \
|
||||
-DCMAKE_PREFIX_PATH=/opt/Qt/${qt_version}/gcc_64 \
|
||||
-G Ninja
|
||||
|
|
|
|||
|
|
@ -1,5 +1,15 @@
|
|||
#!/bin/bash
|
||||
./tools/setup-common.sh
|
||||
mkdir -p build-release
|
||||
cd build-release
|
||||
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_CONFIGURATION_TYPES=Release -DCMAKE_PREFIX_PATH=/opt/Qt/6.6.1/gcc_64 ..
|
||||
|
||||
build_dir=${1:-build-release}
|
||||
build_type=Release
|
||||
qt_version=6.6.1
|
||||
script_dir="$(dirname "$(readlink -f "$0")")"
|
||||
|
||||
mkdir -p ${build_dir}
|
||||
cmake -B ${build_dir} -S . \
|
||||
-DCMAKE_BUILD_TYPE=${build_type} \
|
||||
-DCMAKE_CONFIGURATION_TYPES=${build_type} \
|
||||
-DCMAKE_INSTALL_PREFIX=${build_dir}/${build_type}/supercell-wx \
|
||||
-DCMAKE_PREFIX_PATH=/opt/Qt/${qt_version}/gcc_64 \
|
||||
-G Ninja
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#!/bin/bash
|
||||
pip install "conan<2.0"
|
||||
pip install geopandas
|
||||
pip install GitPython
|
||||
pip install --upgrade --user --break-system-packages "conan<2.0"
|
||||
pip install --upgrade --user --break-system-packages geopandas
|
||||
pip install --upgrade --user --break-system-packages GitPython
|
||||
conan profile new default --detect
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue