mirror of
https://github.com/rvtr/ctr_Repair.git
synced 2025-10-31 13:51:08 -04:00
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:
parent
d7cdb29852
commit
42e7731a92
@ -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を
|
||||
|
||||
@ -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 ../../
|
||||
10
trunk/ConsoleDataMigration/sources/profile.xml
Normal file
10
trunk/ConsoleDataMigration/sources/profile.xml
Normal 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>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user