2004-05-06 19:14:30 +02:00
|
|
|
@ECHO OFF
|
|
|
|
REM Create Visual Studio Workspaces on Windows
|
|
|
|
|
|
|
|
mkdir vc6
|
|
|
|
mkdir vc7
|
2004-12-28 12:16:05 +01:00
|
|
|
mkdir vc2003
|
2004-05-06 19:14:30 +02:00
|
|
|
|
|
|
|
REM Change to the lua project name, this must correspond to the base file name
|
|
|
|
REM of the created project files
|
2004-12-02 19:22:46 +01:00
|
|
|
SET PROJECT=pyrogenesis
|
2004-05-06 19:14:30 +02:00
|
|
|
|
2004-12-05 20:10:57 +01:00
|
|
|
cd ..\premake
|
2004-05-06 19:14:30 +02:00
|
|
|
|
2004-12-05 20:10:57 +01:00
|
|
|
REM Minor hack to make sure the relative paths are correct:
|
|
|
|
mkdir tmp
|
|
|
|
copy premake.lua tmp
|
|
|
|
cd tmp
|
2004-05-06 19:14:30 +02:00
|
|
|
|
2004-12-28 00:27:26 +01:00
|
|
|
REM Just copy *.sln/etc indiscriminately, because it might include both pyrogenesis.sln and sced.sln (or might not)
|
|
|
|
|
2004-12-05 20:10:57 +01:00
|
|
|
..\premake --target vs6
|
2004-12-28 00:27:26 +01:00
|
|
|
move *.dsw ..\..\workspaces\vc6
|
|
|
|
move *.dsp ..\..\workspaces\vc6
|
2004-05-06 19:14:30 +02:00
|
|
|
|
2004-12-05 20:10:57 +01:00
|
|
|
..\premake --target vs7
|
2004-12-28 00:27:26 +01:00
|
|
|
move *.sln ..\..\workspaces\vc7
|
|
|
|
move *.vcproj ..\..\workspaces\vc7
|
2004-12-05 20:10:57 +01:00
|
|
|
|
|
|
|
..\premake --target vs2003
|
2004-12-28 12:16:05 +01:00
|
|
|
move *.sln ..\..\workspaces\vc2003
|
|
|
|
move *.vcproj ..\..\workspaces\vc2003
|
2004-12-05 20:10:57 +01:00
|
|
|
|
|
|
|
cd ..\..\workspaces
|