add build process for msvc also the toolkit (no nmake, no lib)

git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@234 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
syntheticpp 2005-09-15 14:33:01 +00:00
parent 5c10a8b01c
commit 2221554050
6 changed files with 18 additions and 20 deletions

View file

@ -1,5 +1,5 @@
if not exist obj\ mkdir obj
if not exist tmp\ mkdir tmp
cl -c -Zm200 -O2 -MT -EHsc -GR -W0 -wd4710 -I"." -I"..\include" -I"..\include\loki" -Foobj\ Factory.cpp
cl -c -Zm200 -O2 -MT -EHsc -GR -W0 -wd4710 -I"." -I"..\include" -I"..\include\loki" -Fotmp\ Factory.cpp
link /NOLOGO /SUBSYSTEM:CONSOLE /incremental:no /OUT:"main-msvc.exe" obj\Factory.obj ..\lib\SmallObj.obj ..\lib\Singleton.obj
link /NOLOGO /SUBSYSTEM:CONSOLE /incremental:no /OUT:"main-msvc.exe" tmp\Factory.obj ..\lib\SmallObj.obj ..\lib\Singleton.obj

View file

@ -2,7 +2,7 @@
:: Toolkit 2003
if defined VCToolkitInstallDir (
if exist "%VCToolkitInstallDir%\vcvars32.bat2" (
if exist "%VCToolkitInstallDir%\vcvars32.bat" (
echo -
echo - VC 7.1 Toolkit found.
echo -
@ -15,9 +15,9 @@ if defined VCToolkitInstallDir (
if defined VCINSTALLDIR (
if exist "%VCINSTALLDIR%\vcvarsall.bat" (
echo -
echo - Visual C++ 8 found.
echo - Visual C++ found.
echo -
call "%VCINSTALLDIR%\vcvarsall.bat x86"
call "%VCINSTALLDIR%\vcvarsall.bat" x86
set MSVCDir=%VCINSTALLDIR%
goto STARTCOMPILING
)
@ -47,7 +47,6 @@ goto ERROR
:: loki buid process
cd src
call make.msvc.bat
cd ..

View file

@ -1,5 +1,5 @@
if not exist obj\ mkdir obj
if not exist tmp\ mkdir tmp
cl -c -Zm200 -O2 -MT -EHsc -GR -W0 -wd4710 -I"." -I"..\..\include" -I"..\..\include\loki" -Foobj\ main.cpp
cl -c -Zm200 -O2 -MT -EHsc -GR -W0 -wd4710 -I"." -I"..\..\include" -I"..\..\include\loki" -Fotmp\ main.cpp
link /NOLOGO /SUBSYSTEM:CONSOLE /incremental:no /OUT:"main-msvc.exe" obj\main.obj ..\..\lib\SmallObj.obj ..\..\lib\Singleton.obj
link /NOLOGO /SUBSYSTEM:CONSOLE /incremental:no /OUT:"main-msvc.exe" tmp\main.obj ..\..\lib\SmallObj.obj ..\..\lib\Singleton.obj

View file

@ -1,5 +1,5 @@
if not exist obj\ mkdir obj
if not exist tmp\ mkdir tmp
cl -c -Zm200 -O2 -MT -EHsc -GR -W0 -wd4710 -I"." -I"..\..\include" -I"..\..\include\loki" -Foobj\ SmallObjBench.cpp
cl -c -Zm200 -O2 -MT -EHsc -GR -W0 -wd4710 -I"." -I"..\..\include" -I"..\..\include\loki" -Fotmp\ SmallObjBench.cpp
link /NOLOGO /SUBSYSTEM:CONSOLE /incremental:no /OUT:"main-msvc.exe" obj\SmallObjBench.obj ..\..\lib\SmallObj.obj ..\..\lib\Singleton.obj
link /NOLOGO /SUBSYSTEM:CONSOLE /incremental:no /OUT:"main-msvc.exe" tmp\SmallObjBench.obj ..\..\lib\SmallObj.obj ..\..\lib\Singleton.obj

View file

@ -1,5 +1,5 @@
if not exist obj\ mkdir obj
if not exist tmp\ mkdir tmp
cl -c -Zm200 -O2 -MT -EHsc -GR -W0 -wd4710 -I"." -I"..\..\include" -I"..\..\include\loki" -Foobj\ main.cpp
cl -c -Zm200 -O2 -MT -EHsc -GR -W0 -wd4710 -I"." -I"..\..\include" -I"..\..\include\loki" -Fotmp\ main.cpp
link /NOLOGO /SUBSYSTEM:CONSOLE /incremental:no /OUT:"main-msvc.exe" obj\main.obj ..\..\lib\SmallObj.obj ..\..\lib\Singleton.obj
link /NOLOGO /SUBSYSTEM:CONSOLE /incremental:no /OUT:"main-msvc.exe" tmp\main.obj ..\..\lib\SmallObj.obj ..\..\lib\Singleton.obj

View file

@ -1,6 +1,5 @@
if not exist obj\ mkdir obj
if not exist tmp\ mkdir tmp
cl -c -Zm200 -O2 -MT -EHsc -GR -W0 -wd4710 -I"." -I"..\..\include" -I"..\..\include\loki" -Foobj\ Test.cpp
cl -c -Zm200 -O2 -MT -EHsc -GR -W0 -wd4710 -I"." -I"..\..\include" -I"..\..\include\loki" -Fotmp\ Test.cpp
link /NOLOGO /SUBSYSTEM:CONSOLE /incremental:no /OUT:"main-msvc.exe" obj\Test.obj
::..\..\lib\SmallObj.obj ..\..\lib\Singleton.obj
link /NOLOGO /SUBSYSTEM:CONSOLE /incremental:no /OUT:"main-msvc.exe" tmp\Test.obj