File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -77,15 +77,15 @@ package("bgfx")
7777
7878 local configs = {}
7979 table.insert (configs , " /p:Configuration=" .. mode )
80- table.insert (configs , " /p:Platform=" .. (package :is_arch (" x64 " ) and " x64" or " Win32" ))
80+ table.insert (configs , " /p:Platform=" .. (package :is_arch (" x86_64 " ) and " x64" or ( package : is_arch ( " arm64 " ) and " ARM64 " or ( package : is_arch ( " arm " ) and " ARM " or " Win32" )) ))
8181 table.insert (configs , tonumber (msvc :config (" vs" )) >= 2026 and " bgfx.slnx" or " bgfx.sln" )
8282 os .cd (format (" .build/projects/vs%s" , msvc :config (" vs" )))
8383 msbuild .build (package , configs )
8484
85- os .trycp (" ../../win *_vs*/bin/*.lib|*example*" , package :installdir (" lib" ))
86- os .trycp (" ../../win *_vs*/bin/*.dll" , package :installdir (" lib" ))
87- os .trycp (" ../../win *_vs*/bin/*.lib" , package :installdir (" lib" ))
88- os .trycp (" ../../win *_vs*/bin/*.exe" , package :installdir (" bin" ))
85+ os .trycp (" ../../*_vs*/bin/*.lib|*example*" , package :installdir (" lib" ))
86+ os .trycp (" ../../*_vs*/bin/*.dll" , package :installdir (" lib" ))
87+ os .trycp (" ../../*_vs*/bin/*.lib" , package :installdir (" lib" ))
88+ os .trycp (" ../../*_vs*/bin/*.exe" , package :installdir (" bin" ))
8989 else
9090 import (" package.tools.make" )
9191
You can’t perform that action at this time.
0 commit comments