Way to automize compiling SDL CVS Version with MSVC?

On CYGWIN and LINUX i use the following script to always download and install the
latest CVS Version :

#!/bin/sh
cvs -z3 -d :pserver:guest at libsdl.org:/home/sdlweb/libsdl.org/cvs login <EmptyLine.txt
cvs -z3 -d :pserver:guest at libsdl.org:/home/sdlweb/libsdl.org/cvs co SDL12
cvs -d :pserver:guest at libsdl.org:/home/sdlweb/libsdl.org/cvs logout
cd SDL12
./autogen.sh
./configure
make
make install
cd …
rm -rf SDL12

Is there a similar way for MSVC ?

CU

Torsten Giebl wrote:

On CYGWIN and LINUX i use the following script to always download and install the
latest CVS Version :

#!/bin/sh
cvs -z3 -d :pserver:guest at libsdl.org:/home/sdlweb/libsdl.org/cvs login <EmptyLine.txt
cvs -z3 -d :pserver:guest at libsdl.org:/home/sdlweb/libsdl.org/cvs co SDL12
cvs -d :pserver:guest at libsdl.org:/home/sdlweb/libsdl.org/cvs logout
Is there a similar way for MSVC ?

you can use a .bat to get the latest cvs version,
then compile a project with MSVC with:
[path_to_msvc]msdev.exe workspace.dsw /MAKE ALL ALL

Gautier
www.tlk.fr

“Torsten Giebl” wrote:

On CYGWIN and LINUX i use the following script to always download and
install the latest CVS Version :

[…]

:pserver:guest at libsdl.org:/home/sdlweb/libsdl.org/cvs co SDL12 cvs -d
^^^^ (update)
[…]

rm -rf SDL12
^^^^

hmm, just out of curiosity: why do you delete the whole cvs tree
afterwards? just keep the tree and do a cvs update next
time. bandwidth has to be paid, even it’s not you. :wink:

best regards …
clemens

Great. I will try it. Thanks.

CU

“Gautier Portet” <gautier.nospam at tlk.fr> schrieb im Newsbeitrag news:aogjpd$2vc1$1 at hoth.stenstad.net…> Torsten Giebl wrote:

On CYGWIN and LINUX i use the following script to always download and install the
latest CVS Version :

#!/bin/sh
cvs -z3 -d :pserver:guest at libsdl.org:/home/sdlweb/libsdl.org/cvs login <EmptyLine.txt
cvs -z3 -d :pserver:guest at libsdl.org:/home/sdlweb/libsdl.org/cvs co SDL12
cvs -d :pserver:guest at libsdl.org:/home/sdlweb/libsdl.org/cvs logout
Is there a similar way for MSVC ?

you can use a .bat to get the latest cvs version,
then compile a project with MSVC with:
[path_to_msvc]msdev.exe workspace.dsw /MAKE ALL ALL

Gautier
www.tlk.fr

hmm, just out of curiosity: why do you delete the whole cvs tree
afterwards? just keep the tree and do a cvs update next
time. bandwidth has to be paid, even it’s not you. :wink:

You are right, i fast wrote it and didn?t take care about reducing Traffic :slight_smile:
The next version will be better :wink:

CU