mirror of
https://gitee.com/houstudio/Cdroid.git
synced 2024-11-30 11:18:02 +08:00
18 lines
307 B
Bash
Executable File
18 lines
307 B
Bash
Executable File
if [ $# -gt 0 ]
|
|
then
|
|
mkdir -p out-ali3528r
|
|
pushd out-ali3528r
|
|
TYPE=Release
|
|
else
|
|
mkdir -p out-ali3528
|
|
pushd out-ali3528
|
|
TYPE=Debug
|
|
fi
|
|
|
|
cmake -DCMAKE_TOOLCHAIN_FILE=../cmake/ali3528-mtitoolchain.cmake \
|
|
-DCMAKE_INSTALL_PREFIX=./ \
|
|
-DCDROID_CHIPSET="ali3528" \
|
|
-DCMAKE_BUILD_TYPE=${TYPE} \
|
|
..
|
|
popd
|