mirror of
https://github.com/rvtr/ctr_Repair.git
synced 2025-10-31 13:51:08 -04:00
git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-05-23%20-%20ctr.7z%20+%20svn_v1.068.zip/ctr/svn/ctr_Repair@636 385bec56-5757-e545-9c3a-d8741f4650f1
35 lines
609 B
Bash
Executable File
35 lines
609 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# フラグ判定
|
|
for arg in $@
|
|
do
|
|
if [ "$arg" = 'RELEASE' ]; then
|
|
releaseBuild=true
|
|
fi
|
|
done
|
|
|
|
if [ $releaseBuild ] ; then
|
|
BUILD_TYPE=release
|
|
OPTION="PROD_BUILD=true"
|
|
else
|
|
BUILD_TYPE=development
|
|
fi
|
|
|
|
#################### 通常ビルド ####################
|
|
# ツールのビルド
|
|
omake BUILD=$BUILD_TYPE FILTER=CTR-TS.*fast -j8 $OPTION
|
|
|
|
#Releaseはツールのみ
|
|
if [ $releaseBuild ] ; then
|
|
exit
|
|
fi
|
|
|
|
# CTR自動テストのビルド
|
|
cd tests
|
|
omake -j8 dotests-emumem BUILD=development FILTER=CTR-TS*.fast SKIP_RUN=true
|
|
cd ../
|
|
|
|
# PC上のテストのビルド
|
|
cd tests/googletest/
|
|
omake -j8
|
|
cd ../../ |