Build curses if PDCurses is available.
There are two ways to enable curses in the build. Either set the environment variable PDCURSES to a folder containing a PDCurses repository OR place the PDCurses folder alongside the NetHack source repository.
This commit is contained in:
@@ -22,4 +22,7 @@
|
||||
<IntDir>$(ObjDir)</IntDir>
|
||||
<WinCursDir>$(RootDir)win\curses\</WinCursDir>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(PDCURSES)'=='' AND Exists('$(RootDir)..\PDCurses')">
|
||||
<PDCURSES>$(RootDir)..\PDCurses\</PDCURSES>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
|
||||
Reference in New Issue
Block a user