This commit is contained in:
nethack.allison
2002-01-13 21:58:30 +00:00
parent 37cb3b1d3d
commit cb6f682e9c
3 changed files with 16 additions and 16 deletions

View File

@@ -276,17 +276,18 @@ Setting Up
|
-----------------------------------------/ /---------------
| | | | | | | | |
util dat doc include src sys win winhacknt binary
util dat doc include src sys win build binary
| |
------ -----
| | |
share winnt win32
Those last two (winhacknt and binary) are created during the
build. They are not disributed as part of the source distribution.
nhsetup.bat moves many files into the "winhacknt" directory, and
"binary" will house everything you need to place the game after
building.
Those last two (build and binary) are created during the building
process. They are not disributed as part of the NetHack source
distribution. nhsetup.bat creates the build directory and moves
a few files into it, including the Visual C project files.
The "binary" directory will house everything you need to play the
game after building is complete.
Check the file "Files" in your top level directory for an exact
listing of what file is in which directory. In order for the
@@ -297,8 +298,8 @@ Setting Up
3. Start the Visual C IDE. In the Visual C IDE Menus, choose:
File | Open Workspace
4. In the Visual C "Open Workspace" dialog box, navigate to your nethack
source directory, specifically the winhacknt subdirectory.
4. In the Visual C "Open Workspace" dialog box, navigate to the top
of your NetHack source directory.
In there, highlight "nethack.dsw" and click on Open.

View File

@@ -55,7 +55,7 @@ LINK32=link.exe
# Begin Special Build Tool
SOURCE="$(InputPath)"
PostBuild_Desc=Packaging via DLB
PostBuild_Cmds=echo pushd ..\dat pushd ..\dat chdir echo data >dlb.lst echo oracles >>dlb.lst echo options >>dlb.lst echo quest.dat >>dlb.lst echo rumors >>dlb.lst echo help >>dlb.lst echo hh >>dlb.lst echo cmdhelp >>dlb.lst echo history >>dlb.lst echo opthelp >>dlb.lst echo wizhelp >>dlb.lst echo dungeon >>dlb.lst echo license >>dlb.lst for %%N in (*.lev) do echo %%N >>dlb.lst ..\util\dlb_main.exe cIf dlb.lst nhdat echo popd popd echo if NOT exist ..\binary\*.* mkdir ..\binary
PostBuild_Cmds=echo pushd ..\dat pushd ..\dat chdir echo data >dlb.lst echo oracles >>dlb.lst echo options >>dlb.lst echo quest.dat >>dlb.lst echo rumors >>dlb.lst echo help >>dlb.lst echo hh >>dlb.lst echo cmdhelp >>dlb.lst echo history >>dlb.lst echo opthelp >>dlb.lst echo wizhelp >>dlb.lst echo dungeon >>dlb.lst echo license >>dlb.lst for %%N in (*.lev) do echo %%N >>dlb.lst ..\util\dlb_main.exe cIf dlb.lst nhdat echo popd popd echo if NOT exist ..\binary\*.* mkdir ..\binary if NOT exist ..\binary\*.* mkdir ..\binary
# End Special Build Tool
!ELSEIF "$(CFG)" == "dlb_main - Win32 Debug"

View File

@@ -45,7 +45,7 @@ RSC=rc.exe
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /Yu"stdafx.h" /FD /c
# ADD CPP /nologo /W3 /GX /O2 /I "..\win\win32" /I "..\include" /I "..\sys\winnt" /I "..\sys\share" /I "..\win\share" /I "..\win\win32" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "_MBCS" /D "DLB" /D "MSWIN_GRAPHICS" /FD /c
# ADD CPP /nologo /W3 /GX /O2 /I "..\win\win32" /I "..\include" /I "..\sys\winnt" /I "..\sys\share" /I "..\win\share" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "_MBCS" /D "DLB" /D "MSWIN_GRAPHICS" /FD /c
# SUBTRACT CPP /YX /Yc /Yu
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
@@ -78,7 +78,7 @@ PostBuild_Cmds=copy $(OutDir)\winhack.exe ..\binary copy ..\dat\nhdat ..\binary
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /Yu"stdafx.h" /FD /GZ /c
# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "..\win\win32" /I "..\include" /I "..\sys\winnt" /I "..\sys\share" /I "..\win\share" /I "..\win\win32" /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D "_MBCS" /D "DLB" /D "MSWIN_GRAPHICS" /FD /GZ /c
# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "..\win\win32" /I "..\include" /I "..\sys\winnt" /I "..\sys\share" /I "..\win\share" /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D "_MBCS" /D "DLB" /D "MSWIN_GRAPHICS" /FD /GZ /c
# SUBTRACT CPP /YX /Yc /Yu
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
@@ -94,7 +94,7 @@ LINK32=link.exe
OutDir=.\Debug
SOURCE="$(InputPath)"
PostBuild_Desc=Install exe
PostBuild_Cmds=copy $(OutDir)\winhack.exe ..\binary copy ..\dat\nhdat ..\binary copy ..\dat\license ..\binary if exist tiles.bmp copy tiles.bmp ..\binary if exist ..\doc\Guidebook.txt copy ..\doc\Guidebook.txt ..\binary\Guidebook.txt if exist ..\doc\nethack.txt copy ..\doc\nethack.txt ..\binary\NetHack.txt if exist ..\doc\recover.txt copy ..\doc\recover.txt ..\binary\recover.txt copy ..\sys\winnt\winnt.cnf ..\binary\defaults.nh
PostBuild_Cmds=if NOT exist ..\binary\*.* mkdir ..\binary copy $(OutDir)\winhack.exe ..\binary copy ..\dat\nhdat ..\binary copy ..\dat\license ..\binary if exist tiles.bmp copy tiles.bmp ..\binary if exist ..\doc\Guidebook.txt copy ..\doc\Guidebook.txt ..\binary\Guidebook.txt if exist ..\doc\nethack.txt copy ..\doc\nethack.txt ..\binary\NetHack.txt if exist ..\doc\recover.txt copy ..\doc\recover.txt ..\binary\recover.txt copy ..\sys\winnt\winnt.cnf ..\binary\defaults.nh
# End Special Build Tool
!ELSEIF "$(CFG)" == "winhack - Win32 Unicode Release"
@@ -113,7 +113,7 @@ PostBuild_Cmds=copy $(OutDir)\winhack.exe ..\binary copy ..\dat\nhdat ..\binary
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /GX /O2 /I "..\win\win32" /I "..\include" /I "..\sys\winnt" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "_MBCS" /D "DLB" /FD /c
# SUBTRACT BASE CPP /YX /Yc /Yu
# ADD CPP /nologo /W3 /GX /O2 /I "..\win\win32" /I "..\include" /I "..\sys\winnt" /I "..\sys\share" /I "..\win\share" /I "..\win\win32" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "_UNICODE" /D "UNICODE" /D "DLB" /D "MSWIN_GRAPHICS" /FD /c
# ADD CPP /nologo /W3 /GX /O2 /I "..\win\win32" /I "..\include" /I "..\sys\winnt" /I "..\sys\share" /I "..\win\share" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "_UNICODE" /D "UNICODE" /D "DLB" /D "MSWIN_GRAPHICS" /FD /c
# SUBTRACT CPP /YX /Yc /Yu
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
@@ -148,7 +148,7 @@ PostBuild_Cmds=copy $(OutDir)\winhack.exe ..\binary copy ..\dat\nhdat ..\binary
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /I "..\win\win32" /I "..\include" /I "..\sys\winnt" /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D "_MBCS" /D "DLB" /FD /GZ /c
# SUBTRACT BASE CPP /YX /Yc /Yu
# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "..\win\win32" /I "..\include" /I "..\sys\winnt" /I "..\sys\share" /I "..\win\share" /I "..\win\win32" /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D "_UNICODE" /D "UNICODE" /D "DLB" /D "MSWIN_GRAPHICS" /FD /GZ /c
# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "..\win\win32" /I "..\include" /I "..\sys\winnt" /I "..\sys\share" /I "..\win\share" /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D "_UNICODE" /D "UNICODE" /D "DLB" /D "MSWIN_GRAPHICS" /FD /GZ /c
# SUBTRACT CPP /YX /Yc /Yu
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
@@ -163,8 +163,7 @@ LINK32=link.exe
# Begin Special Build Tool
OutDir=.\Unicode_Debug
SOURCE="$(InputPath)"
PostBuild_Desc=Install exe
PostBuild_Cmds=copy $(OutDir)\winhack.exe ..\binary copy ..\dat\nhdat ..\binary copy ..\dat\license ..\binary if exist tiles.bmp copy tiles.bmp ..\binary if exist ..\doc\Guidebook.txt copy ..\doc\Guidebook.txt ..\binary\Guidebook.txt if exist ..\doc\nethack.txt copy ..\doc\nethack.txt ..\binary\NetHack.txt if exist ..\doc\recover.txt copy ..\doc\recover.txt ..\binary\recover.txt copy ..\sys\winnt\winnt.cnf ..\binary\defaults.nh
PostBuild_Cmds=copy $(OutDir)\winhack.exe ..\binary copy ..\dat\nhdat ..\binary copy ..\dat\license ..\binary if exist ..\src\tiles.bmp copy ..\src\tiles.bmp ..\binary if exist ..\doc\Guidebook.txt copy ..\doc\Guidebook.txt ..\binary\Guidebook.txt if exist ..\doc\nethack.txt copy ..\doc\nethack.txt ..\binary\NetHack.txt if exist ..\doc\recover.txt copy ..\doc\recover.txt ..\binary\recover.txt copy ..\sys\winnt\winnt.cnf ..\binary\defaults.nh
# End Special Build Tool
!ENDIF