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 28, 2018
1 parent 6a4e2ce commit 59eeaf7
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,19 +29,23 @@ 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^
externals\doxygen\install-doxygen.bat^
run-doxygen.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 59eeaf7

Please sign in to comment.