Skip to content

Commit 5aabc7a

Browse files
tavrezeustas
authored andcommitted
Added windows platform support to premake (google#567)
* Added windows platform support to premake Win32 and Win64 configuration support for visual studio solutions * Update premake5.lua Fixed platform support for linux, made x64 default * Update premake5.lua Fix typo
1 parent 1becbbf commit 5aabc7a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

premake5.lua

+7
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
-- A solution contains projects, and defines the available configurations
22
solution "brotli"
33
configurations { "Release", "Debug" }
4+
platforms { "x64", "x86" }
45
targetdir "bin"
56
location "buildfiles"
67
flags "RelativeLinks"
@@ -13,6 +14,12 @@ filter "configurations:Release"
1314
filter "configurations:Debug"
1415
flags { "Symbols" }
1516

17+
filter { "platforms:x64" }
18+
architecture "x86_64"
19+
20+
filter { "platforms:x86" }
21+
architecture "x86"
22+
1623
configuration { "gmake" }
1724
buildoptions { "-Wall -fno-omit-frame-pointer" }
1825
location "buildfiles/gmake"

0 commit comments

Comments
 (0)