File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change
1
+ ..\premake5\win\premake5.exe vs2017
Original file line number Diff line number Diff line change @@ -3,6 +3,12 @@ function fileExists(name)
3
3
if f ~= nil then io.close (f ) return true else return false end
4
4
end
5
5
6
+ function os .winSdkVersion ()
7
+ local reg_arch = iif ( os .is64bit (), " \\ Wow6432Node\\ " , " \\ " )
8
+ local sdk_version = os .getWindowsRegistry ( " HKLM:SOFTWARE" .. reg_arch .. " Microsoft\\ Microsoft SDKs\\ Windows\\ v10.0\\ ProductVersion" )
9
+ if sdk_version ~= nil then return sdk_version end
10
+ end
11
+
6
12
solution " Tutorials"
7
13
configurations { " Debug" , " Release" }
8
14
language " C++"
@@ -53,6 +59,10 @@ solution "Tutorials"
53
59
54
60
configuration {} -- back to all configurations
55
61
if os .istarget (" windows" ) then
62
+ if _ACTION == " vs2017" then
63
+ toolset " msc-v141"
64
+ systemversion (os .winSdkVersion () .. " .0" )
65
+ end
56
66
libdirs {" ../RadeonProRender/libWin64" }
57
67
end
58
68
if os .istarget (" linux" ) then
@@ -85,7 +95,8 @@ solution "Tutorials"
85
95
include " 60_mesh_export"
86
96
include " 61_mesh_import"
87
97
include " 62_matball_demo"
88
- include " 63_hybrid"
98
+ include " 63_hybrid"
99
+ include " 64_mesh_obj_demo"
89
100
90
101
if fileExists (" ./MultiTutorials/MultiTutorials.lua" ) then
91
102
dofile (" ./MultiTutorials/MultiTutorials.lua" )
You can’t perform that action at this time.
0 commit comments