/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to build.cmd

  • Committer: Jelmer Vernooij
  • Date: 2019-03-05 07:32:38 UTC
  • mto: (7290.1.21 work)
  • mto: This revision was merged to the branch mainline in revision 7311.
  • Revision ID: jelmer@jelmer.uk-20190305073238-zlqn981opwnqsmzi
Add appveyor configuration.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
@echo off
 
2
:: To build extensions for 64 bit Python 3, we need to configure environment
 
3
:: variables to use the MSVC 2010 C++ compilers from GRMSDKX_EN_DVD.iso of:
 
4
:: MS Windows SDK for Windows 7 and .NET Framework 4
 
5
::
 
6
:: More details at:
 
7
:: https://github.com/cython/cython/wiki/CythonExtensionsOnWindows
 
8
 
 
9
IF "%DISTUTILS_USE_SDK%"=="1" (
 
10
    ECHO Configuring environment to build with MSVC on a 64bit architecture
 
11
    ECHO Using Windows SDK 7.1
 
12
    "C:\Program Files\Microsoft SDKs\Windows\v7.1\Setup\WindowsSdkVer.exe" -q -version:v7.1
 
13
    CALL "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64 /release
 
14
    SET MSSdk=1
 
15
    REM Need the following to allow tox to see the SDK compiler
 
16
    SET TOX_TESTENV_PASSENV=DISTUTILS_USE_SDK MSSdk INCLUDE LIB
 
17
) ELSE (
 
18
    ECHO Using default MSVC build environment
 
19
)
 
20
 
 
21
CALL %*