IncrediBuildがあるなら使うように

git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-05-23%20-%20ctr.7z%20+%20svn_v1.068.zip/ctr/svn/ctr_Repair@637 385bec56-5757-e545-9c3a-d8741f4650f1
This commit is contained in:
N2614 2012-02-16 01:43:20 +00:00
parent d7cdb29852
commit 42e7731a92
3 changed files with 40 additions and 7 deletions

View File

@ -6,12 +6,13 @@ CTR_SDK-3_3 branch r45925
ARM C/C++ Compiler, 4.1 [Build 791] for Nintendo
【ビルド時の注意】
開発機・量産機でAES鍵を変えるため
開発機・量産機でAES鍵を変えるため
量産機用ビルドの場合
PROD_BUILD=true
build.sh RELEASE
でビルドすること。
を有効にしてomakeを実行すること。
【その他】
PC上でのgoogletestを使う場合BOM付きのUTF-8を

View File

@ -9,15 +9,27 @@ do
done
if [ $releaseBuild ] ; then
BUILD_TYPE=release
BUILD_TYPE=release,development
OPTION="PROD_BUILD=true"
else
BUILD_TYPE=development
fi
# IncrediBuildªŽg¦é©
which xgConsole > /dev/null 2>&1
if [ "$?" -eq 0 ]; then
echo "Use IncrediBuild"
useIncrediBuild=true
fi
#################### 通常ビルド ####################
# ツールのビルド
omake BUILD=$BUILD_TYPE FILTER=CTR-TS.*fast -j8 $OPTION
toolBuildExec="omake BUILD=$BUILD_TYPE FILTER=CTR-TS.*fast -j8 $OPTION"
if [ $useIncrediBuild ] ; then
xgConsole /command="$toolBuildExec" /profile="profile.xml"
else
$toolBuildExec
fi
#Releaseはツールのみ
if [ $releaseBuild ] ; then
@ -25,11 +37,21 @@ if [ $releaseBuild ] ; then
fi
# CTR自動テストのビルド
testBuildExec="omake -j8 dotests-emumem BUILD=development FILTER=CTR-TS*.fast SKIP_RUN=true"
cd tests
omake -j8 dotests-emumem BUILD=development FILTER=CTR-TS*.fast SKIP_RUN=true
if [ $useIncrediBuild ] ; then
xgConsole /command="$testBuildExec" /profile="../profile.xml"
else
$testBuildExec
fi
cd ../
# PC上のテストのビルド
cd tests/googletest/
omake -j8
if [ $useIncrediBuild ] ; then
xgConsole /command="omake -j8" /profile="../../profile.xml"
else
omake -j8
fi
cd ../../

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<Profile FormatVersion="1">
<Tools>
<Tool Filename="omake" AllowIntercept="true" />
<Tool Filename="armcc" AllowRemote="true" DeriveCaptionFrom="lastparam" />
<Tool Filename="armlink" AllowRemote="true" DeriveCaptionFrom="lastparam" />
<Tool Filename="perl" AllowRemote="false" AllowIntercept="true" />
</Tools>
</Profile>