aboutsummaryrefslogtreecommitdiffhomepage
path: root/premake4.lua
diff options
context:
space:
mode:
authorLee Salzman <[email protected]>2014-09-07 12:14:10 +0300
committerLee Salzman <[email protected]>2014-09-07 12:14:10 +0300
commitd85a037ec4db1ba0996bf94385b8f9b4f10b41e7 (patch)
tree6b1e3519385eb818099376cfcf363af8bc27b652 /premake4.lua
parent99004c45ac9a8c1802b49270a1437a418414435f (diff)
downloadenet-d85a037ec4db1ba0996bf94385b8f9b4f10b41e7.tar.gz
enet-d85a037ec4db1ba0996bf94385b8f9b4f10b41e7.zip
add premake file
Diffstat (limited to 'premake4.lua')
-rw-r--r--premake4.lua59
1 files changed, 59 insertions, 0 deletions
diff --git a/premake4.lua b/premake4.lua
new file mode 100644
index 0000000..0e6e7ad
--- /dev/null
+++ b/premake4.lua
@@ -0,0 +1,59 @@
+solution "enet"
+ configurations { "Debug", "Release" }
+ platforms { "x32", "x64" }
+
+ project "enet_static"
+ kind "StaticLib"
+ language "C"
+
+ files { "*.c" }
+
+ includedirs { "include/" }
+
+ configuration "Debug"
+ targetsuffix "d"
+
+ defines({ "DEBUG" })
+
+ flags { "Symbols" }
+
+ configuration "Release"
+ defines({ "NDEBUG" })
+
+ flags { "Optimize" }
+
+ configuration { "Debug", "x64" }
+ targetsuffix "64d"
+
+ configuration { "Release", "x64" }
+ targetsuffix "64"
+
+ project "enet"
+ kind "SharedLib"
+ language "C"
+
+ files { "*.c" }
+
+ includedirs { "include/" }
+
+ defines({"ENET_DLL=1" })
+
+ configuration "Debug"
+ targetsuffix "d"
+
+ defines({ "DEBUG" })
+
+ flags { "Symbols" }
+
+ configuration "Release"
+ defines({ "NDEBUG" })
+
+ flags { "Optimize" }
+
+ configuration { "Debug", "x64" }
+ targetsuffix "64d"
+
+ configuration { "Release", "x64" }
+ targetsuffix "64"
+
+ \ No newline at end of file