Skip to content

Commit

Permalink
Set up proper version number and fixed set build config
Browse files Browse the repository at this point in the history
  • Loading branch information
vpereverzev authored and igorkorsukov committed Oct 16, 2020
1 parent 257872d commit 465e7b6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions config.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
# The MuseScore version number.
SET(MUSESCORE_NAME "MuseScore")
SET(MUSESCORE_VERSION_MAJOR "3")
SET(MUSESCORE_VERSION_MINOR "6")
SET(MUSESCORE_VERSION_PATCH "0")
SET(MUSESCORE_VERSION_MINOR "5")
SET(MUSESCORE_VERSION_PATCH "2")
SET(MUSESCORE_VERSION_LABEL "")

message(STATUS "MUSESCORE_BUILD_CONFIG ${MUSESCORE_BUILD_CONFIG}")
Expand Down
6 changes: 5 additions & 1 deletion msvc_build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -190,9 +190,13 @@ IF NOT "%MSCORE_STABLE_BUILD%" == "" (
)
)

IF "%MUSESCORE_BUILD_CONFIG%" == "" (
SET MUSESCORE_BUILD_CONFIG="dev"
)

SET "INSTALL_FOLDER=%INSTALL_FOLDER:\=/%"
REM -DCMAKE_BUILD_NUMBER=%BUILD_NUMBER% -DCMAKE_BUILD_AUTOUPDATE=%BUILD_AUTOUPDATE% %CRASH_REPORT_URL_OPT% are used for CI only
cd "%BUILD_FOLDER%" & cmake -G "%GENERATOR_NAME%" -A "%PLATFORM_NAME%" -DCMAKE_INSTALL_PREFIX=../%INSTALL_FOLDER% -DCMAKE_BUILD_TYPE=%CONFIGURATION_STR% -DBUILD_FOR_WINSTORE=%BUILD_FOR_WINSTORE% -DBUILD_64=%BUILD_64% -DCMAKE_BUILD_NUMBER=%BUILD_NUMBER% -DBUILD_AUTOUPDATE=%BUILD_AUTOUPDATE% %CRASH_REPORT_URL_OPT% %TELEMETRY_TRACK_ID_OPT% %WIN_PORTABLE_OPT% ..
cd "%BUILD_FOLDER%" & cmake -G "%GENERATOR_NAME%" -A "%PLATFORM_NAME%" -DCMAKE_INSTALL_PREFIX=../%INSTALL_FOLDER% -DCMAKE_BUILD_TYPE=%CONFIGURATION_STR% -DMUSESCORE_BUILD_CONFIG=%MUSESCORE_BUILD_CONFIG% -DBUILD_FOR_WINSTORE=%BUILD_FOR_WINSTORE% -DBUILD_64=%BUILD_64% -DCMAKE_BUILD_NUMBER=%BUILD_NUMBER% -DBUILD_AUTOUPDATE=%BUILD_AUTOUPDATE% %CRASH_REPORT_URL_OPT% %TELEMETRY_TRACK_ID_OPT% %WIN_PORTABLE_OPT% ..
echo Building MuseScore...
cd "%BUILD_FOLDER%" & cmake --build . --config %CONFIGURATION_STR% --target mscore
GOTO :END
Expand Down

0 comments on commit 465e7b6

Please sign in to comment.