f90018b857
Update cmake files to support 64-bit compilation. Add variables to easily switch between 32-bit and 64-bit compilation Update msvc_build.bat to support both 32-bit and 64-bit compilation Optimize msvc_build.bat to avoi excessive output Update AppVeyor build scripts so that default compilation is 64-bit now Make default configuration built from opening MuseScore directory 64-bit RelWithDebInfo. All other configurations are up to msvc_build.bat script. Qt libs which are used for building are placed in msvc2017_64 folder. These changes require new structure of the dependencies folder.
38 lines
No EOL
1.3 KiB
JSON
38 lines
No EOL
1.3 KiB
JSON
{
|
|
// See https://go.microsoft.com//fwlink//?linkid=834763 for more information about this file.
|
|
"configurations": [
|
|
{
|
|
"name": "x64-RelWithDebInfo",
|
|
"generator": "Visual Studio 15 2017 Win64",
|
|
"configurationType": "RelWithDebInfo",
|
|
"inheritEnvironments": [ "msvc_x64_x64" ],
|
|
"buildRoot": "${projectDir}\\msvc.build_x64", // "${env.USERPROFILE}\\CMakeBuilds\\${workspaceHash}\\build\\${name}",
|
|
"installRoot": "${projectDir}\\msvc.install_x64", // "${env.USERPROFILE}\\CMakeBuilds\\${workspaceHash}\\install\\${name}",
|
|
"cmakeCommandArgs": "-Wno-deprecated",
|
|
"variables": [
|
|
{
|
|
"name": "CMAKE_BUILD_TYPE",
|
|
"value": "RELWITHDEBINFO"
|
|
},
|
|
{
|
|
"name": "BUILD_FOR_WINSTORE",
|
|
"value": "OFF"
|
|
},
|
|
{
|
|
"name": "BUILD_64",
|
|
"value": "ON"
|
|
},
|
|
{
|
|
"name": "CMAKE_PREFIX_PATH",
|
|
"value": "${env.PATH};${projectDir}\\dependencies"
|
|
},
|
|
{
|
|
"name": "CMAKE_LIBRARY_PATH",
|
|
"value": "${projectDir}\\dependencies\\libx64"
|
|
}
|
|
],
|
|
"buildCommandArgs": "-v",
|
|
"ctestCommandArgs": ""
|
|
}
|
|
]
|
|
} |