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:
parent
5c10a8b01c
commit
2221554050
6 changed files with 18 additions and 20 deletions
|
@ -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
|
|
@ -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 ..
|
||||
|
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue