File: build-all.cmd

package info (click to toggle)
pycxx 5.4.1-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 660 kB
  • ctags: 1,292
  • sloc: cpp: 2,333; python: 205; makefile: 80; ansic: 22; sh: 9
file content (25 lines) | stat: -rw-r--r-- 688 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
setlocal
set BUILD_TYPE=Release
set ACTION=
if "%1" == "/debug" set BUILD_TYPE=Debug
if "%2" == "/debug" set BUILD_TYPE=Debug
if "%1" == "/clean" set ACTION=/clean
if "%2" == "/clean" set ACTION=/clean

setlocal
call setup-msvc6
echo on
msdev example_py22.dsw /make "example - Win32 %BUILD_TYPE%" %ACTION%
msdev example_py23.dsw /make "example - Win32 %BUILD_TYPE%" %ACTION%
msdev example_py23.dsw /make "pycxx_iter - Win32 %BUILD_TYPE%" %ACTION%
endlocal

setlocal
if "%ACTION%" == "" set ACTION=/build
call setup-msvc71
echo on
devenv example_py24.sln %ACTION% "%BUILD_TYPE%"  /project "example"
devenv example_py24.sln %ACTION% "%BUILD_TYPE%"  /project "pycxx_iter"
endlocal

endlocal