mirror of
https://github.com/dolphin-emu/qsc.git
synced 2026-01-31 01:15:22 +01:00
Add support for vcvarsall
This commit is contained in:
@@ -112,6 +112,7 @@ if __name__ == "__main__":
|
||||
|
||||
os.putenv("VS_VERSION", compiler["version"])
|
||||
os.putenv("VS_EDITION", compiler["edition"])
|
||||
os.putenv("VCVARSALL", compiler.get("vcvarsall", ""))
|
||||
os.putenv("USE_VS", "1")
|
||||
else:
|
||||
print("Unknown compiler '{}'".format(compiler.name))
|
||||
|
||||
@@ -17,9 +17,14 @@ REM along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
IF "%USE_VS%"=="1" (
|
||||
call "%PROGRAMFILES(x86)%\Microsoft Visual Studio\%VS_VERSION%\%VS_EDITION%\Common7\Tools\VsDevCmd.bat"
|
||||
if "%VCVARSALL%"=="" (
|
||||
call "%PROGRAMFILES(x86)%\Microsoft Visual Studio\%VS_VERSION%\%VS_EDITION%\Common7\Tools\VsDevCmd.bat"
|
||||
) else (
|
||||
call "%PROGRAMFILES(x86)%\Microsoft Visual Studio\%VS_VERSION%\%VS_EDITION%\VC\Auxiliary\Build\vcvarsall.bat" %VCVARSALL%
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
:configure
|
||||
call ..\qt-everywhere-src-%RELEASE%\configure.bat ^
|
||||
-opensource -confirm-license ^
|
||||
|
||||
Reference in New Issue
Block a user