Skip to content

Commit

Permalink
ビルド時間と生成物サイズ削減のため、Release と Debug でビルド内容を分ける。
Browse files Browse the repository at this point in the history
* Cppcheck には Config の別を伝えていないので、Config:Debug でだけ実行すれば十分。
* ヘルプとインストーラの作成は Config:Release でだけ実行する。
  • Loading branch information
ds14050 committed Nov 20, 2018
1 parent 78f9372 commit b31704b
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions build-all.bat
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,21 @@ if "%configuration%" == "Release" (

rem plarform & config specialization

if "%PLATFORM%" == "MinGW" (
set BatchJobs=build-gnu.bat
rem Skip all other batch files because they reject MinGW platform.
) else (
if "%CONFIGURATION%" == "Release" (
set BatchJobs=build-sln.bat^
build-chm.bat^
build-installer.bat^
zipArtifacts.bat
) else (
set BatchJobs=build-sln.bat^
externals\cppcheck\install-cppcheck.bat^
run-cppcheck.bat^
zipArtifacts.bat
)
if "%PLATFORM%" == "MinGW" (
set BatchJobs=build-gnu.bat
rem Skip all other batch files because they reject MinGW platform.
)

rem run

Expand Down

0 comments on commit b31704b

Please sign in to comment.