]> granicus.if.org Git - nethack/commitdiff
Getting build working.
authorBart House <bart@barthouse.com>
Sat, 17 Nov 2018 22:48:38 +0000 (14:48 -0800)
committerBart House <bart@barthouse.com>
Sat, 17 Nov 2018 22:48:38 +0000 (14:48 -0800)
win/win32/vs2017/NetHack.vcxproj
win/win32/vs2017/dirs.props

index 66ad09e341dc92de50760fb9238817f6c898ae0b..981bc1e45f0a2c961ea20b412177327dca555e31 100644 (file)
   <PropertyGroup>\r
     <OutDir>$(BinDir)</OutDir>\r
   </PropertyGroup>\r
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">\r
+    <IncludePath>$(PDCURSES);$(IncludePath)</IncludePath>\r
+  </PropertyGroup>\r
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">\r
+    <IncludePath>$(PDCURSES);$(IncludePath)</IncludePath>\r
+  </PropertyGroup>\r
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">\r
+    <IncludePath>$(PDCURSES);$(IncludePath)</IncludePath>\r
+  </PropertyGroup>\r
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">\r
+    <IncludePath>$(PDCURSES);$(IncludePath)</IncludePath>\r
+  </PropertyGroup>\r
   <ItemDefinitionGroup>\r
     <ClCompile>\r
       <AdditionalOptions>/Gs /Oi- %(AdditionalOptions)</AdditionalOptions>\r
       <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>\r
       <OmitFramePointers>true</OmitFramePointers>\r
       <AdditionalIncludeDirectories>$(WinWin32Dir);$(IncDir);$(SysWinntDir);$(SysShareDir);$(WinShareDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>\r
-      <PreprocessorDefinitions>TILES;WIN32CON;DLB;MSWIN_GRAPHICS;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
+      <PreprocessorDefinitions>TILES;WIN32CON;DLB;MSWIN_GRAPHICS;CURSES_GRAPHICS;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
     </ClCompile>\r
     <Link>\r
-      <AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;winmm.lib;Winmm.lib;%(AdditionalDependencies)</AdditionalDependencies>\r
+      <AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;winmm.lib;Winmm.lib;PDCurses.lib;%(AdditionalDependencies)</AdditionalDependencies>\r
+      <AdditionalLibraryDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(PDCURSES)\bin\$(Platform)\$(Configuration)\</AdditionalLibraryDirectories>\r
+      <AdditionalLibraryDirectories Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(PDCURSES)\bin\$(Platform)\$(Configuration)\</AdditionalLibraryDirectories>\r
+      <AdditionalLibraryDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(PDCURSES)\bin\$(Platform)\$(Configuration)\</AdditionalLibraryDirectories>\r
+      <AdditionalLibraryDirectories Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(PDCURSES)\bin\$(Platform)\$(Configuration)\</AdditionalLibraryDirectories>\r
     </Link>\r
   </ItemDefinitionGroup>\r
   <ItemGroup>\r
     <ClCompile Include="$(WinTtyDir)getline.c" />\r
     <ClCompile Include="$(WinTtyDir)topl.c" />\r
     <ClCompile Include="$(WinTtyDir)wintty.c" />\r
+    <ClCompile Include="$(WinCursDir)cursdial.c" />\r
+    <ClCompile Include="$(WinCursDir)cursinit.c" />\r
+    <ClCompile Include="$(WinCursDir)cursinvt.c" />\r
+    <ClCompile Include="$(WinCursDir)cursmain.c" />\r
+    <ClCompile Include="$(WinCursDir)cursmesg.c" />\r
+    <ClCompile Include="$(WinCursDir)cursmisc.c" />\r
+    <ClCompile Include="$(WinCursDir)cursstat.c" />\r
+    <ClCompile Include="$(WinCursDir)curswins.c" />\r
   </ItemGroup>\r
   <ItemGroup>\r
     <ClInclude Include="$(IncDir)align.h" />\r
     <ClInclude Include="$(IncDir)you.h" />\r
     <ClInclude Include="$(IncDir)youprop.h" />\r
     <ClInclude Include="$(WinWin32Dir)nhresource.h" />\r
+    <ClInclude Include="$(WinCursDir)cursdial.h" />\r
+    <ClInclude Include="$(WinCursDir)cursinit.h" />\r
+    <ClInclude Include="$(WinCursDir)cursinvt.h" />\r
+    <ClInclude Include="$(WinCursDir)cursmesg.h" />\r
+    <ClInclude Include="$(WinCursDir)cursmisc.h" />\r
+    <ClInclude Include="$(WinCursDir)cursstat.h" />\r
+    <ClInclude Include="$(WinCursDir)curswins.h" />\r
   </ItemGroup>\r
   <ItemGroup>\r
     <ResourceCompile Include="$(WinWin32Dir)NetHack.rc" />\r
   <Target Name="AfterRebuild">\r
     <MSBuild Projects="afternethack.proj" Targets="Build" Properties="Configuration=$(Configuration)" />\r
   </Target>\r
-</Project>\r
+</Project>
\ No newline at end of file
index 9d4ed49e4bf37ee779950ce821c56c61bad93990..e1c36b8a192c2995fd527bccf80c86ec0b75ebe9 100644 (file)
@@ -20,5 +20,6 @@
     <WinWin32Dir>$(RootDir)win\win32\</WinWin32Dir>
     <OutDir>$(ToolsDir)</OutDir>
        <IntDir>$(ObjDir)</IntDir>
+       <WinCursDir>$(RootDir)win\curses\</WinCursDir>
   </PropertyGroup>
 </Project>