@@ -18,25 +18,20 @@ _AMD_AGS_BUILD_SUBDIRS = "%{_AMD_ACTION_ALL_CAPS}/%{cfg.platform}/%{cfg.buildcfg
1818_AMD_AGS_BUILD_SUBDIRS_BACKSLASH = " %{_AMD_ACTION_ALL_CAPS}\\ %{cfg.platform}\\ %{cfg.buildcfg}"
1919
2020-- Specify WindowsTargetPlatformVersion here for VS2015
21- _AMD_WIN_SDK_VERSION = " 8.1 "
21+ _AMD_WIN_SDK_VERSION = " 10.0.15063.0 "
2222
2323-- command lines for Visual Studio build events
24- _AMD_COPY_WIN_8_0_SDK_REDIST_TO_BIN = " if not exist \" ..\\ bin\\ d3dcompiler_46.dll\" if exist \" $(ProgramFiles)\\ Windows Kits\\ 8.0\\ Redist\\ D3D\\ x64\\ d3dcompiler_46.dll\" xcopy \" $(ProgramFiles)\\ Windows Kits\\ 8.0\\ Redist\\ D3D\\ x64\\ d3dcompiler_46.dll\" \" ..\\ bin\" /H /R /Y > nul"
2524_AMD_COPY_WIN_8_1_SDK_REDIST_TO_BIN = " if not exist \" ..\\ bin\\ d3dcompiler_47.dll\" if exist \" $(ProgramFiles)\\ Windows Kits\\ 8.1\\ Redist\\ D3D\\ x64\\ d3dcompiler_47.dll\" xcopy \" $(ProgramFiles)\\ Windows Kits\\ 8.1\\ Redist\\ D3D\\ x64\\ d3dcompiler_47.dll\" \" ..\\ bin\" /H /R /Y > nul"
2625_AMD_COPY_AGS_RLS_DLL_TO_BIN = " xcopy \" ..\\ ..\\ %{_AMD_AGS_DIRECTORY_NAME}\\ lib\\ amd_ags_x64.dll\" \" ..\\ bin\" /H /R /Y > nul"
2726
2827-- these are for copying the updated import lib and dll into the shared location when builing AGS DLLs
2928_AMD_COPY_AGS_DLL = " xcopy \" ..\\ lib\\ %{_AMD_AGS_BUILD_SUBDIRS_BACKSLASH}\\ $(TargetName).dll\" \" ..\\ lib\" /H /R /Y > nul"
30- _AMD_COPY_AGS_IMPORT_LIB = " xcopy \" ..\\ lib\\ %{_AMD_AGS_BUILD_SUBDIRS_BACKSLASH}\\ $(TargetName) .lib\" \" ..\\ lib\" /H /R /Y > nul"
29+ _AMD_COPY_AGS_LIB = " xcopy \" ..\\ lib\\ %{_AMD_AGS_BUILD_SUBDIRS_BACKSLASH}\\ * .lib\" \" ..\\ lib\" /H /R /Y > nul"
3130
3231-- post-build commands for samples
3332function amdAgsSamplePostbuildCommands (copyAgsDllToLocalBin )
3433 local commands = {}
3534 local doCopyAgsDllToLocalBin = copyAgsDllToLocalBin or false
36- -- for VS2012 and earlier, copy d3dcompiler_46.dll from the 8.0 SDK to the local bin directory
37- if _ACTION <= " vs2012" then
38- table.insert (commands , _AMD_COPY_WIN_8_0_SDK_REDIST_TO_BIN )
39- end
4035 -- copy d3dcompiler_47.dll from the 8.1 SDK to the local bin directory
4136 table.insert (commands , _AMD_COPY_WIN_8_1_SDK_REDIST_TO_BIN )
4237 if doCopyAgsDllToLocalBin then
@@ -51,6 +46,6 @@ function amdAgsLibPostbuildCommands()
5146 local commands = {}
5247 -- copy the AGS DLL and import library into the lib directory
5348 table.insert (commands , _AMD_COPY_AGS_DLL )
54- table.insert (commands , _AMD_COPY_AGS_IMPORT_LIB )
49+ table.insert (commands , _AMD_COPY_AGS_LIB )
5550 return commands
5651end
0 commit comments