From 4794329e894f03ed11cb85988e481ea3e6a74c5b Mon Sep 17 00:00:00 2001 From: nhmall Date: Sat, 28 Feb 2015 13:17:55 -0500 Subject: [PATCH] Ensure nethack.exe gets copied to binary folder after it is built --- win/win32/vs2013/NetHack.vcxproj | 283 ++++++++++++++++--------------- 1 file changed, 147 insertions(+), 136 deletions(-) diff --git a/win/win32/vs2013/NetHack.vcxproj b/win/win32/vs2013/NetHack.vcxproj index 84feac399..397701d75 100644 --- a/win/win32/vs2013/NetHack.vcxproj +++ b/win/win32/vs2013/NetHack.vcxproj @@ -54,9 +54,19 @@ + + + + + + + + + + @@ -79,7 +89,7 @@ /Gs /Oi- /FS %(AdditionalOptions) Disabled Level3 - OnlyExplicitInline + Default Speed true MaxSpeed @@ -115,114 +125,133 @@ MachineX86 true + + true + .\Release/NetHack.bsc + - Install nethack.exe - copy $(OutDir)NetHack.exe ..\binary -if not exist ..\binary\nhdat copy ..\dat\nhdat ..\binary -if not exist ..\binary\license copy ..\dat\license ..\binary -if not exist ..\binary\Guidebook.txt copy ..\doc\Guidebook.txt ..\binary\Guidebook.txt -if not exist ..\binary\nethack.txt copy copy ..\doc\nethack.txt ..\binary\NetHack.txt -if not exist ..\binary\defaults.nh copy ..\sys\winnt\defaults.nh ..\binary\defaults.nh - + Install exe + + copy $(OutDir)NetHack.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 + copy ..\sys\winnt\defaults.nh ..\binary\defaults.nh + + + + + + /Gs /Oi- /FS %(AdditionalOptions) + Disabled + Level3 + Default + Speed + true + MaxSpeed + true + true + WIN32;WIN32CON;DLB;_CRT_SECURE_NO_DEPRECATE;_SCL_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;NDEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions) + true + ..\win\win32;..\include;..\sys\winnt;..\sys\share;..\win\share;%(AdditionalIncludeDirectories) + true + MultiThreaded + true + .\Release/NetHack.pch + .\$(ConfigurationName)\$(ProjectName)\ + .\$(ConfigurationName)\$(ProjectName)\ + .\$(ConfigurationName)\$(ProjectName)\ + Level3 + true + false + + + Console + true + true + true + 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;%(AdditionalDependencies) + true + true + .\Release/NetHack.pdb + true + .\Release/NetHack.map + + + + + true + .\Release/NetHack.bsc + + + Install exe + + copy $(OutDir)NetHack.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 + copy ..\sys\winnt\defaults.nh ..\binary\defaults.nh + + + + + + /Gs /Oi- /FS %(AdditionalOptions) + Disabled + Default + Speed + true + ..\win\win32;..\include;..\sys\winnt;..\sys\share;..\win\share;%(AdditionalIncludeDirectories) + NDEBUG;WIN32;WIN32CON;DLB;_DEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions) + true + true + MultiThreaded + true + .\Debug/NetHack.pch + .\$(ConfigurationName)\$(ProjectName)\ + .\$(ConfigurationName)\$(ProjectName)\ + .\$(ConfigurationName)\$(ProjectName)\ + Level3 + true + false + + + .\Release/NetHack.pdb + true + .\Release/NetHack.map + Console + true + 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;%(AdditionalDependencies) + MachineX86 + + + true + .\Debug/NetHack.bsc + + + Install exe + + if NOT exist ..\binary\*.* mkdir ..\binary + copy $(OutDir)NetHack.exe ..\binary + copy ..\dat\nhdat ..\binary + copy ..\dat\license ..\binary + copy ..\dat\symbols ..\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 + copy ..\sys\winnt\defaults.nh ..\binary\defaults.nh + - - - /Gs /Oi- /FS %(AdditionalOptions) - Disabled - Level3 - OnlyExplicitInline - Speed - true - MaxSpeed - true - true - WIN32;WIN32CON;DLB;_CRT_SECURE_NO_DEPRECATE;_SCL_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;NDEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions) - true - ..\win\win32;..\include;..\sys\winnt;..\sys\share;..\win\share;%(AdditionalIncludeDirectories) - true - MultiThreaded - true - .\Release/NetHack.pch - .\$(ConfigurationName)\$(ProjectName)\ - .\$(ConfigurationName)\$(ProjectName)\ - .\$(ConfigurationName)\$(ProjectName)\ - Level3 - true - false - - - Console - true - true - true - 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;%(AdditionalDependencies) - true - true - .\Release/NetHack.pdb - true - .\Release/NetHack.map - - - MachineX86 - - - Install nethack.exe - copy $(OutDir)NetHack.exe ..\binary -if not exist ..\binary\nhdat copy ..\dat\nhdat ..\binary -if not exist ..\binary\license copy ..\dat\license ..\binary -if not exist ..\binary\Guidebook.txt copy ..\doc\Guidebook.txt ..\binary\Guidebook.txt -if not exist ..\binary\nethack.txt copy copy ..\doc\nethack.txt ..\binary\NetHack.txt -if not exist ..\binary\defaults.nh copy ..\sys\winnt\defaults.nh ..\binary\defaults.nh - - - - - - /Gs /Oi- /FS %(AdditionalOptions) - Disabled - OnlyExplicitInline - Speed - true - ..\win\win32;..\include;..\sys\winnt;..\sys\share;..\win\share;%(AdditionalIncludeDirectories) - NDEBUG;WIN32;WIN32CON;DLB;_DEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions) - true - true - MultiThreaded - true - .\Debug/NetHack.pch - .\$(ConfigurationName)\$(ProjectName)\ - .\$(ConfigurationName)\$(ProjectName)\ - .\$(ConfigurationName)\$(ProjectName)\ - Level3 - true - false - - - .\Release/NetHackW.pdb - true - .\Release/NetHack.map - Console - true - 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;%(AdditionalDependencies) - MachineX86 - - - Install nethack.exe - copy $(OutDir)NetHack.exe ..\binary -if not exist ..\binary\nhdat copy ..\dat\nhdat ..\binary -if not exist ..\binary\license copy ..\dat\license ..\binary -if not exist ..\binary\Guidebook.txt copy ..\doc\Guidebook.txt ..\binary\Guidebook.txt -if not exist ..\binary\nethack.txt copy copy ..\doc\nethack.txt ..\binary\NetHack.txt -if not exist ..\binary\defaults.nh copy ..\sys\winnt\defaults.nh ..\binary\defaults.nh - - - /Gs /Oi- /FS %(AdditionalOptions) Disabled - OnlyExplicitInline + Default Speed true ..\win\win32;..\include;..\sys\winnt;..\sys\share;..\win\share;%(AdditionalIncludeDirectories) @@ -248,43 +277,25 @@ if not exist ..\binary\defaults.nh copy ..\sys\winnt\defaults.nh ..\binary\defau 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) /SAFESEH:NO %(AdditionalOptions) + + true + .\Debug/NetHack.bsc + - Install nethack.exe - copy $(OutDir)NetHack.exe ..\binary -if not exist ..\binary\nhdat copy ..\dat\nhdat ..\binary -if not exist ..\binary\license copy ..\dat\license ..\binary -if not exist ..\binary\Guidebook.txt copy ..\doc\Guidebook.txt ..\binary\Guidebook.txt -if not exist ..\binary\nethack.txt copy copy ..\doc\nethack.txt ..\binary\NetHack.txt -if not exist ..\binary\defaults.nh copy ..\sys\winnt\defaults.nh ..\binary\defaults.nh - + Install exe + + if NOT exist ..\binary\*.* mkdir ..\binary + copy $(OutDir)NetHack.exe ..\binary + copy ..\dat\nhdat ..\binary + copy ..\dat\license ..\binary + copy ..\dat\symbols ..\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 + copy ..\sys\winnt\defaults.nh ..\binary\defaults.nh + - - - ..\win\win32;..\include;..\sys\winnt;..\sys\share;..\win\share;%(AdditionalIncludeDirectories) - WIN32;WIN32CON;DLB;_CRT_SECURE_NO_DEPRECATE;_SCL_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;_DEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions) - .\$(ConfigurationName)\$(ProjectName)\ - .\$(ConfigurationName)\$(ProjectName)\ - .\$(ConfigurationName)\$(ProjectName)\ - - - 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;%(AdditionalDependencies) - true - true - true - - - - - ..\win\win32;..\include;..\sys\winnt;..\sys\share;..\win\share;%(AdditionalIncludeDirectories) - .\$(ConfigurationName)\$(ProjectName)\ - .\$(ConfigurationName)\$(ProjectName)\ - .\$(ConfigurationName)\$(ProjectName)\ - - - 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;%(AdditionalDependencies) - -