aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReza Tavakoli <tavrez@users.noreply.github.com>2017-07-10 22:27:05 +0430
committerEugene Kliuchnikov <eustas@google.com>2017-07-10 19:57:05 +0200
commit5aabc7a6ab3ed1b3701646440df1d526411a6e31 (patch)
treeea7c3bb23bede6030a42d48bfd83699af61fdfa1
parent1becbbf231c148d9754cc3a6085929abe920a54a (diff)
downloadbrotli-5aabc7a6ab3ed1b3701646440df1d526411a6e31.zip
brotli-5aabc7a6ab3ed1b3701646440df1d526411a6e31.tar.gz
brotli-5aabc7a6ab3ed1b3701646440df1d526411a6e31.tar.bz2
Added windows platform support to premake (#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
-rw-r--r--premake5.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/premake5.lua b/premake5.lua
index 36d1f24..555263e 100644
--- a/premake5.lua
+++ b/premake5.lua
@@ -1,6 +1,7 @@
-- A solution contains projects, and defines the available configurations
solution "brotli"
configurations { "Release", "Debug" }
+platforms { "x64", "x86" }
targetdir "bin"
location "buildfiles"
flags "RelativeLinks"
@@ -13,6 +14,12 @@ filter "configurations:Release"
filter "configurations:Debug"
flags { "Symbols" }
+filter { "platforms:x64" }
+ architecture "x86_64"
+
+filter { "platforms:x86" }
+ architecture "x86"
+
configuration { "gmake" }
buildoptions { "-Wall -fno-omit-frame-pointer" }
location "buildfiles/gmake"