|
echo off
REM ###########################################################################
REM # platform\visualCpp6\setup.bat
REM #
REM # CINT (C/C++ interpreter) installation script for Visual C++ 6.0 or later
REM #
REM ###########################################################################
REM # SET CINTSYSDIR TEMPOLARILLY
SET CINTSYSDIR=C:\CINT
REM # COPY MAKEINFO
del %CINTSYSDIR%\MAKEINFO
del %CINTSYSDIR%\make.bat
copy %CINTSYSDIR%\platform\visualCpp6\MAKEINFO %CINTSYSDIR%\MAKEINFO
copy %CINTSYSDIR%\platform\visualCpp6\update.bat %CINTSYSDIR%\update.bat
copy %CINTSYSDIR%\platform\visualCpp6\updatedb.bat %CINTSYSDIR%\updatedb.bat
REM # COPY PROJECT FILES
mkdir %CINTSYSDIR%\cint
copy %CINTSYSDIR%\platform\visualCpp6\cint.mak %CINTSYSDIR%\cint\cint.mak
copy %CINTSYSDIR%\platform\visualCpp6\cint.dsw %CINTSYSDIR%\cint\cint.dsw
copy %CINTSYSDIR%\platform\visualCpp6\cint.dsp %CINTSYSDIR%\cint\cint.dsp
mkdir %CINTSYSDIR%\src\libcint
copy %CINTSYSDIR%\platform\visualCpp6\src\libcint.mak %CINTSYSDIR%\src\libcint\libcint.mak
copy %CINTSYSDIR%\platform\visualCpp6\src\libcint.def %CINTSYSDIR%\src\libcint\libcint.def
copy %CINTSYSDIR%\platform\visualCpp6\src\libcint.dsw %CINTSYSDIR%\src\libcint\libcint.dsw
copy %CINTSYSDIR%\platform\visualCpp6\src\libcint.dsp %CINTSYSDIR%\src\libcint\libcint.dsp
mkdir %CINTSYSDIR%\include\mkincld
copy %CINTSYSDIR%\platform\visualCpp6\include\mkincld.mak %CINTSYSDIR%\include\mkincld\mkincld.mak
copy %CINTSYSDIR%\platform\visualCpp6\include\mkincld.mdp %CINTSYSDIR%\include\mkincld\mkincld.mdp
REM # BUILD LIBCINT.DLL
cd %CINTSYSDIR%\src\libcint
REM nmake -f libcint.mak clean CFG="libcint - Win32 Release"
nmake -f libcint.mak ALL CFG="libcint - Win32 Release"
del %CINTSYSDIR%\libcint.dll
del %CINTSYSDIR%\libcint.lib
move %CINTSYSDIR%\src\libcint\Release\libcint.dll %CINTSYSDIR%\libcint.dll
move %CINTSYSDIR%\src\libcint\Release\libcint.lib %CINTSYSDIR%\libcint.lib
REM # BUILD CINT.EXE
cd %CINTSYSDIR%\cint
REM nmake -f cint.mak CLEAN CFG="cint - Win32 Release"
nmake -f cint.mak ALL CFG="cint - Win32 Release"
del %CINTSYSDIR%\cint.exe
move %CINTSYSDIR%\cint\Release\cint.exe %CINTSYSDIR%\cint.exe
REM # BUILD AND RUN MKINCLD
cd %CINTSYSDIR%\include\mkincld
REM nmake -f mkincld.mak CLEAN CFG="mkincld - Win32 Release"
nmake -f mkincld.mak ALL CFG="mkincld - Win32 Release"
del %CINTSYSDIR%\include\mkincld.exe
move %CINTSYSDIR%\include\mkincld\Release\mkincld.exe %CINTSYSDIR%\include\mkincld.exe
cd %CINTSYSDIR%\include
mkincld
REM # BUILD MAKECINT
cd %CINTSYSDIR%\platform\visualCpp6\tool\makecint
REM nmake -f makecint.mak CLEAN CFG="makecint - Win32 Release"
nmake -f makecint.mak ALL CFG="makecint - Win32 Release"
del %CINTSYSDIR%\makecint.exe
move %CINTSYSDIR%\platform\visualCpp6\tool\makecint\Release\makecint.exe %CINTSYSDIR%\makecint.exe
REM # BACK TO THE ORIGINAL DIRECTORY
cd %CINTSYSDIR%\platform\visualCpp6
REM # Add environment variables to autoexec.bat
%CINTSYSDIR%\CINT autoexec.c
SET PATH=%CINTSYSDIR%;%PATH%
REM # Win32api and longlong library (optional)
cd %CINTSYSDIR%\lib\longlong
%CINTSYSDIR%\CINT -x main(){system(\"setup.bat\");}
cd %CINTSYSDIR%\lib\win32api
%CINTSYSDIR%\CINT -x main(){system(\"setup.bat\");}
cd %CINTSYSDIR%\lib\posix
%CINTSYSDIR%\CINT -x main(){system(\"setup.bat\");}
cd %CINTSYSDIR%\lib\socket
%CINTSYSDIR%\CINT -x main(){system(\"setup.bat\");}
cd %CINTSYSDIR%\lib\dll_stl
%CINTSYSDIR%\CINT -x main(){system(\"setup.bat\");}
cd %CINTSYSDIR%\lib\stdstrct
%CINTSYSDIR%\CINT -x main(){system(\"setup.bat\");}
cd %CINTSYSDIR%\tool\ifdef
%CINTSYSDIR%\CINT -x main(){system(\"setup.bat\");}
REM # Compile DLL library (optional)
cd %CINTSYSDIR%\include
%CINTSYSDIR%\CINT makeit.c
cd %CINTSYSDIR%
echo End of CINT installation
echo #
echo #####################################
echo # Answer YES to following questions #
echo #####################################
echo #
echo Remiving %CINTSYSDIR%\cint\Release
del %CINTSYSDIR%\cint\Release
rmdir %CINTSYSDIR%\cint\Release
echo Removing %CINTSYSDIR%\src\libcint\Release
del %CINTSYSDIR%\src\libcint\Release
rmdir %CINTSYSDIR%\src\libcint\Release
echo Removing %CINTSYSDIR%\include\mkincld\Release
del %CINTSYSDIR%\include\mkincld\Release
rmdir %CINTSYSDIR%\include\mkincld\Release
echo Removing %CINTSYSDIR%\platform\visualCpp6\tool\makecint\Release
del %CINTSYSDIR%\platform\visualCpp6\tool\makecint\Release
rmdir %CINTSYSDIR%\platform\visualCpp6\tool\makecint\Release
echo Removing %CINTSYSDIR%\lib\longlong\Release
del %CINTSYSDIR%\lib\longlong\Release
rmdir %CINTSYSDIR%\lib\longlong\Release
echo Removing %CINTSYSDIR%\lib\win32api\Release
del %CINTSYSDIR%\lib\win32api\Release
rmdir %CINTSYSDIR%\lib\win32api\Release
echo Removing %CINTSYSDIR%\lib\posix\Release
del %CINTSYSDIR%\lib\posix\Release
rmdir %CINTSYSDIR%\lib\posix\Release
echo Removing %CINTSYSDIR%\lib\socket\Release
del %CINTSYSDIR%\lib\socket\Release
rmdir %CINTSYSDIR%\lib\socket\Release
echo Removing %CINTSYSDIR%\lib\dll_stl\Release
del %CINTSYSDIR%\lib\dll_stl\Release
rmdir %CINTSYSDIR%\lib\dll_stl\Release
echo #
echo ##########################################################
echo # AUTOEXEC.bat may have been modified.
echo # --- Reboot Windows ---
echo ##########################################################
echo #
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.